]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: store and send country code to firmware after recovery
authorWen Gong <quic_wgong@quicinc.com>
Thu, 24 Mar 2022 01:18:56 +0000 (21:18 -0400)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 28 Mar 2022 11:48:52 +0000 (14:48 +0300)
commit1a1c8812bf5331f1beebf1905256c7f2fbaa0027
tree49fce8be9c89468fdb20e243679a3fee508f6b2b
parent0a9c0cd631acbfc79c41b967ccc057b73e2094be
ath11k: store and send country code to firmware after recovery

Currently ath11k does not send the country code to firmware after device
recovery, as a result the regdomain info is reported from firmware by
default. Regdomain info is important, so ath11k also need to restore
it to the value which was used before recovery.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220324011856.11014-1-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/reg.c