[PATCH] wifi: ath11k: fix band selection for ppdu received in channel 177 of 5 GHz

Kalle Valo kvalo at kernel.org
Wed Aug 2 04:49:17 PDT 2023


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

> 5 GHz band channel 177 support was added with the commit e5e94d10c856 ("wifi:
> ath11k: add channel 177 into 5 GHz channel list"). However, during processing
> for the received ppdu in ath11k_dp_rx_h_ppdu(), channel number is checked only
> till 173. This leads to driver code checking for channel and then fetching the
> band from it which is extra effort since firmware has already given the channel
> number in the metadata.
> 
> Fix this issue by checking the channel number till 177 since we support
> it now.
> 
> Found via code review. Compile tested only.
> 
> Fixes: e5e94d10c856 ("wifi: ath11k: add channel 177 into 5 GHz channel list")
> 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.

72c8caf904ae wifi: ath11k: fix band selection for ppdu received in channel 177 of 5 GHz

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

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




More information about the ath11k mailing list