Skip to content

Commit a1ef618

Browse files
Wen Gongjmberg-intel
authored andcommitted
ieee80211: add definition of regulatory info in 6 GHz operation information
IEEE Std 802.11ax™-2021 added regulatory info subfield in HE operation element, add it to the header file. Signed-off-by: Wen Gong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent f5a4c24 commit a1ef618

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/ieee80211.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,6 +2312,9 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info)
23122312
#define IEEE80211_HE_OPERATION_PARTIAL_BSS_COLOR 0x40000000
23132313
#define IEEE80211_HE_OPERATION_BSS_COLOR_DISABLED 0x80000000
23142314

2315+
#define IEEE80211_6GHZ_CTRL_REG_LPI_AP 0
2316+
#define IEEE80211_6GHZ_CTRL_REG_SP_AP 1
2317+
23152318
/**
23162319
* ieee80211_he_6ghz_oper - HE 6 GHz operation Information field
23172320
* @primary: primary channel
@@ -2328,6 +2331,7 @@ struct ieee80211_he_6ghz_oper {
23282331
#define IEEE80211_HE_6GHZ_OPER_CTRL_CHANWIDTH_80MHZ 2
23292332
#define IEEE80211_HE_6GHZ_OPER_CTRL_CHANWIDTH_160MHZ 3
23302333
#define IEEE80211_HE_6GHZ_OPER_CTRL_DUP_BEACON 0x4
2334+
#define IEEE80211_HE_6GHZ_OPER_CTRL_REG_INFO 0x38
23312335
u8 control;
23322336
u8 ccfs0;
23332337
u8 ccfs1;

0 commit comments

Comments
 (0)