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

Rostyslav Khudolii rkhudolii at airtame.com
Fri Mar 10 01:11:52 PST 2017


On 10 March 2017 at 09:56, Johannes Berg <johannes at sipsolutions.net> wrote:
> On Fri, 2017-03-10 at 09:49 +0100, Rostyslav Khudolii wrote:
>> 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.
>
> Seems pointless. Nothing in the network stack really cares much about
> the channel numbers, so what exactly does this improve?
>

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.
In my opinion, ath6kl shouldn't support anything the firmware doesn't.
We should also handle WMI_CMDERROR_EVENTID properly (not just printing
a message), but this is another problem, I believe.



More information about the ath6kl mailing list