ramips: limit 5GHz channels for UniFi 6 Lite
authorDavid Bauer <mail@david-bauer.net>
Tue, 5 Jan 2021 23:00:01 +0000 (00:00 +0100)
committerDavid Bauer <mail@david-bauer.net>
Tue, 5 Jan 2021 23:00:01 +0000 (00:00 +0100)
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@david-bauer.net>
target/linux/ramips/dts/mt7621_ubnt_unifi-6-lite.dts

index 422d17673b15148ead302bb7cf281113bb675f82..f5425ccfee5c7a4628c75d923fc8d8de0d43b439 100644 (file)
@@ -80,4 +80,5 @@
 &wlan_5g {
        mediatek,mtd-eeprom = <&factory 0x20000>;
        mtd-mac-address = <&eeprom 0x6>;
+       ieee80211-freq-limit = <5000000 6000000>;
 };