Commit 47f1a84e authored by Lavanya Suresh's avatar Lavanya Suresh Committed by Kalle Valo

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
Signed-off-by: default avatarLavanya Suresh <lavaks@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1604563475-5782-1-git-send-email-lavaks@codeaurora.org
parent 36c7c640
...@@ -278,6 +278,7 @@ ath11k_map_fw_dfs_region(enum ath11k_dfs_region dfs_region) ...@@ -278,6 +278,7 @@ ath11k_map_fw_dfs_region(enum ath11k_dfs_region dfs_region)
case ATH11K_DFS_REG_KR: case ATH11K_DFS_REG_KR:
return NL80211_DFS_ETSI; return NL80211_DFS_ETSI;
case ATH11K_DFS_REG_MKK: case ATH11K_DFS_REG_MKK:
case ATH11K_DFS_REG_MKK_N:
return NL80211_DFS_JP; return NL80211_DFS_JP;
default: default:
return NL80211_DFS_UNSET; return NL80211_DFS_UNSET;
......
...@@ -20,6 +20,7 @@ enum ath11k_dfs_region { ...@@ -20,6 +20,7 @@ enum ath11k_dfs_region {
ATH11K_DFS_REG_MKK, ATH11K_DFS_REG_MKK,
ATH11K_DFS_REG_CN, ATH11K_DFS_REG_CN,
ATH11K_DFS_REG_KR, ATH11K_DFS_REG_KR,
ATH11K_DFS_REG_MKK_N,
ATH11K_DFS_REG_UNDEF, ATH11K_DFS_REG_UNDEF,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment