Xiaomi ax3600 can be configured 160mhz but does not do it (80mhz measured)

Hi,

I've narrowed down my problem on latest snapshot and found out, that if I do 160 mhz on 5220 mhz in ax mode between Ap 1 (wds main) and ap2 (wds client), it does NOT work. No data gets through the link, but both ap's tell they are connected fine. I can also see "associated", "authenticated" log lines on both so I'm sure they connect. But I cannot get a single packet through from ap1 to ap2 and vice versa, e.g. Ping.

Workaround: If it switch to ac mode with 160 mhz, the connection is established like before and I can get data through, e.g. ping the other ap.

Is this a driver bug?

Both devices are this:

Model
Xiaomi AX3600
Architecture
ARMv8 Processor rev 4
Target Platform
qualcommax/ipq807x
Firmware Version
OpenWrt SNAPSHOT r28282-0d21cc8a92 / LuCI Master 24.346.53951~31955d6
Kernel Version
6.6.63

Link is this:

Client (lan) - ap 1 - (wds client) - (wds main) - ap 2 - Client (lan)

Sidenote:
If I use ac 80 mhz or ax 80 mhz, both connect fine as well and exchange data.

Your router does not support 160mhz wide channels

I respect your knowledge, but are you sure?
I managed to set 160 mhz and confirmed the frequencies in use by using WifiAnalyzer on Android. In this mode, my test windows client also made more throughput. Then went back to 80 mhz.

4t4r \80mhz means 2400mbp, as per xiaomi advertised specs. Maybe it does 2t2r 160, not sure, not advertised. Should be somehow visible in iw list

1 Like

So, what do we have in regard of the hardware support?

iw list

