[PATCH v6 02/13] wifi: ath11k: store cur_regulatory_info for each radio

Kalle Valo kvalo at kernel.org
Fri Sep 29 06:16:15 PDT 2023


Wen Gong <quic_wgong at quicinc.com> wrote:

> The regulatory info of WMI_REG_CHAN_LIST_CC_EXT_EVENTID is not saved
> in ath11k now, the info should be saved in ath11k. Save the info for
> each radio and support switch regulatory rules dynamically.
> 
> Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.23
> 
> Signed-off-by: Wen Gong <quic_wgong at quicinc.com>
> Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

This added a new warning:

drivers/net/wireless/ath/ath11k/wmi.c:7157: else is not generally useful after a break or return

You should guess by now what I'm going to say: please ALWAYS test your patches
with ath11k-check!

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230920082349.29111-3-quic_wgong@quicinc.com/

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




More information about the ath11k mailing list