ath6kl: Remove old 802.11a-only channels
authorRostyslav Khudolii <rkhudolii@airtame.com>
Thu, 16 Mar 2017 09:22:17 +0000 (11:22 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 20 Mar 2017 15:27:15 +0000 (17:27 +0200)
commitb51040fc375c194e20164be489668d4d28001f53
tree3d019aa5d644889b3c1ba86955235aeb92ad71d0
parenteed4721fb6172b3051a8341f9089b728681a9454
ath6kl: Remove old 802.11a-only channels

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.

Without this one, a user is able to start an AP using wpa_supplicant,
for example, on one of these channels (34/38/42/46), without getting
any warning/error from the cfg80211 or ath6kl - which is correct
(since these channels match regdom rules). However, the AR6003 and its
firmware (we're using v3.4.0.225) will fail and return
"WMI_CMDERROR_EVENTID" with "INVALID_PARAM" error code.

Signed-off-by: Rostyslav Khudolii <rkhudolii@airtame.com>
Cc: Attila Sukosd <attila@airtame.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c