Aditya Kumar Singh <quic_adisi@xxxxxxxxxxx> wrote: > Certain regulatory domains could put restrictions on phy mode operation. > For example, in a few countries HE/EHT Operation is not allowed. For such > countries, firmware indicates this via phy bitmap in each reg rule. > > Currently, there is no logic to parse this info and then pass it on to the > cfg80211/regulatory. > > Add parsing of this phy bitmap from the regulatory channel change event and > then accordingly map it to cfg80211/regulatory flags and pass it on to it. > > While at it, correct typo in debug print: s/dsf/dfs. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Aditya Kumar Singh <quic_adisi@xxxxxxxxxxx> > Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 29ea0d409103 wifi: ath12k: add parsing of phy bitmap for reg rules -- https://patchwork.kernel.org/project/linux-wireless/patch/20231004092818.25130-1-quic_adisi@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches