Skip to content

Commit dec05cd

Browse files
Peter Ohkvalo
authored andcommitted
ath: regdom: extend South Korea regulatory domain support
South Korea manufacturer, Samsung, has extended South Korea regulatory domain pair with 0x5F and has used it for their devices such as Samsung Galaxy book. Hence add support 0x5F as a regulatory domain pair along with extended country code, 413. Signed-off-by: Peter Oh <[email protected]> Signed-off-by: Andreas Tepe <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent dddaa64 commit dec05cd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/net/wireless/ath/regd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ enum CountryCode {
126126
CTRY_KOREA_ROC = 410,
127127
CTRY_KOREA_ROC2 = 411,
128128
CTRY_KOREA_ROC3 = 412,
129+
CTRY_KOREA_ROC4 = 413,
129130
CTRY_KUWAIT = 414,
130131
CTRY_LATVIA = 428,
131132
CTRY_LEBANON = 422,

drivers/net/wireless/ath/regd_common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ enum EnumRd {
7676
APL7_FCCA = 0x5C,
7777
APL8_WORLD = 0x5D,
7878
APL9_WORLD = 0x5E,
79+
APL10_WORLD = 0x5F,
7980

8081
WOR0_WORLD = 0x60,
8182
WOR1_WORLD = 0x61,
@@ -204,6 +205,7 @@ static struct reg_dmn_pair_mapping regDomainPairs[] = {
204205
{APL6_WORLD, CTL_ETSI, CTL_ETSI},
205206
{APL8_WORLD, CTL_ETSI, CTL_ETSI},
206207
{APL9_WORLD, CTL_ETSI, CTL_ETSI},
208+
{APL10_WORLD, CTL_ETSI, CTL_ETSI},
207209

208210
{APL3_FCCA, CTL_FCC, CTL_FCC},
209211
{APL7_FCCA, CTL_FCC, CTL_FCC},
@@ -426,6 +428,7 @@ static struct country_code_to_enum_rd allCountries[] = {
426428
{CTRY_KOREA_ROC, APL9_WORLD, "KR"},
427429
{CTRY_KOREA_ROC2, APL2_WORLD, "K2"},
428430
{CTRY_KOREA_ROC3, APL9_WORLD, "K3"},
431+
{CTRY_KOREA_ROC4, APL10_WORLD, "K4"},
429432
{CTRY_KUWAIT, ETSI3_WORLD, "KW"},
430433
{CTRY_LATVIA, ETSI1_WORLD, "LV"},
431434
{CTRY_LEBANON, NULL1_WORLD, "LB"},

0 commit comments

Comments
 (0)