diff options
author | David Bauer <mail@david-bauer.net> | 2023-03-14 02:06:40 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2023-03-15 01:44:29 +0100 |
commit | 7dceef5ee554ec4ab5d2dd2ff999f4a60bf2e0f4 (patch) | |
tree | 83e0bf171cf1a77b8e447836a55a620eb6ca17e1 /target/linux/ramips/mt7621 | |
parent | 86be8677b374fb1326ea249e6cb05df458253228 (diff) | |
download | upstream-7dceef5ee554ec4ab5d2dd2ff999f4a60bf2e0f4.tar.gz upstream-7dceef5ee554ec4ab5d2dd2ff999f4a60bf2e0f4.tar.bz2 upstream-7dceef5ee554ec4ab5d2dd2ff999f4a60bf2e0f4.zip |
ramips: add support for TP-Link Archer AX23 v1
Hardware
--------
CPU: MediaTek MT7621 DAT
RAM: 128MB DDR3 (integrated)
FLASH: 16MB SPI-NOR ()
WiFi: MediaTek MT7905 + MT7975 (2.4 / 5 DBDC) 802.11ax
SERIAL: 115200 8N1
LEDs - (3V3 - GND - RX - TX) - ETH ports
Installation
------------
Upload the factory image using the Web-UI.
Web-Recovery
------------
The router supports a HTTP recovery mode by holding the reset-button
when powering on. The interface is reachable at 192.168.0.1 and supports
installation using the factory image.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 1 | ||||
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index 039417dbbb..59150bd514 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -157,6 +157,7 @@ oraybox,x3a) ucidef_set_led_netdev "lan" "lan link" "green:status" "br-lan" ;; tplink,archer-a6-v3|\ +tplink,archer-ax23-v1|\ tplink,archer-c6-v3|\ tplink,archer-c6u-v1) ucidef_set_led_netdev "lan" "LAN" "green:lan" "br-lan" diff --git a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 5a186dcb88..ffc643f42b 100644 --- a/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -147,6 +147,13 @@ case "$board" in hw_mac_addr="$(mtd_get_mac_binary factory 0x4)" [ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr "0x100000" > /sys${DEVPATH}/macaddress ;; + tplink,archer-ax23-v1) + hw_mac_addr="$(mtd_get_mac_binary config 0x8)" + # 2.4 GHz MAC is MAC in EEPROm while 5GHz is EEPROM_MAC -1 + # However, mac80211 assigns consecutive addresses for each VAP + # Which leads to conflicting addresses. Set the LA bit for 5Ghz instead. + [ "$PHYNBR" = "1" ] && macaddr_setbit_la "$hw_mac_addr" > "/sys${DEVPATH}/macaddress" + ;; tplink,eap615-wall-v1) hw_mac_addr="$(mtd_get_mac_binary product-info 0x8)" macaddr_add "$hw_mac_addr" "$PHYNBR" > "/sys${DEVPATH}/macaddress" |