[PATCH ath-next v2] wifi: ath12k: Prevent incorrect vif chanctx switch when handling multi-radio contexts

Jeff Johnson jeff.johnson at oss.qualcomm.com
Mon Jun 1 10:00:38 PDT 2026


On Fri, 22 May 2026 14:48:28 +0530, Maharaja Kennadyrajan wrote:
> When multiple links switch channel contexts around the same time, mac80211
> may complete CSA for several links together and invoke
> ath12k_mac_op_switch_vif_chanctx() with an array of vifs spanning more than
> one underlying radio in a single-wiphy configuration.
> 
> The driver currently assumes that all entries in the vifs array belong to the
> same radio and derives the radio context from the first element. On multi-radio
> hardware, this can lead to incorrect vdev selection/updates and may corrupt
> driver state when the number of vifs exceeds what a single radio supports.
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: Prevent incorrect vif chanctx switch when handling multi-radio contexts
      commit: 675aa75bfc29fb18c6e4d58904a91c1d37228217

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list