[PATCH v4 2/5] wifi: ath11k: store cur_regulatory_info for each radio
Kalle Valo
kvalo at kernel.org
Wed Aug 2 04:36:57 PDT 2023
Wen Gong <quic_wgong at quicinc.com> writes:
> 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>
[...]
> + ret = ath11k_reg_handle_chan_list(ab, reg_info, IEEE80211_REG_UNSET_AP);
> + if (ret) {
> + ath11k_dbg(ab, ATH11K_DBG_WMI,
> + "failed to process regulatory info from received event\n");
> + goto mem_free;
> }
Why the warning message is using ath11k_dbg()? I think it should be
ath11k_warn() and also print ret value.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list