[openwrt/openwrt] ramips: limit 5GHz channels for UniFi 6 Lite

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 5 18:00:11 EST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b4c0d377f6bc13c555b69659ac001a25ab22bbd4

commit b4c0d377f6bc13c555b69659ac001a25ab22bbd4
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed Jan 6 00:00:01 2021 +0100

    ramips: limit 5GHz channels for UniFi 6 Lite
    
    The MT7915 radio currently advertises 2.4GHz channels while the antenna
    path only supports 5 GHz. Limit the radio to 5GHz channels to prevent
    users from configuring non-supported channels.
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
index 422d17673b..f5425ccfee 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts
@@ -80,4 +80,5 @@
 &wlan_5g {
 	mediatek,mtd-eeprom = <&factory 0x20000>;
 	mtd-mac-address = <&eeprom 0x6>;
+	ieee80211-freq-limit = <5000000 6000000>;
 };



More information about the lede-commits mailing list