aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2014-11-04 16:18:12 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-11-04 16:18:12 -0500
commitbf515fb11ab539c76d04f0e3c5216ed41f41d81f (patch)
tree6aaa226c2a40f90a649561b4a5bb0d1772b20bf1 /include/uapi
parent6bc6c49f1e2f3ab1bec05d1c08aad219ab4eb5d0 (diff)
parentcf2c92d840c1424bcb3bb501147c79c9b067ad77 (diff)
Merge tag 'mac80211-next-for-john-2014-11-04' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Johannes Berg <johannes@sipsolutions.net> says: "This relatively large batch of changes is comprised of the following: * large mac80211-hwsim changes from Ben, Jukka and a bit myself * OCB/WAVE/11p support from Rostislav on behalf of the Czech Technical University in Prague and Volkswagen Group Research * minstrel VHT work from Karl * more CSA work from Luca * WMM admission control support in mac80211 (myself) * various smaller fixes, spelling corrections, and minor API additions" Conflicts: drivers/net/wireless/ath/wil6210/cfg80211.c Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index 4b28dc07bcb1..9b3025e4377a 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -227,7 +227,11 @@
227 * the interface identified by %NL80211_ATTR_IFINDEX. 227 * the interface identified by %NL80211_ATTR_IFINDEX.
228 * @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC 228 * @NL80211_CMD_DEL_STATION: Remove a station identified by %NL80211_ATTR_MAC
229 * or, if no MAC address given, all stations, on the interface identified 229 * or, if no MAC address given, all stations, on the interface identified
230 * by %NL80211_ATTR_IFINDEX. 230 * by %NL80211_ATTR_IFINDEX. %NL80211_ATTR_MGMT_SUBTYPE and
231 * %NL80211_ATTR_REASON_CODE can optionally be used to specify which type
232 * of disconnection indication should be sent to the station
233 * (Deauthentication or Disassociation frame and reason code for that
234 * frame).
231 * 235 *
232 * @NL80211_CMD_GET_MPATH: Get mesh path attributes for mesh path to 236 * @NL80211_CMD_GET_MPATH: Get mesh path attributes for mesh path to
233 * destination %NL80211_ATTR_MAC on the interface identified by 237 * destination %NL80211_ATTR_MAC on the interface identified by
@@ -738,6 +742,15 @@
738 * before removing a station entry entirely, or before disassociating 742 * before removing a station entry entirely, or before disassociating
739 * or similar, cleanup will happen in the driver/device in this case. 743 * or similar, cleanup will happen in the driver/device in this case.
740 * 744 *
745 * @NL80211_CMD_GET_MPP: Get mesh path attributes for mesh proxy path to
746 * destination %NL80211_ATTR_MAC on the interface identified by
747 * %NL80211_ATTR_IFINDEX.
748 *
749 * @NL80211_CMD_JOIN_OCB: Join the OCB network. The center frequency and
750 * bandwidth of a channel must be given.
751 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
752 * network is determined by the network interface.
753 *
741 * @NL80211_CMD_MAX: highest used command number 754 * @NL80211_CMD_MAX: highest used command number
742 * @__NL80211_CMD_AFTER_LAST: internal use 755 * @__NL80211_CMD_AFTER_LAST: internal use
743 */ 756 */
@@ -912,6 +925,11 @@ enum nl80211_commands {
912 NL80211_CMD_ADD_TX_TS, 925 NL80211_CMD_ADD_TX_TS,
913 NL80211_CMD_DEL_TX_TS, 926 NL80211_CMD_DEL_TX_TS,
914 927
928 NL80211_CMD_GET_MPP,
929
930 NL80211_CMD_JOIN_OCB,
931 NL80211_CMD_LEAVE_OCB,
932
915 /* add new commands above here */ 933 /* add new commands above here */
916 934
917 /* used to define NL80211_CMD_MAX below */ 935 /* used to define NL80211_CMD_MAX below */
@@ -2064,6 +2082,8 @@ enum nl80211_attrs {
2064 * and therefore can't be created in the normal ways, use the 2082 * and therefore can't be created in the normal ways, use the
2065 * %NL80211_CMD_START_P2P_DEVICE and %NL80211_CMD_STOP_P2P_DEVICE 2083 * %NL80211_CMD_START_P2P_DEVICE and %NL80211_CMD_STOP_P2P_DEVICE
2066 * commands to create and destroy one 2084 * commands to create and destroy one
2085 * @NL80211_IF_TYPE_OCB: Outside Context of a BSS
2086 * This mode corresponds to the MIB variable dot11OCBActivated=true
2067 * @NL80211_IFTYPE_MAX: highest interface type number currently defined 2087 * @NL80211_IFTYPE_MAX: highest interface type number currently defined
2068 * @NUM_NL80211_IFTYPES: number of defined interface types 2088 * @NUM_NL80211_IFTYPES: number of defined interface types
2069 * 2089 *
@@ -2083,6 +2103,7 @@ enum nl80211_iftype {
2083 NL80211_IFTYPE_P2P_CLIENT, 2103 NL80211_IFTYPE_P2P_CLIENT,
2084 NL80211_IFTYPE_P2P_GO, 2104 NL80211_IFTYPE_P2P_GO,
2085 NL80211_IFTYPE_P2P_DEVICE, 2105 NL80211_IFTYPE_P2P_DEVICE,
2106 NL80211_IFTYPE_OCB,
2086 2107
2087 /* keep last */ 2108 /* keep last */
2088 NUM_NL80211_IFTYPES, 2109 NUM_NL80211_IFTYPES,
@@ -4042,6 +4063,13 @@ enum nl80211_ap_sme_features {
4042 * multiplexing powersave, ie. can turn off all but one chain 4063 * multiplexing powersave, ie. can turn off all but one chain
4043 * and then wake the rest up as required after, for example, 4064 * and then wake the rest up as required after, for example,
4044 * rts/cts handshake. 4065 * rts/cts handshake.
4066 * @NL80211_FEATURE_SUPPORTS_WMM_ADMISSION: the device supports setting up WMM
4067 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
4068 * command. Standard IEEE 802.11 TSPEC setup is not yet supported, it
4069 * needs to be able to handle Block-Ack agreements and other things.
4070 * @NL80211_FEATURE_MAC_ON_CREATE: Device supports configuring
4071 * the vif's MAC address upon creation.
4072 * See 'macaddr' field in the vif_params (cfg80211.h).
4045 */ 4073 */
4046enum nl80211_feature_flags { 4074enum nl80211_feature_flags {
4047 NL80211_FEATURE_SK_TX_STATUS = 1 << 0, 4075 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -4070,6 +4098,8 @@ enum nl80211_feature_flags {
4070 NL80211_FEATURE_ACKTO_ESTIMATION = 1 << 23, 4098 NL80211_FEATURE_ACKTO_ESTIMATION = 1 << 23,
4071 NL80211_FEATURE_STATIC_SMPS = 1 << 24, 4099 NL80211_FEATURE_STATIC_SMPS = 1 << 24,
4072 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25, 4100 NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
4101 NL80211_FEATURE_SUPPORTS_WMM_ADMISSION = 1 << 26,
4102 NL80211_FEATURE_MAC_ON_CREATE = 1 << 27,
4073}; 4103};
4074 4104
4075/** 4105/**