linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] cfg80211: few country IE parse fixes
@ 2010-01-07 22:24 Luis R. Rodriguez
  2010-01-07 22:24 ` [PATCH 1/4] cfg80211: add debug print when we drop a bogus country IE Luis R. Rodriguez
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Luis R. Rodriguez @ 2010-01-07 22:24 UTC (permalink / raw)
  To: linville, johannes; +Cc: linux-wireless, Luis R. Rodriguez

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-01-09 13:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 22:24 [PATCH 0/4] cfg80211: few country IE parse fixes Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 1/4] cfg80211: add debug print when we drop a bogus country IE Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 2/4] cfg80211: fix 2 GHz subband calculation for country IEs Luis R. Rodriguez
2010-01-08 13:14   ` Jouni Malinen
2010-01-08 21:41     ` Luis R. Rodriguez
2010-01-08 23:20       ` Jouni Malinen
2010-01-09  0:28         ` Luis R. Rodriguez
2010-01-09  8:45           ` Jouni Malinen
2010-01-09 13:55             ` Benoit PAPILLAULT
2010-01-07 22:24 ` [PATCH 3/4] cfg80211: process the max power on a country IE Luis R. Rodriguez
2010-01-07 22:24 ` [PATCH 4/4] cfg80211: Fix country IE parsing for single channel triplets Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).