History

cfg80211: add no HE indication to the channel flag

The regulatory domain might forbid HE operation. Certain regulatory domains may restrict it for specific channels whereas others may do it for the whole regulatory domain. Add an option to indicate it in the channel flag.

Haim Dreyfuss committed 6 years ago

Commit 1e61d821 parent 3c706b94 files · +12 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+5−0
@@ -3587,6 +3587,8 @@ enum nl80211_wmm_rule { · 3586 unmodified lines
3587 * @NL80211_FREQUENCY_ATTR_WMM: this channel has wmm limitations.3587 * @NL80211_FREQUENCY_ATTR_WMM: this channel has wmm limitations.
3588 * This is a nested attribute that contains the wmm limitation per AC.3588 * This is a nested attribute that contains the wmm limitation per AC.
3589 * (see &enum nl80211_wmm_rule)3589 * (see &enum nl80211_wmm_rule)
3590 * @NL80211_FREQUENCY_ATTR_NO_HE: HE operation is not allowed on this channel
3591 * in current regulatory domain.
3590 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number3592 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
3591 * currently defined3593 * currently defined
3592 * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use3594 * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use
@@ -3616,6 +3618,7 @@ enum nl80211_frequency_attr { · 23 unmodified lines
3616 NL80211_FREQUENCY_ATTR_NO_20MHZ,3618 NL80211_FREQUENCY_ATTR_NO_20MHZ,
3617 NL80211_FREQUENCY_ATTR_NO_10MHZ,3619 NL80211_FREQUENCY_ATTR_NO_10MHZ,
3618 NL80211_FREQUENCY_ATTR_WMM,3620 NL80211_FREQUENCY_ATTR_WMM,
3621 NL80211_FREQUENCY_ATTR_NO_HE,
3619 3622
3620 /* keep last */3623 /* keep last */
3621 __NL80211_FREQUENCY_ATTR_AFTER_LAST,3624 __NL80211_FREQUENCY_ATTR_AFTER_LAST,
@@ -3813,6 +3816,7 @@ enum nl80211_sched_scan_match_attr { · 191 unmodified lines
3813 * @NL80211_RRF_NO_HT40PLUS: channels can't be used in HT40+ operation3816 * @NL80211_RRF_NO_HT40PLUS: channels can't be used in HT40+ operation
3814 * @NL80211_RRF_NO_80MHZ: 80MHz operation not allowed3817 * @NL80211_RRF_NO_80MHZ: 80MHz operation not allowed
3815 * @NL80211_RRF_NO_160MHZ: 160MHz operation not allowed3818 * @NL80211_RRF_NO_160MHZ: 160MHz operation not allowed
3819 * @NL80211_RRF_NO_HE: HE operation not allowed
3816 */3820 */
3817enum nl80211_reg_rule_flags {3821enum nl80211_reg_rule_flags {
3818 NL80211_RRF_NO_OFDM = 1<<0,3822 NL80211_RRF_NO_OFDM = 1<<0,
@@ -3830,6 +3834,7 @@ enum nl80211_reg_rule_flags { · 11 unmodified lines
3830 NL80211_RRF_NO_HT40PLUS = 1<<14,3834 NL80211_RRF_NO_HT40PLUS = 1<<14,
3831 NL80211_RRF_NO_80MHZ = 1<<15,3835 NL80211_RRF_NO_80MHZ = 1<<15,
3832 NL80211_RRF_NO_160MHZ = 1<<16,3836 NL80211_RRF_NO_160MHZ = 1<<16,
3837 NL80211_RRF_NO_HE = 1<<17,
3833};3838};
3834 3839
3835#define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR3840#define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t