Wiphy phy1
        wiphy index: 1
        max # scan SSIDs: 16
        max scan IEs length: 398 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Available Antennas: TX 0xf0 RX 0xf0
        Configured Antennas: TX 0xf0 RX 0xf0
        Supported interface modes:
                 * managed
                 * AP
                 * monitor
                 * mesh point
        Band 2:
                Capabilities: 0x19e7
                        RX LDPC
                        HT20/HT40
                        Dynamic SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x339b79f6):
                        Max MPDU length: 11454
                        Supported Channel Width: 160 MHz
                        RX LDPC
                        short GI (80 MHz)
                        short GI (160/80+80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        MU Beamformee
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: supported
                HE Iftypes: managed
                        HE MAC Capabilities (0x000b9a181040):
                                +HTC HE Supported
                                TWT Requester
                                Dynamic BA Fragementation Level: 1
                                BSR
                                Broadcast TWT
                                OM Control
                                Maximum A-MPDU Length Exponent: 3
                                RX Control Frame to MultiBSS
                                A-MSDU in A-MPDU
                                OM Control UL MU Data Disable RX
                        HE PHY Capabilities: (0x0c604c897fdb839c010c00):
                                HE40/HE80/5GHz
                                HE160/5GHz
                                LDPC Coding in Payload
                                HE SU PPDU with 1x HE-LTF and 0.8us GI
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                Full Bandwidth UL MU-MIMO
                                DCM Max Constellation: 1
                                DCM Max Constellation Rx: 1
                                SU Beamformer
                                SU Beamformee
                                MU Beamformer
                                Beamformee STS <= 80Mhz: 7
                                Beamformee STS > 80Mhz: 3
                                Sounding Dimensions <= 80Mhz: 3
                                Sounding Dimensions > 80Mhz: 3
                                Ng = 16 SU Feedback
                                Ng = 16 MU Feedback
                                Codebook Size SU Feedback
                                Codebook Size MU Feedback
                                PPE Threshold Present
                                HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
                                Max NC: 3
                                STBC Rx > 80MHz
                                HE ER SU PPDU 4x HE-LTF 0.8us GI
                                TX 1024-QAM
                                RX 1024-QAM
                        HE RX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE RX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        PPE Threshold 0x7b 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0x                                                                                                                                                             c7 0x71 0x1c 0xc7 0x71
                HE Iftypes: AP
                        HE MAC Capabilities (0x000d9a181040):
                                +HTC HE Supported
                                TWT Responder
                                Dynamic BA Fragementation Level: 1
                                BSR
                                Broadcast TWT
                                OM Control
                                Maximum A-MPDU Length Exponent: 3
                                RX Control Frame to MultiBSS
                                A-MSDU in A-MPDU
                                OM Control UL MU Data Disable RX
                        HE PHY Capabilities: (0x0c604c887fdb839c010c00):
                                HE40/HE80/5GHz
                                HE160/5GHz
                                LDPC Coding in Payload
                                HE SU PPDU with 1x HE-LTF and 0.8us GI
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                Full Bandwidth UL MU-MIMO
                                DCM Max Constellation Rx: 1
                                SU Beamformer
                                SU Beamformee
                                MU Beamformer
                                Beamformee STS <= 80Mhz: 7
                                Beamformee STS > 80Mhz: 3
                                Sounding Dimensions <= 80Mhz: 3
                                Sounding Dimensions > 80Mhz: 3
                                Ng = 16 SU Feedback
                                Ng = 16 MU Feedback
                                Codebook Size SU Feedback
                                Codebook Size MU Feedback
                                PPE Threshold Present
                                HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
                                Max NC: 3
                                STBC Rx > 80MHz
                                HE ER SU PPDU 4x HE-LTF 0.8us GI
                                TX 1024-QAM
                                RX 1024-QAM
                        HE RX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE RX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        PPE Threshold 0x7b 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0x                                                                                                                                                             c7 0x71 0x1c 0xc7 0x71
                HE Iftypes: mesh point
                        HE MAC Capabilities (0x00098a081040):
                                +HTC HE Supported
                                Dynamic BA Fragementation Level: 1
                                BSR
                                OM Control
                                Maximum A-MPDU Length Exponent: 1
                                RX Control Frame to MultiBSS
                                A-MSDU in A-MPDU
                                OM Control UL MU Data Disable RX
                        HE PHY Capabilities: (0x0c600c807d5b811c000000):
                                HE40/HE80/5GHz
                                HE160/5GHz
                                LDPC Coding in Payload
                                HE SU PPDU with 1x HE-LTF and 0.8us GI
                                STBC Tx <= 80MHz
                                STBC Rx <= 80MHz
                                SU Beamformer
                                SU Beamformee
                                Beamformee STS <= 80Mhz: 7
                                Beamformee STS > 80Mhz: 3
                                Sounding Dimensions <= 80Mhz: 3
                                Sounding Dimensions > 80Mhz: 3
                                Ng = 16 SU Feedback
                                Codebook Size SU Feedback
                                PPE Threshold Present
                                HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
                                Max NC: 3
                        HE RX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set <= 80 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE RX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        HE TX MCS and NSS set 160 MHz
                                1 streams: MCS 0-11
                                2 streams: MCS 0-11
                                3 streams: MCS 0-11
                                4 streams: MCS 0-11
                                5 streams: not supported
                                6 streams: not supported
                                7 streams: not supported
                                8 streams: not supported
                        PPE Threshold 0x7b 0x1c 0xc7 0x71 0x1c 0xc7 0x71 0x1c 0x                                                                                                                                                             c7 0x71 0x1c 0xc7 0x71
                Frequencies:
                        * 5180.0 MHz [36] (23.0 dBm)
                        * 5200.0 MHz [40] (23.0 dBm)
                        * 5220.0 MHz [44] (23.0 dBm)
                        * 5240.0 MHz [48] (23.0 dBm)
                        * 5260.0 MHz [52] (23.0 dBm) (radar detection)
                        * 5280.0 MHz [56] (23.0 dBm) (radar detection)
                        * 5300.0 MHz [60] (23.0 dBm) (radar detection)
                        * 5320.0 MHz [64] (23.0 dBm) (radar detection)
                        * 5500.0 MHz [100] (30.0 dBm) (radar detection)
                        * 5520.0 MHz [104] (30.0 dBm) (radar detection)
                        * 5540.0 MHz [108] (30.0 dBm) (radar detection)
                        * 5560.0 MHz [112] (30.0 dBm) (radar detection)
                        * 5580.0 MHz [116] (30.0 dBm) (radar detection)
                        * 5600.0 MHz [120] (30.0 dBm) (radar detection)
                        * 5620.0 MHz [124] (30.0 dBm) (radar detection)
                        * 5640.0 MHz [128] (30.0 dBm) (radar detection)
                        * 5660.0 MHz [132] (30.0 dBm) (radar detection)
                        * 5680.0 MHz [136] (30.0 dBm) (radar detection)
                        * 5700.0 MHz [140] (30.0 dBm) (radar detection)
                        * 5720.0 MHz [144] (disabled)
                        * 5745.0 MHz [149] (disabled)
                        * 5765.0 MHz [153] (disabled)
                        * 5785.0 MHz [157] (disabled)
                        * 5805.0 MHz [161] (disabled)
                        * 5825.0 MHz [165] (disabled)
                        * 5845.0 MHz [169] (disabled)
                        * 5865.0 MHz [173] (disabled)
                        * 5885.0 MHz [177] (disabled)
        valid interface combinations:
                 * #{ managed } <= 1, #{ AP, mesh point } <= 16,
                   total <= 16, #channels <= 1, STA/AP BI must match, radar dete                                                                                                                                                             ct widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Maximum associated stations in AP mode: 128
        Supported extended features:
                * [ RRM ]: RRM
                * [ SET_SCAN_DWELL ]: scan dwell setting
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ ACK_SIGNAL_SUPPORT ]: ack signal level support
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
                * [ ENABLE_FTM_RESPONDER ]: enable FTM (Fine Time Measurement) r                                                                                                                                                             esponder
                * [ STA_TX_PWR ]: TX power control per station
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 con                                                                                                                                                             trol port support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211                                                                                                                                                              control port support
                * [ BSS_COLOR ]: BSS coloring support
                * [ POWERED_ADDR_CHANGE ]: can change MAC address while up

