OpenWrt support for Xiaomi AX9000

Might sound like a stupid question, but did you reboot the router after replacing the board-2.bin file?

Not sure about the 23.05.2 version but I'm on SNAPSHOT and this board file works. It's only for QCN9074 though and only radio3 antenna can be set to 160MHz, while radio1 can only run at 80MHz. Please see config from my router as reference:

/etc/config/network:

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix ''
	option packet_steering '1'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'lan1'
	list ports 'lan2'
	list ports 'lan3'
	list ports 'lan4'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	list ipaddr '10.0.0.1/24'
	list dns '1.1.1.2'
	list dns '1.0.0.2'
	list ip6class 'wan6'
	option ip6assign '64'
	option delegate '0'

config interface 'wan'
	option device 'wan'
	option proto 'dhcp'
	option hostname '*'
	option peerdns '0'
	list dns '1.1.1.2'
	list dns '1.0.0.2'
	option broadcast '1'

config interface 'wan6'
	option device 'wan'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix 'auto'
	option peerdns '0'
	list dns '2606:4700:4700::1112'
	list dns '2606:4700:4700::1002'

config device
	option type 'bridge'
	option name 'br-guest'
	option bridge_empty '1'
	option mtu '1500'
	option macaddr '64:64:4A:A0:43:6C'

config interface 'guest'
	option proto 'static'
	option device 'br-guest'
	list dns '1.1.1.3'
	list dns '1.0.0.3'
	list ipaddr '10.0.1.1/24'
	option auto '0'
	option ip6assign '64'
	list ip6class 'wan6'
	option delegate '0'

/etc/config/wireless:

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'soc/10000000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
	option channel 'auto'
	option channels '100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144'
	option band '5g'
	option htmode 'VHT80'
	option country 'US'
	option cell_density '3'
	option disabled '1'

config wifi-device 'radio1'
	option type 'mac80211'
	option path 'platform/soc/c000000.wifi'
	option channel 'auto'
	option channels '165, 161, 157, 153, 149'
	option band '5g'
	option htmode 'HE80'
	option he_su_beamformee '1'
	option he_bss_color '11'
	option country 'US'
	option cell_density '3'
	option txpower '30'

config wifi-device 'radio2'
	option type 'mac80211'
	option path 'platform/soc/c000000.wifi+1'
	option channel 'auto'
	option channels '13, 11, 6, 1'
	option band '2g'
	option htmode 'HE20'
	option he_su_beamformee '1'
	option he_bss_color '22'
	option country 'US'
	option cell_density '3'
	option txpower '15'

config wifi-device 'radio3'
	option type 'mac80211'
	option path 'soc/20000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
	option channels '165, 161, 157, 153, 149, 64, 60, 56, 52, 48, 44, 40, 36'
	option channel '36'
	option band '5g'
	option htmode 'HE160'
	option he_su_beamformee '1'
	option he_bss_color '33'
	option country 'US'
	option cell_density '3'
	option txpower '30'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option ssid 'WiFi'
	option encryption 'sae-mixed'
	option isolate '1'
	option ifname 'radio1'
	option key 'password'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'

config wifi-iface 'default_radio2'
	option device 'radio2'
	option network 'lan'
	option mode 'ap'
	option ssid 'WiFi'
	option encryption 'sae-mixed'
	option isolate '1'
	option ifname 'radio2'
	option key 'password'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'

config wifi-iface 'default_radio3'
	option device 'radio3'
	option network 'lan'
	option mode 'ap'
	option ssid 'WiFi-5G'
	option encryption 'sae-mixed'
	option ifname 'radio3'
	option key 'password'
	option skip_inactivity_poll '1'
	option disassoc_low_ack '0'

The above would give you 2 Wi-Fi APs, one named WiFi which will be 2.4GHz/5GHz and one named WiFi-5G for 5GHz and this one will also be on 160MHz bandwidth. The other antenna (radio1) can only do 80MHz.

This can be easily edited either through an SSH session with vim or using WinSCP to connect to the router (it has built-in text editor).

If you make changes to these files and replace the board-2.bin file, you will need to reboot your router else you can get errors instead.

One other thing is that it can take up to 10 minutes for the Wi-Fi network to show up (usually takes no more than 1 minute) due to the antennas needing to scan for DFS channels. Hope this helps.

1 Like