[PATCH] ath11k: add regdb.bin download for regdb offload
Wen Gong
quic_wgong at quicinc.com
Thu Dec 2 20:50:42 PST 2021
On 12/3/2021 2:36 AM, Sven Eckelmann wrote:
> On Thursday, 2 December 2021 09:36:16 CET Wen Gong wrote:
>> The regdomain is self-managed type for ath11k, the regdomain info is
>> reported from firmware, it is not from wireless regdb. Firmware fetch
>> the regdomain info from board data file before. Currently most of the
>> regdomain info has moved to another file regdb.bin from board data
>> file for some chips such as QCA6390 and WCN6855, so the regdomain info
>> left in board data file is not enough to support the feature which need
>> more reg rules such as 6 GHz LPI, SP and VLP.
> But for the latter, you are also missing the patch to support the
> WMI_REG_CHAN_LIST_CC_EXT_EVENTID (with the 6GHz specific fields in the struct
> wmi_reg_chan_list_cc_ext_event)? Otherwise it should not be possible to
> get the 6GHz reg rules (which you showed in your commit message).
>
> struct wmi_reg_chan_list_cc_event (for WMI_REG_CHAN_LIST_CC_EVENTID) supports
> only 2.4GHz and 5GHz.
WMI_REG_CHAN_LIST_CC_EVENTID also support 6 GHz, But it dose not support
6 GHz LPI, SP and VLP.
I did test with the board-2.bin/m3.bin/amss.bin(without regdb.bin) of this commit
https://github.com/kvalo/ath11k-firmware/commit/0b1d1b2e10f9839ee0675a2ac496bfeb87c304c1.
It only support country US. After added regdb.bin, it support many country.
So regdb.bin is needed now.
>
> Kind regards,
> Sven
>
> [1] https://source.codeaurora.org/quic/qsdk/oss/system/feeds/wlan-open/tree/mac80211/patches/302-ath11k-Add-support-to-parse-new-wmi-event-for-6G-reg.patch?h=NHSS.QSDK.11.4.0.5
More information about the ath11k
mailing list