board.json says:

        "phy1": {
                        "path": "platform/soc@0/c000000.wifi",
                        "info": {
                                "antenna_rx": 240,
                                "antenna_tx": 240,
                                "bands": {
                                        "5G": {
                                                "ht": true,
                                                "vht": true,
                                                "he": true,
                                                "max_width": 160,
                                                "modes": [
                                                        "NOHT",
                                                        "HT20",
                                                        "VHT20",
                                                        "HE20",
                                                        "HT40",
                                                        "VHT40",
                                                        "HE40",
                                                        "VHT80",
                                                        "HE80",
                                                        "VHT160",
                                                        "HE160"
                                                ],
                                                "default_channel": 36
                                        }
                                },
                                "radios": [
                                ]
                        }
                },
1 Like

Try auto channel, might be radar signal detected in default one somehow.

Setting HE160 ch100 or ch52 in LUCI works, but using WifiAnalyzer on my 160 MHz capable phone reveals, it's still doing 80 MHz after the radio1 AX came up.

Whatever I do, it is not doing 160mhz if selected, but 80mhz instead.

The device is capable of 160 mhz according to https://www.gizchina.com/2020/05/09/xiaomi-aiot-router-ax3600-to-get-a-major-upgrade-adds-160mhz-dynamic-bandwidth/

So I guess it's an openwrt ath11k driver problem?

I use 160MHz with Channel 36 in Germany without problems.

Tschau
Uwe

Could you please use a wifi 6 capable phone with the app WifiAnalyzer to verify? Or alternatively the channel diag chart of FritzBox 7590 ax (or higher) shows the channel width. I have taken a lot of time today to measure using iperf3 between two ax3600 units and they "in reality" only send/recv on 80 mhz, no matter if I set 80mhz or 160mhz in luci. The measured speed is also the same for both settings like in 80mhz mode.

To check if the app works right, I've temporarily enabled Fritzbox' wifi 6 ax with 160 mhz channel width and the app immediately showed it.

The 160MHz channel is displayed on all my capable devices. Perhaps you have a radar signal nearby...

Tschau
Uwe

Could you please post your wireless config? i'd apply it to my ap and then post screenshots of the used channels. (Redact pwd pls)

This is my wireless config (5G)

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/soc@0/c000000.wifi'
        option band '5g'
        option country 'DE'
        option cell_density '1'
        option channel '36'
        option distance '10'
        option htmode 'HE160'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option key 'xxxxxxxxxxxx'
        option ssid 'xxxxxxxxxxxx'
        option ieee80211w '1'
        option wpa_disable_eapol_key_retries '1'
        option encryption 'psk2+ccmp'
        option multicast_to_unicast '1'
        option multicast_to_unicast_all '1'
        option disassoc_low_ack '0'
        option skip_inactivity_poll '1'
        option max_inactivity '3000'
        option ieee80211r '1'
        option ft_over_ds '0'
        option ft_psk_generate_local '1'

1 Like

Thank you. :slight_smile: Indeed, now my phone reports 160 Mhz being sent by the AP. As soon as I switch to mesh, it's 80 MHz. I'll investigate further next time and report back, if I find some issues. Maybe I can do AP-STA with 160 MHz instead of mesh. Mesh also breaks, when DFS detects radar, I hope it can be better with auto channel and AP-STA.