On 5/11/2024 5:54 PM, Kalle Valo wrote: > Baochen Qiang <quic_bqiang@xxxxxxxxxxx> writes: > >> With commit bc8a0fac8677 ("wifi: mac80211: don't set bss_conf in parsing") >> ath11k fails to connect to 6 GHz AP. >> >> This is because currently ath11k checks AP's power type in >> ath11k_mac_op_assign_vif_chanctx() which would be called in AUTH stage. >> However with above commit power type is not available until ASSOC stage. >> As a result power type check fails and therefore connection fails. >> >> Fix this by moving power type check to ASSOC stage, also move regulatory >> rules update there because it depends on power type. >> >> Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 >> >> Fixes: bc8a0fac8677 ("wifi: mac80211: don't set bss_conf in parsing") >> Signed-off-by: Baochen Qiang <quic_bqiang@xxxxxxxxxxx> > > Oh, this fell through the cracks. Commit bc8a0fac8677 was introduced in > v6.9-rc1 so I should have sent this to v6.9 but it's too late now. I'll > need to queue this for v6.10 via wireless tree. > > Adding the regression also to regzbot: > > #regzbot introduced: bc8a0fac8677 > #regzbot title: ath11k: connection to 6 GHz AP fails > Hi Kalle, with an upcoming patch this regression is expected to be fixed: https://lore.kernel.org/all/20240506214536.310434f55f76.I6aca291ee06265e3f63e0f9024ba19a850b53a33@changeid/#t So here the ath11k fix would not be needed any more once above patch got merged. But I don't have time to test this, so suggest keeping it pending. We could drop it once above analysis got verified.