Search Linux Wireless

Re: [RFC] cfg/nl/mac80211: use per-band basic rates bitmap in IBSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-09-04 at 20:52 +0200, Antonio Quartulli wrote:
> Each band maps the bitmap of rates to different real bitrates, therefore using
> the same bitmask for every band (as it is now) is not correct.
> Each band must have its own bitmask where the bits of the rates specified by the
> user on IBSS join have to be set
> 
> Signed-off-by: Antonio Quartulli <ordex@xxxxxxxxxxxxx>
> ---
>  include/net/cfg80211.h     |  4 ++--
>  net/mac80211/ibss.c        |  6 ++++--
>  net/mac80211/ieee80211_i.h |  2 +-
>  net/wireless/nl80211.c     | 12 +++++++-----

I'm not sure I see the need to change nl80211, and the change seems
wrong anyway.

As far as I understand it, the basic rates that are passed into the
kernel are intended to be used when the kernel creates a new IBSS. This
always happens on the channel that is also passed in, so it's always
bound to a given channel (band).

Now mac80211 internally seems to mess this up a bit, but that doesn't
affect nl80211/cfg80211?

johannes

--
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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux