wifi: ath11k: update regulatory rules when connect to AP on 6 GHz band for station
authorWen Gong <quic_wgong@quicinc.com>
Thu, 11 Jan 2024 13:56:58 +0000 (15:56 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Sun, 14 Jan 2024 14:59:09 +0000 (16:59 +0200)
commit1329beb56297021042788223e666f6ccd2e11a0a
treec14142dbcdaecde0a94608b12a84016bed9c5bb0
parent17144d32e90708cd5532055f3d9894ced9ac45a2
wifi: ath11k: update regulatory rules when connect to AP on 6 GHz band for station

When station connect to AP on 6 GHz band, it needs switch the regulatory
rules according to the regulatory info sub field in HE operation element.
Switch to the power type which AP used for station interface.

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@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20231218085844.2658-6-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c