Search Linux Wireless

Re: [PATCH v2 3/5] mac80211: check if HT40+/- is allowed before sending assoc

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

 



On Tue, Apr 7, 2009 at 12:09 PM, Johannes Berg<johannes@xxxxxxxxxxxxxxxx> wrote:> On Tue, 2009-04-07 at 09:23 -0700, Luis R. Rodriguez wrote:>>> > This patch is not sufficient -- you also need to modify>> > ieee80211_send_assoc. Otherwise we end up telling the AP that we support>> > HT40, but tuning the hardware to HT20.>>>> Like this?>>>>                 switch (ht_info->ht_param & IEEE80211_HT_PARAM_CHA_SEC_OFFSET) {>>                 case IEEE80211_HT_PARAM_CHA_SEC_ABOVE:>>                         if (flags & IEEE80211_CHAN_NO_HT40PLUS) {>>                                 cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;>>                                 cap &= ~IEEE80211_HT_CAP_SGI_40;>>                         }>>                         break;>>                 case IEEE80211_HT_PARAM_CHA_SEC_BELOW:>>                         if (flags & IEEE80211_CHAN_NO_HT40MINUS) {>>                                 cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40;>>                                 cap &= ~IEEE80211_HT_CAP_SGI_40;>>                         }>> Yeah, that looks ok.
That's what was there or what I added in my patches.
  Luis��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f


[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