2023-09-14 20:54:27

by Wen Gong

[permalink] [raw]
Subject: [PATCH v2 0/4] wifi: ath12k: add 11d scan offload support and handle country code for WCN7850

v2: change per Jeff.
1. change alpha2 length from 3 to 2.
2. change wmi_11d_new_cc_ev to wmi_11d_new_cc_event.

Add handler to send WMI_SET_CURRENT_COUNTRY_CMDID which is needed for
11d scan offload to firmware. And add support for 11d scan offload for
WCN7850.

Also fix firmware crash for country code set for WCN7850 and store country
code for device recovery for WCN7850.

Wen Gong (4):
wifi: ath12k: add configure country code for WCN7850
wifi: ath12k: add 11d scan offload support
wifi: ath12k: avoid firmware crash when reg set for WCN7850
wifi: ath12k: store and send country code to firmware after recovery

drivers/net/wireless/ath/ath12k/core.c | 36 ++++-
drivers/net/wireless/ath/ath12k/core.h | 17 +++
drivers/net/wireless/ath/ath12k/hw.c | 3 +
drivers/net/wireless/ath/ath12k/hw.h | 1 +
drivers/net/wireless/ath/ath12k/mac.c | 178 ++++++++++++++++++++++++-
drivers/net/wireless/ath/ath12k/mac.h | 7 +
drivers/net/wireless/ath/ath12k/reg.c | 67 ++++++++--
drivers/net/wireless/ath/ath12k/reg.h | 3 +-
drivers/net/wireless/ath/ath12k/wmi.c | 159 +++++++++++++++++++++-
drivers/net/wireless/ath/ath12k/wmi.h | 38 ++++++
10 files changed, 489 insertions(+), 20 deletions(-)


base-commit: 3f257461ab0ab19806bae2bfde4c3cd88dbf050e
--
2.40.1


2023-09-29 13:14:11

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] wifi: ath12k: add 11d scan offload support and handle country code for WCN7850

Wen Gong <[email protected]> writes:

> v2: change per Jeff.
> 1. change alpha2 length from 3 to 2.
> 2. change wmi_11d_new_cc_ev to wmi_11d_new_cc_event.
>
> Add handler to send WMI_SET_CURRENT_COUNTRY_CMDID which is needed for
> 11d scan offload to firmware. And add support for 11d scan offload for
> WCN7850.
>
> Also fix firmware crash for country code set for WCN7850 and store country
> code for device recovery for WCN7850.
>
> Wen Gong (4):
> wifi: ath12k: add configure country code for WCN7850
> wifi: ath12k: add 11d scan offload support
> wifi: ath12k: avoid firmware crash when reg set for WCN7850
> wifi: ath12k: store and send country code to firmware after recovery

Patches 2 & 3 had trivial conflicts with rfkill patches, fixed in the
pending branch:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=3261a8fe9de8fd5a94215eaf0c8738c3f0051105

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=0f82a7f8a8d1944faea458f992d492daa74a968e

No need to resend because of this.

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches