[PATCH] ath6kl: Remove old 802.11a-only channels

Rostyslav Khudolii rkhudolii at airtame.com
Fri Mar 10 00:49:47 PST 2017


Channels 34/38/42/46 can only be used for compatibility with
old devices sold in Japan. Modern products, such as AR6003/AR6004
don't support these channels.
Keeping them in the upstream is error prone and requires full
network stack support.
A custom patch should be used in case such compatibility is required.

Signed-off-by: Rostyslav Khudolii <rkhudolii at airtame.com>
Cc: Attila Sukosd <attila at airtame.com>
---
 drivers/net/wireless/ath/ath6kl/cfg80211.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c
b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 363b30a..aae65ce 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -102,10 +102,8 @@ static struct ieee80211_channel ath6kl_2ghz_channels[] = {
 };

 static struct ieee80211_channel ath6kl_5ghz_a_channels[] = {
-       CHAN5G(34, 0), CHAN5G(36, 0),
-       CHAN5G(38, 0), CHAN5G(40, 0),
-       CHAN5G(42, 0), CHAN5G(44, 0),
-       CHAN5G(46, 0), CHAN5G(48, 0),
+       CHAN5G(36, 0), CHAN5G(40, 0),
+       CHAN5G(44, 0), CHAN5G(48, 0),
        CHAN5G(52, 0), CHAN5G(56, 0),
        CHAN5G(60, 0), CHAN5G(64, 0),
        CHAN5G(100, 0), CHAN5G(104, 0),



More information about the ath6kl mailing list