ath9k: OF: qca,disable-(2|5)ghz => ieee80211-freq-limit
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 9 Oct 2021 18:51:21 +0000 (20:51 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 30 Oct 2021 14:32:59 +0000 (16:32 +0200)
commit4c8dd973ef8e76f9fc622f0baab981769c89b601
treee10d98ac7d370452d0cc14104e05e47d643a85e7
parent5287defa1fa47a037ba29b653c4599ee145a7e03
ath9k: OF: qca,disable-(2|5)ghz => ieee80211-freq-limit

OpenWrt maintains two special out-of-tree DT properties:
"qca,disable-5ghz" and "qca,disable-2ghz". These are implemented
in a mac80211 ath9k patch "550-ath9k-disable-bands-via-dt.patch".

With the things being what they are, now might be a good
point to switch the devices to the generic and upstream
"ieee80211-freq-limit" property. This property is much
broader and works differently. Instead of disabling the
drivers logic which would add the affected band and
channels. It now disables all channels which are not
within the specified frequency range.

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # HH5A
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
package/kernel/mac80211/patches/ath9k/040-ath9k-support-DT-ieee80211-freq-limit-property-to-li.patch [new file with mode: 0644]
package/kernel/mac80211/patches/ath9k/550-ath9k-disable-bands-via-dt.patch [deleted file]
package/kernel/mac80211/patches/ath9k/552-ath9k-ahb_of.patch
target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
target/linux/ath79/dts/ar9344_atheros_db120.dts
target/linux/ath79/dts/ar9344_engenius_exx600.dtsi
target/linux/ath79/dts/ar9344_pcs_cap324.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_bt_homehub-v5a.dts
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi