aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/nl80211.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 5abc54d14d4d..eb68735b3318 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -2808,6 +2808,21 @@ enum nl80211_chan_width {
2808}; 2808};
2809 2809
2810/** 2810/**
2811 * enum nl80211_bss_scan_width - control channel width for a BSS
2812 *
2813 * These values are used with the %NL80211_BSS_CHAN_WIDTH attribute.
2814 *
2815 * @NL80211_BSS_CHAN_WIDTH_20: control channel is 20 MHz wide or compatible
2816 * @NL80211_BSS_CHAN_WIDTH_10: control channel is 10 MHz wide
2817 * @NL80211_BSS_CHAN_WIDTH_5: control channel is 5 MHz wide
2818 */
2819enum nl80211_bss_scan_width {
2820 NL80211_BSS_CHAN_WIDTH_20,
2821 NL80211_BSS_CHAN_WIDTH_10,
2822 NL80211_BSS_CHAN_WIDTH_5,
2823};
2824
2825/**
2811 * enum nl80211_bss - netlink attributes for a BSS 2826 * enum nl80211_bss - netlink attributes for a BSS
2812 * 2827 *
2813 * @__NL80211_BSS_INVALID: invalid 2828 * @__NL80211_BSS_INVALID: invalid
@@ -2831,6 +2846,8 @@ enum nl80211_chan_width {
2831 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information 2846 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information
2832 * elements from a Beacon frame (bin); not present if no Beacon frame has 2847 * elements from a Beacon frame (bin); not present if no Beacon frame has
2833 * yet been received 2848 * yet been received
2849 * @NL80211_BSS_CHAN_WIDTH: channel width of the control channel
2850 * (u32, enum nl80211_bss_scan_width)
2834 * @__NL80211_BSS_AFTER_LAST: internal 2851 * @__NL80211_BSS_AFTER_LAST: internal
2835 * @NL80211_BSS_MAX: highest BSS attribute 2852 * @NL80211_BSS_MAX: highest BSS attribute
2836 */ 2853 */
@@ -2847,6 +2864,7 @@ enum nl80211_bss {
2847 NL80211_BSS_STATUS, 2864 NL80211_BSS_STATUS,
2848 NL80211_BSS_SEEN_MS_AGO, 2865 NL80211_BSS_SEEN_MS_AGO,
2849 NL80211_BSS_BEACON_IES, 2866 NL80211_BSS_BEACON_IES,
2867 NL80211_BSS_CHAN_WIDTH,
2850 2868
2851 /* keep last */ 2869 /* keep last */
2852 __NL80211_BSS_AFTER_LAST, 2870 __NL80211_BSS_AFTER_LAST,