Search Linux Wireless

[PATCH 0/4] cfg80211: few country IE parse fixes

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

 



John, this series has a few country IE fixes some of which
Benoit reported. The fix I made goes in with an enhancement
which reduces the number of rules created if the AP is stupid
and sends congigious channels, never making use of the number
of channels in the triplets.

I've tested this against an AP issuing these country IE
triplets below:

[1]
[2]
[36]
[40]

[1]
[2-4]
[5-12]
[36]
[40-44]

[1-4]
[5-7]
[36-44]
[48-64]

[36-36]
[40-40]
[44-44]
[48-48]
[52-52]
[56-56]
[60-60]
[64-64]
[100-100]
[104-104]
[108-108]
[112-112]
[116-116]
[120-120]
[124-124]
[128-128]
[132-132]
[136-136]
[140-140]

All these country IEs now only produce two triplets on regulatory rules.

I generated these with hostapd using a debug patch for country IEs:

http://bombadil.infradead.org/~mcgrof/patches/hostapd/enable-11d-debugging.patch

Luis R. Rodriguez (4):
  cfg80211: add debug print when we drop a bogus country IE
  cfg80211: fix 2 GHz subband calculation for country IEs
  cfg80211: process the max power on a country IE
  cfg80211: Fix country IE parsing for single channel triplets

 net/wireless/reg.c |  235 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 227 insertions(+), 8 deletions(-)

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