Search Linux Wireless

Re: [PATCH 1/2] mac80211: misc cleanups

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

 



On Thu, 2008-12-11 at 14:00 +0200, Rami Rosen wrote:

> -			rx->sta = ieee80211_ibss_add_sta(sdata, rx->skb,
> -						bssid, hdr->addr2,
> -						BIT(rx->status->rate_idx));
> +			rx->sta = ieee80211_ibss_add_sta(sdata, bssid, hdr->addr2,
> +				BIT(rx->status->rate_idx));

Unrelated to this patch (it's good), shouldn't we take into account the
mandatory rate set here? If, for instance, we're receiving an 11MBit
frame then we can be sure the sender supports 1 and 11, and if we're
receiving a 48 MBit frame then we know already it supports [1, 2, 5.5,
11 if 2.4 GHz], 6, 12, 24 and 48.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux