diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-03-13 14:21:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-13 14:21:43 -0400 |
commit | 42775a34d23027b19e984956a539448f5e7ff075 (patch) | |
tree | e344340c7f0aed4c8faf7534fabbc64607a8e784 /include/uapi | |
parent | 433131ba03c511a84e1fda5669c70cf8b44702e1 (diff) | |
parent | 4e3b3bcd81776527fa6f11624d68849de8c8802e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Conflicts:
drivers/net/wireless/ath/ath9k/recv.c
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nl80211.h | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index a12e6cae5132..ff72cab3cd3a 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
@@ -303,8 +303,9 @@ | |||
303 | * passed, all channels allowed for the current regulatory domain | 303 | * passed, all channels allowed for the current regulatory domain |
304 | * are used. Extra IEs can also be passed from the userspace by | 304 | * are used. Extra IEs can also be passed from the userspace by |
305 | * using the %NL80211_ATTR_IE attribute. | 305 | * using the %NL80211_ATTR_IE attribute. |
306 | * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT | 306 | * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if |
307 | * if scheduled scan is not running. | 307 | * scheduled scan is not running. The caller may assume that as soon |
308 | * as the call returns, it is safe to start a new scheduled scan again. | ||
308 | * @NL80211_CMD_SCHED_SCAN_RESULTS: indicates that there are scheduled scan | 309 | * @NL80211_CMD_SCHED_SCAN_RESULTS: indicates that there are scheduled scan |
309 | * results available. | 310 | * results available. |
310 | * @NL80211_CMD_SCHED_SCAN_STOPPED: indicates that the scheduled scan has | 311 | * @NL80211_CMD_SCHED_SCAN_STOPPED: indicates that the scheduled scan has |
@@ -1575,6 +1576,9 @@ enum nl80211_commands { | |||
1575 | * advertise values that cannot always be met. In such cases, an attempt | 1576 | * advertise values that cannot always be met. In such cases, an attempt |
1576 | * to add a new station entry with @NL80211_CMD_NEW_STATION may fail. | 1577 | * to add a new station entry with @NL80211_CMD_NEW_STATION may fail. |
1577 | * | 1578 | * |
1579 | * @NL80211_ATTR_TDLS_PEER_CAPABILITY: flags for TDLS peer capabilities, u32. | ||
1580 | * As specified in the &enum nl80211_tdls_peer_capability. | ||
1581 | * | ||
1578 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 1582 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
1579 | * @__NL80211_ATTR_AFTER_LAST: internal use | 1583 | * @__NL80211_ATTR_AFTER_LAST: internal use |
1580 | */ | 1584 | */ |
@@ -1908,6 +1912,8 @@ enum nl80211_attrs { | |||
1908 | 1912 | ||
1909 | NL80211_ATTR_MAX_AP_ASSOC_STA, | 1913 | NL80211_ATTR_MAX_AP_ASSOC_STA, |
1910 | 1914 | ||
1915 | NL80211_ATTR_TDLS_PEER_CAPABILITY, | ||
1916 | |||
1911 | /* add attributes here, update the policy in nl80211.c */ | 1917 | /* add attributes here, update the policy in nl80211.c */ |
1912 | 1918 | ||
1913 | __NL80211_ATTR_AFTER_LAST, | 1919 | __NL80211_ATTR_AFTER_LAST, |
@@ -2437,10 +2443,7 @@ enum nl80211_reg_type { | |||
2437 | * in KHz. This is not a center a frequency but an actual regulatory | 2443 | * in KHz. This is not a center a frequency but an actual regulatory |
2438 | * band edge. | 2444 | * band edge. |
2439 | * @NL80211_ATTR_FREQ_RANGE_MAX_BW: maximum allowed bandwidth for this | 2445 | * @NL80211_ATTR_FREQ_RANGE_MAX_BW: maximum allowed bandwidth for this |
2440 | * frequency range, in KHz. If not present or 0, maximum available | 2446 | * frequency range, in KHz. |
2441 | * bandwidth should be calculated base on contiguous rules and wider | ||
2442 | * channels will be allowed to cross multiple contiguous/overlapping | ||
2443 | * frequency ranges. | ||
2444 | * @NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN: the maximum allowed antenna gain | 2447 | * @NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN: the maximum allowed antenna gain |
2445 | * for a given frequency range. The value is in mBi (100 * dBi). | 2448 | * for a given frequency range. The value is in mBi (100 * dBi). |
2446 | * If you don't have one then don't send this. | 2449 | * If you don't have one then don't send this. |
@@ -2511,6 +2514,9 @@ enum nl80211_sched_scan_match_attr { | |||
2511 | * @NL80211_RRF_NO_IR: no mechanisms that initiate radiation are allowed, | 2514 | * @NL80211_RRF_NO_IR: no mechanisms that initiate radiation are allowed, |
2512 | * this includes probe requests or modes of operation that require | 2515 | * this includes probe requests or modes of operation that require |
2513 | * beaconing. | 2516 | * beaconing. |
2517 | * @NL80211_RRF_AUTO_BW: maximum available bandwidth should be calculated | ||
2518 | * base on contiguous rules and wider channels will be allowed to cross | ||
2519 | * multiple contiguous/overlapping frequency ranges. | ||
2514 | */ | 2520 | */ |
2515 | enum nl80211_reg_rule_flags { | 2521 | enum nl80211_reg_rule_flags { |
2516 | NL80211_RRF_NO_OFDM = 1<<0, | 2522 | NL80211_RRF_NO_OFDM = 1<<0, |
@@ -2522,6 +2528,7 @@ enum nl80211_reg_rule_flags { | |||
2522 | NL80211_RRF_PTMP_ONLY = 1<<6, | 2528 | NL80211_RRF_PTMP_ONLY = 1<<6, |
2523 | NL80211_RRF_NO_IR = 1<<7, | 2529 | NL80211_RRF_NO_IR = 1<<7, |
2524 | __NL80211_RRF_NO_IBSS = 1<<8, | 2530 | __NL80211_RRF_NO_IBSS = 1<<8, |
2531 | NL80211_RRF_AUTO_BW = 1<<11, | ||
2525 | }; | 2532 | }; |
2526 | 2533 | ||
2527 | #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR | 2534 | #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR |
@@ -3843,11 +3850,6 @@ enum nl80211_ap_sme_features { | |||
3843 | * @NL80211_FEATURE_CELL_BASE_REG_HINTS: This driver has been tested | 3850 | * @NL80211_FEATURE_CELL_BASE_REG_HINTS: This driver has been tested |
3844 | * to work properly to suppport receiving regulatory hints from | 3851 | * to work properly to suppport receiving regulatory hints from |
3845 | * cellular base stations. | 3852 | * cellular base stations. |
3846 | * @NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL: If this is set, an active | ||
3847 | * P2P Device (%NL80211_IFTYPE_P2P_DEVICE) requires its own channel | ||
3848 | * in the interface combinations, even when it's only used for scan | ||
3849 | * and remain-on-channel. This could be due to, for example, the | ||
3850 | * remain-on-channel implementation requiring a channel context. | ||
3851 | * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of | 3853 | * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of |
3852 | * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station | 3854 | * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station |
3853 | * mode | 3855 | * mode |
@@ -3889,7 +3891,7 @@ enum nl80211_feature_flags { | |||
3889 | NL80211_FEATURE_HT_IBSS = 1 << 1, | 3891 | NL80211_FEATURE_HT_IBSS = 1 << 1, |
3890 | NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2, | 3892 | NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2, |
3891 | NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3, | 3893 | NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3, |
3892 | NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4, | 3894 | /* bit 4 is reserved - don't use */ |
3893 | NL80211_FEATURE_SAE = 1 << 5, | 3895 | NL80211_FEATURE_SAE = 1 << 5, |
3894 | NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6, | 3896 | NL80211_FEATURE_LOW_PRIORITY_SCAN = 1 << 6, |
3895 | NL80211_FEATURE_SCAN_FLUSH = 1 << 7, | 3897 | NL80211_FEATURE_SCAN_FLUSH = 1 << 7, |
@@ -4079,4 +4081,20 @@ struct nl80211_vendor_cmd_info { | |||
4079 | __u32 subcmd; | 4081 | __u32 subcmd; |
4080 | }; | 4082 | }; |
4081 | 4083 | ||
4084 | /** | ||
4085 | * enum nl80211_tdls_peer_capability - TDLS peer flags. | ||
4086 | * | ||
4087 | * Used by tdls_mgmt() to determine which conditional elements need | ||
4088 | * to be added to TDLS Setup frames. | ||
4089 | * | ||
4090 | * @NL80211_TDLS_PEER_HT: TDLS peer is HT capable. | ||
4091 | * @NL80211_TDLS_PEER_VHT: TDLS peer is VHT capable. | ||
4092 | * @NL80211_TDLS_PEER_WMM: TDLS peer is WMM capable. | ||
4093 | */ | ||
4094 | enum nl80211_tdls_peer_capability { | ||
4095 | NL80211_TDLS_PEER_HT = 1<<0, | ||
4096 | NL80211_TDLS_PEER_VHT = 1<<1, | ||
4097 | NL80211_TDLS_PEER_WMM = 1<<2, | ||
4098 | }; | ||
4099 | |||
4082 | #endif /* __LINUX_NL80211_H */ | 4100 | #endif /* __LINUX_NL80211_H */ |