On Thu, Oct 14, 2010 at 1:51 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Thu, 2010-10-14 at 13:43 -0700, Paul Stewart wrote: >> I documented that this value in ieee80211_i.h. Other parameters in >> this file are left undocumented in this module (rssi_hyst, for >> example, is documented in mac80211.h and nl80211.h (in fact, my docs >> in nl80211.h look a little sparse -- I'll fix that up). I don't >> object to doing it -- I'm just trying to wrap my head around the >> correct conventions. > > Anywhere is fine I guess (nl80211.h should work) but I didn't see any > actual units? It would seem to be in Mbps but you're also using the > ".bitrate" field from a channel, which is in units of 1/2 Mbps? I'm using units of Kbps. I think for a u32, that gives me enough room to grow for a little while. Good catch -- I'm using .bitrate wrong! -- Paul -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html