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>
Sun, 24 Oct 2021 01:04:16 +0000 (03:04 +0200)
commit4583fcd78cc96979daad879ee69c9c8f85cac79f
tree3f54f28682685a4d1a565fd25fdce16f3b2b4c2f
parenta93a06fa01230d5b50774c54c2a62e35810629ec
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 adds the affected band and
channels. It now disables all channels which are not
within the specified frequency range.

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