davidc502 wrote:@starcms
Yes, I'm still living in the month of June. lol
I though for some reason, and apparently wrong, that I was able to change the version number without having to change it in the dev.h file. Looks like this needs to be done as well before compiling. Thanks for finding it, and will add it to the todo list.
For Wifi 5Ghz, I set the router to channel 64, and when I woke up this morning it had changed to channel 149.
*EDIT*
I am seeing this in the kernel log a lot.
[27408.382740] WARNING: CPU: 0 PID: 0 at compat-wireless-2017-01-31/net/mac80211/rx.c:4224 ieee80211_rx_napi+0x88/0x81c [mac80211]
@david,
As for the kernel error, as @adri said, it has been reported to @yurhaulin. It is caused by the commit that fixed the rx/tx rate, but he said he will fix it. Luckily, not seeing it here on my 1200AC, so it only shows up on the 3200acm I am guessing. It can either cause the router to crash, or simply appear in the log without causing a crash.
The DFS behavior you are seeing now on your 3200acm, with it switching from one DFS channel to either another DFS channel or a non-DFS channel (in your first test with mwifiex-sdio-firmware it switched to another DFS channel (132) and in the second test with mwifiex-sdio-firmware it switched to a non-DFS channel (149)), is this the same behavior as when you had kmod-mwifiex-sdio installed in addition to mwifiex-sdio-firmware?
I'm pretty sure it must be. So looks like I was correct: kmod-mwifiex-sdio should be removed, but mwifiex-sdio-firmware should be kept for proper (or at least better) DFS behavior, just as you have it in your latest build, r4542. Because as your previous test without mwifiex-sdio-firmware showed, the 3200acm jumps from a DFS channel to channel 36 always when radar is detected which is the very incorrect behavior that the 1200/1900 models exhibit. So mwifiex-sdio-firmware is definitely having a positive impact on channel selection when radar is detected.
Edit/addition: I am sure radar is still being falsely detected when there is none on DFS channels (random interference on the current DFS channel is not supposed to trigger radar detected and a channel switch. The FCC has published very specific and unique patterns of interference which is the only thing meant to trigger a radar warning and a channel switch when on a DFS channel).
However, on the 1200/1900, when radar is "detected", it always switches to channel 36 (most likely because the 1200/1900 don't officially support DFS, and in the official Linksys firmware, you can only select from non-DFS channels (36, 40, 44, 48, 149, 153, 157, 161). Therefore, it was probably never programmed in the 88W8864 firmware what to do when radar was detected (since it doesn't support DFS officially) and just switches to the first available channel (36) when ordered to switch channels by LEDE. On the 3200acm with mwiflex-sdio-firmware package installed, when radar is "detected," it switches to any other channel, DFS or not. It most likely switches to the channel the 88W8887 senses has the least interference at the moment of switching. Without mwifiex-sdio-firmware installed on the 3200acm, it's channel switching behavior reverts to that of the 1200/1900 models (it will only switch to channel 36).
So the 3200acm doesn't have better/more accurate radar detection (well it does because it has the 88W8887, but it isn't currently being utilized); but it does have a working channel switching behavior when "radar" is detected. For accurate radar detection on the 3200acm, an algorithm is needed which monitors the current channel (if it is DFS) with the 88W8887 and listens for the specific patterns of interference which correspond to actual radar. Or, the algorithm may be built into the firmware of the 88W8887, but either a) we are missing an open-source DFS driver for the 88W8887 (remember kmod-mwifiex-sdio is an AP driver only) which doesn't exist yet or b) the firmware for the 88W8887 in the mwifiex-sdio-firmware package is out of date or c) both.
Anyone know if all routers which officially support DFS (the 1200/1900 models do not as mentioned before) incorrectly detect any interference as radar on LEDE/OpenWRT and quickly switch channels (within approx 30 minutes to a couple hours)? Or is it only the 3200acm?
Lastly and un-related to the above, does LEDE/OpenWRT support MU-MIMO on the 3200acm? If so, does it work? I'm guessing no, and it will need to be added to the mwlwifi driver.
(Last edited by starcms on 9 Jul 2017, 04:44)