Skip to contentSkip to conversation

ath11k: Add new dfs region name for JP

PATCH In review Lavanya Suresh 2 participants 3 messages Nov 5, 2020 – Nov 7, 2020 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: Add new dfs region name for JP

Japan has new Radar types as per latest regulatory, included under MKK_N in FW. So adding new enum in ath11k to support it.

Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.4.0.1-00041-QCAHKSWPL_SILICONZ-1

---
 drivers/net/wireless/ath/ath11k/reg.c | 1 +
 drivers/net/wireless/ath/ath11k/reg.h | 1 +
 2 files changed, 2 insertions(+)
drivers/net/wireless/ath/ath11k/reg.c +1 -0
index f6a1f03..4f178d8 100644
@@ -277,6 +277,7 @@ ath11k_map_fw_dfs_region(enum ath11k_dfs_region dfs_region)
 	case ATH11K_DFS_REG_KR:
 		return NL80211_DFS_ETSI;
 	case ATH11K_DFS_REG_MKK:
+	case ATH11K_DFS_REG_MKK_N:
 		return NL80211_DFS_JP;
 	default:
 		return NL80211_DFS_UNSET;
drivers/net/wireless/ath/ath11k/reg.h +1 -0
index 39b7fc9..65d56d4 100644
@@ -20,6 +20,7 @@ enum ath11k_dfs_region {
 	ATH11K_DFS_REG_MKK,
 	ATH11K_DFS_REG_CN,
 	ATH11K_DFS_REG_KR,
+	ATH11K_DFS_REG_MKK_N,
 	ATH11K_DFS_REG_UNDEF,
 };
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 8 lines · Lavanya Suresh

Japan has new Radar types as per latest regulatory, included under MKK_N in FW. So adding new enum in ath11k to support it.

Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.4.0.1-00041-QCAHKSWPL_SILICONZ-1

Patch applied to ath-next branch of ath.git, thanks.

47f1a84e2451 ath11k: Add new dfs region name for JP

Signature · 9 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

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


-- 
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#2 lore raw
In reply to Lavanya Suresh
Quoted 8 lines · Lavanya Suresh

Japan has new Radar types as per latest regulatory, included under MKK_N in FW. So adding new enum in ath11k to support it.

Tested-on: IPQ8074 hw2.0 PCI WLAN.HK.2.4.0.1-00041-QCAHKSWPL_SILICONZ-1

Patch applied to ath-next branch of ath.git, thanks.

47f1a84e2451 ath11k: Add new dfs region name for JP

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

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