From da93a0a645f239e55ae44c317d1c930ffd168dc8 Mon Sep 17 00:00:00 2001 From: Luis R. Rodriguez Date: Thu, 11 Mar 2010 16:30:04 -0800 Subject: [PATCH 0/8] cfg80211: HT40 fix for APs with odd country IEs These patches have been baking on wireless-testing, linux-next, and now upstream 2.6.34-rc1 for a while now. They fix an issue where HT40 gets disabled if your AP happens to send country IEs like this: [1-1] [2-2] [3-3] [4-4] [5-5] [6-6] [7-7] [8-8] [9-9] [10-10] [11-11] instead of like this: [1-11] Without this HT40 would be disabled for such cases. John W. Linville (1): wireless: fix build breakage when CONFIG_CFG80211_REG_DEBUG not set Luis R. Rodriguez (7): cfg80211: add a regulatory debug print cfg80211: add debug print when we drop a bogus country IE cfg80211: process the max power on a country IE cfg80211: Fix country IE parsing for single channel triplets cfg80211: fix 2 GHz subband calculation for country IEs cfg80211: Ingore country IEs with a zero set of number of channels cfg80211: make regulatory_hint_11d() band specific net/wireless/reg.c | 317 +++++++++++++++++++++++++++++++++++++++++++++++----- net/wireless/reg.h | 11 ++ net/wireless/sme.c | 1 + 3 files changed, 302 insertions(+), 27 deletions(-)