I hit the same bug on 26.04 with 7.0.0-44-generic (Ubuntu 7.0.0-44.44) and a
WCN7850 (17cb:1107, firmware WLAN.HMT.1.1.c7-00108). The station is associated 
to
an eero as a single-link MLO station. Any reassociation, either a roam between
the AP's 5 GHz and 6 GHz BSSIDs or an AP deauth (reason 2) followed by a
reconnect to the same BSSID, leaves TX dead: the 4-way handshake completes,
then "dp_tx: failed to find the peer with peer_id 8193" floods (~220/min) and
DHCP never completes until a manual disconnect/connect. A fresh association
always works. So it isn't limited to two-link MLO; it shows up after any
reassociation.

I backported the upstream series "wifi: ath12k: support firmware-allocated MLD
peer ID" (Baochen Qiang, in mainline v7.2-rc6) to the Ubuntu 7.0.0-44.44 ath12k
source and built it as a DKMS module:

  47abd2ca2815 wifi: ath12k: fix out-of-bounds clear_bit in 
ath12k_mac_dp_peer_cleanup()  (already in 7.0.0-44)
  21ca38bb6b53 wifi: ath12k: factor out peer assoc send-and-wait into a helper  
        (applies cleanly)
  dd121ed779dd wifi: ath12k: keep ATH12K_PEER_ML_ID_VALID set in 
ath12k_sta::ml_peer_id (applies cleanly)
  a08455ee85a2 wifi: ath12k: add support for HTT_T2H_MSG_TYPE_MLO_RX_PEER_MAP   
      (applies cleanly)
  378e659029d5 wifi: ath12k: introduce host_alloc_ml_id hardware parameter      
      (context conflict only: no hw_params.client struct in 7.0; same additions)
  1726a7a10c4f wifi: ath12k: do not advertise MLD peer ID for firmware-allocate 
devices (applies cleanly)
  a7619b3bcba4 wifi: ath12k: defer dp_peer registration when firmware allocates 
MLD peer ID (applies cleanly)
  469d7e6077c1 wifi: ath12k: resolve PENDING ML peer ID from MLO_PEER_MAP HTT 
event   (one-line context conflict: init_completion() placed after mutex_init() 
next to the extra survey_lock init)

It builds without warnings. Every use of ml_peer_id, free_ml_peer_id_map and
host_alloc_ml_id in mac.c, peer.c, dp_peer.c and dp_htt.c matches v7.2.

Result: before the patch, every roam on this machine killed the link (5 of 5
logged). With the patched modules, forced roams with
"wpa_cli -i wlp14s0 roam <bssid>" in both directions (6->5 GHz and 5->6 GHz)
gave 0 dp_tx errors, no WARNINGs, and the gateway answered immediately. The
recurring ath12k_mac_op_change_vif_links WARNING on roams is also gone. I have
not yet reproduced the deauth-then-reassoc path on the patched driver.
Testing is ongoing.

Please consider an SRU of this series to the 7.0 (resolute) kernel. Only
commits 2-8 are needed, and only two of them need trivial context fixups.
LP: #2168714 looks like the same host/firmware ML peer id desync, escalating
to a firmware hang.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170059

Title:
  ath12k (WCN7850): MLO with two links gets no DHCP/data on 7.0.0-38
  ("failed to find the peer with peer_id 8193"); fixed upstream in 7.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170059/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to