Adding OpenWrt support for Xiaomi AX3600 (Part 1)

Wds is a confirmed problem but I assume it's more if a mac80211 thing... Qca have tons of patch about it so I wonder if

Hm, they are checking for STA and AP mode if frame_mode is 2 to advertise offloading, maybe WDS also needs to be there?

Looking at my (posted issue) sys log, it looks like it's the normal radar detection and not related to the release. Still I don't know why it didn't show before.

A quick test would be ask the affected user to try wds on my firmware...
it has offload support AND frame mode 2 (since nss requires it) + other patch so wonder if some of them fix the problem...

Anyone affected by the problem that wants to test?

you problems seems to be a corner case with some freq... qca also have a patch about it but I have to check them... (there are a lots of small fixup on mac80211 on wlan-open)

The issue happened twice with <2 days uptime, in ax3600#1, US, chan 116, 80Mhz. It never happened before.
Let me give it some more uptime, if it repeats, I'll keep the same configuration and test the previous release a few days.

I have the other ax3600#2 (in another room), US, chan 132, 80Mhz, with 4 days uptime and no radar issue yet.


Could be this issue, when radar is detected:
https://forum.openwrt.org/t/5-ghz-wlan-craps-out-upon-radar-detection-start-dfs-cac-failed/71018

There is an airport 4 km from my location, but airplanes don't pass anyway near me.

on this AX3600 i can test...

which branch of yours should i use??

and how can i change the "frame mode"?? to test it...

then 100% some channel gets blacklisted

1 Like

i warn you it does suffer from memory leak so it's only for testing... again it's really to quickly test if we have some ready to apply patch to fix the problem.

Does not matter, as your router is picking up the weather radar of the airport, not the planes. Which is likely on 24/7, or at least during the operation hours of the airport (if it is a smaller airport not open all day).

1 Like

thanks..
now he is flashed
I will report

It's a big and busy 24/7 airport.
I almost forgot about the airport (sorry about that), as I don't see it, neither see or hear the planes.

I always can use all radar wifi bands, but these 2 time can be the normal exceptions when router detected the radar.

can't authenticate myself on wifi

Wed Jul 13 16:38:50 2022 user.info : luci: accepted login on / for root from 192.168.2.148
Wed Jul 13 16:38:58 2022 kern.info kernel: [   32.470106] l11: disabling
Wed Jul 13 16:38:59 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: authenticated
Wed Jul 13 16:38:59 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: associated (aid 1)
Wed Jul 13 16:39:03 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: authenticated
Wed Jul 13 16:39:03 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: associated (aid 1)
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated
Wed Jul 13 16:39:04 2022 daemon.info hostapd: wlan2: STA c4:dd:57:1d:ac:d4 IEEE 802.11: disassociated

image

As for those errors mentioned stixi, I also have them when I set 5ghz network on one of the DFS channels. Setting wifi on channel 36 solves stability issues on my end and so far I managed to get ~2 weeks of uptime without that problem.

Oh, if the airport weather radar is close enough, in some cases due to atmospheric siatuations, the signal can be reflected back even if you dont have a line of site to it, and the router can pick it up. I also have a major airport in my vicinity which is blocked by a mountain, yet in some cases the radar signal can bounce back. This can also be measured with a spectrum analyzer. Sometimes they refer to this as a cloud duct effect.

1 Like

After changing MODPARAMS.ath11k:=frame_mode=2 to MODPARAMS.ath11k:=frame_mode=1 WDS works fine!

Thank you!

(802.11s still doesn't work / as soon as a 802.11s network is up iPhone isn't connected to the internet anymore and Channel Analysis (lucy) keeps crashing)

Hello guys, tell me, I saw the structure ath11k_he_ru_tones_to_nl80211_he_ru_alloc (u16 ru_tones) in the sources, this is the definition of the number of resource units for devices, but not in the sources where they are distributed among the connected devices, who knows tell me. The main performance of the device is tied to the shellduler.

Little question: Does the IoT antenna work? I have an older snapshot running, r0-5432a90. And is there a benefit to the default 2,4ghz antenna/network?

It works, but it's better this way
Ath11
Wlan1 - 5 GHz
Wlan2 - 2.4ghz, wlan2.1 2.4ghz for iot
Ath10
Disable

Thanks for your answer.
Its kinda cryptic, but i guess you want to say that ath11, which offers wlan1(5ghz) and wlan 2 (2,4ghz) is more powerful than the ath10 (which ofc just has one antenna in contrast to ath11s 2,4ghz). Logical. So ath10 is just to lower the wifi standard for iot devices so you still can go for ax on ath11s 2,4ghz (some ppl claim iot devices dont like the new standards, wmm and so on). Thought theres maybe some other features or benefits i miss.

I understand you correct that i should create another 2,4ghz wifi with ath11 for iot? Didnt know this is even possible.

1 Like