[PATCH] wifi: ath11k: fix firmware assert during bandwidth change for peer sta

Kalle Valo kvalo at kernel.org
Tue Oct 11 23:39:29 PDT 2022


Aditya Kumar Singh <quic_adisi at quicinc.com> wrote:

> Currently, ath11k sends peer assoc command for each peer to
> firmware when bandwidth changes. Peer assoc command is a
> bulky command and if many clients are connected, this could
> lead to firmware buffer getting overflowed leading to a firmware
> assert.
> 
> However, during bandwidth change, only phymode and bandwidth
> also can be updated by WMI set peer param command. This makes
> the overall command light when compared to peer assoc and for
> multi-client cases, firmware buffer overflow also does not
> occur.
> 
> Remove sending peer assoc command during sta bandwidth change
> and instead add sending WMI set peer param command for phymode
> and bandwidth.
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
> 
> Fixes: f187fe8e3bc65 ("ath11k: fix firmware crash during channel switch")
> Signed-off-by: Aditya Kumar Singh <quic_adisi at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

3ff51d7416ee wifi: ath11k: fix firmware assert during bandwidth change for peer sta

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20221005095430.19890-1-quic_adisi@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list