Aditya Kumar Singh <quic_adisi@xxxxxxxxxxx> 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@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> 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@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches