Wifi 5Ghz enablement#188
Conversation
|
These should go directly into ath10k list I believe. I'd like to see responses to it.. |
Also SoB-s are missing |
|
@M0Rf30 do these changes help specifically only for connecting to 5Ghz WI-Fi or do they also fix firmware crashes for "normal" one? I just in general want to know more: how did you come to these conclusions, how did you trace the driver and which command causes which crash, etc |
|
2.4 GHz was always fine — it never exercised the broken paths. All three patches are about making 5
How I traced it: I have two devices (tulip = c2-00538, jasmine = c2-00811) reachable over SSH/USB, so The interesting one is 3. The crash PC was always 0xb00c87e0, so I pulled the running WLAN firmware That packet is: The rodata strings next to the function name it: wlan_txbf.c / wlan_txbfee_parse_gid — i.e. the VHT The trigger is the AP sending a VHT Group ID Management action frame, which only happens if the STA I also checked whether a firmware update would fix it: disassembling jasmine's newer c2-00811 shows |
WCN3990 firmware (WLAN.HL.1.0.x) crashes when the quiet mode WMI command is sent during bring-up; the crash cascades into a full modem crash. Commit 5388457 gated quiet mode on WMI_SERVICE_THERM_THROT, but the firmware advertises that service while still being unable to handle the command. Skip quiet mode unconditionally for WCN3990. Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
WCN3990 firmware does not tune the radio during active scan on 5GHz non-DFS channels, so 5GHz networks are never discovered. Force passive scan on all 5GHz channels for WCN3990 so the radio tunes correctly and 5GHz APs become visible. Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
WCN3990 firmware crashes when handling VHT MU-MIMO transmit-beamforming Group ID Management frames: the beamformee handler wlan_txbfee_parse_gid dereferences an uninitialised per-peer TxBF context, faulting at PC=0xb00c87e0 and bringing down the modem. This was confirmed by disassembly and reproduced on both the c2-00538 (2019) and c2-00811 (2020) firmware builds, so there is no fixed build to key the workaround on. Clear the VHT SU/MU beamformer and beamformee capability bits for WCN3990 so the STA never advertises beamformee support; the AP then never sends a Group ID Management frame and the buggy path is never entered. VHT data rates are unaffected. Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
5d2fbd1 to
22e33e9
Compare
No description provided.