aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-25 15:46:37 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-25 15:46:37 -0400
commit345578d97c549995ddbcc178f16f710602cc06bb (patch)
treece05e39a01ffce847f6f7f65f19b1e8e20dbf0c2 /include/linux/nl80211.h
parentfe2a70eefa18a3e419dd9a23e16af14258b7cc20 (diff)
parentcfef6047c4027a8448ec8dafeaf2bb362cc882e4 (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h34
1 files changed, 30 insertions, 4 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 1832c27c520c..216b1d8a862f 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -410,6 +410,16 @@
410 * notification. This event is used to indicate that an unprotected 410 * notification. This event is used to indicate that an unprotected
411 * disassociation frame was dropped when MFP is in use. 411 * disassociation frame was dropped when MFP is in use.
412 * 412 *
413 * @NL80211_CMD_NEW_PEER_CANDIDATE: Notification on the reception of a
414 * beacon or probe response from a compatible mesh peer. This is only
415 * sent while no station information (sta_info) exists for the new peer
416 * candidate and when @NL80211_MESH_SETUP_USERSPACE_AUTH is set. On
417 * reception of this notification, userspace may decide to create a new
418 * station (@NL80211_CMD_NEW_STATION). To stop this notification from
419 * reoccurring, the userspace authentication daemon may want to create the
420 * new station with the AUTHENTICATED flag unset and maybe change it later
421 * depending on the authentication result.
422 *
413 * @NL80211_CMD_MAX: highest used command number 423 * @NL80211_CMD_MAX: highest used command number
414 * @__NL80211_CMD_AFTER_LAST: internal use 424 * @__NL80211_CMD_AFTER_LAST: internal use
415 */ 425 */
@@ -522,6 +532,8 @@ enum nl80211_commands {
522 NL80211_CMD_UNPROT_DEAUTHENTICATE, 532 NL80211_CMD_UNPROT_DEAUTHENTICATE,
523 NL80211_CMD_UNPROT_DISASSOCIATE, 533 NL80211_CMD_UNPROT_DISASSOCIATE,
524 534
535 NL80211_CMD_NEW_PEER_CANDIDATE,
536
525 /* add new commands above here */ 537 /* add new commands above here */
526 538
527 /* used to define NL80211_CMD_MAX below */ 539 /* used to define NL80211_CMD_MAX below */
@@ -545,6 +557,7 @@ enum nl80211_commands {
545/* source-level API compatibility */ 557/* source-level API compatibility */
546#define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG 558#define NL80211_CMD_GET_MESH_PARAMS NL80211_CMD_GET_MESH_CONFIG
547#define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG 559#define NL80211_CMD_SET_MESH_PARAMS NL80211_CMD_SET_MESH_CONFIG
560#define NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE NL80211_MESH_SETUP_IE
548 561
549/** 562/**
550 * enum nl80211_attrs - nl80211 netlink attributes 563 * enum nl80211_attrs - nl80211 netlink attributes
@@ -886,6 +899,9 @@ enum nl80211_commands {
886 * changed once the mesh is active. 899 * changed once the mesh is active.
887 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute 900 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute
888 * containing attributes from &enum nl80211_meshconf_params. 901 * containing attributes from &enum nl80211_meshconf_params.
902 * @NL80211_ATTR_SUPPORT_MESH_AUTH: Currently, this means the underlying driver
903 * allows auth frames in a mesh to be passed to userspace for processing via
904 * the @NL80211_MESH_SETUP_USERSPACE_AUTH flag.
889 * 905 *
890 * @NL80211_ATTR_MAX: highest attribute number currently defined 906 * @NL80211_ATTR_MAX: highest attribute number currently defined
891 * @__NL80211_ATTR_AFTER_LAST: internal use 907 * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -1074,6 +1090,8 @@ enum nl80211_attrs {
1074 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX, 1090 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_TX,
1075 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX, 1091 NL80211_ATTR_WIPHY_ANTENNA_AVAIL_RX,
1076 1092
1093 NL80211_ATTR_SUPPORT_MESH_AUTH,
1094
1077 /* add attributes here, update the policy in nl80211.c */ 1095 /* add attributes here, update the policy in nl80211.c */
1078 1096
1079 __NL80211_ATTR_AFTER_LAST, 1097 __NL80211_ATTR_AFTER_LAST,
@@ -1168,6 +1186,7 @@ enum nl80211_iftype {
1168 * with short barker preamble 1186 * with short barker preamble
1169 * @NL80211_STA_FLAG_WME: station is WME/QoS capable 1187 * @NL80211_STA_FLAG_WME: station is WME/QoS capable
1170 * @NL80211_STA_FLAG_MFP: station uses management frame protection 1188 * @NL80211_STA_FLAG_MFP: station uses management frame protection
1189 * @NL80211_STA_FLAG_AUTHENTICATED: station is authenticated
1171 * @NL80211_STA_FLAG_MAX: highest station flag number currently defined 1190 * @NL80211_STA_FLAG_MAX: highest station flag number currently defined
1172 * @__NL80211_STA_FLAG_AFTER_LAST: internal use 1191 * @__NL80211_STA_FLAG_AFTER_LAST: internal use
1173 */ 1192 */
@@ -1177,6 +1196,7 @@ enum nl80211_sta_flags {
1177 NL80211_STA_FLAG_SHORT_PREAMBLE, 1196 NL80211_STA_FLAG_SHORT_PREAMBLE,
1178 NL80211_STA_FLAG_WME, 1197 NL80211_STA_FLAG_WME,
1179 NL80211_STA_FLAG_MFP, 1198 NL80211_STA_FLAG_MFP,
1199 NL80211_STA_FLAG_AUTHENTICATED,
1180 1200
1181 /* keep last */ 1201 /* keep last */
1182 __NL80211_STA_FLAG_AFTER_LAST, 1202 __NL80211_STA_FLAG_AFTER_LAST,
@@ -1277,6 +1297,7 @@ enum nl80211_sta_bss_param {
1277 * attribute, like NL80211_STA_INFO_TX_BITRATE. 1297 * attribute, like NL80211_STA_INFO_TX_BITRATE.
1278 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute 1298 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute
1279 * containing info as possible, see &enum nl80211_sta_bss_param 1299 * containing info as possible, see &enum nl80211_sta_bss_param
1300 * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected
1280 * @__NL80211_STA_INFO_AFTER_LAST: internal 1301 * @__NL80211_STA_INFO_AFTER_LAST: internal
1281 * @NL80211_STA_INFO_MAX: highest possible station info attribute 1302 * @NL80211_STA_INFO_MAX: highest possible station info attribute
1282 */ 1303 */
@@ -1297,6 +1318,7 @@ enum nl80211_sta_info {
1297 NL80211_STA_INFO_SIGNAL_AVG, 1318 NL80211_STA_INFO_SIGNAL_AVG,
1298 NL80211_STA_INFO_RX_BITRATE, 1319 NL80211_STA_INFO_RX_BITRATE,
1299 NL80211_STA_INFO_BSS_PARAM, 1320 NL80211_STA_INFO_BSS_PARAM,
1321 NL80211_STA_INFO_CONNECTED_TIME,
1300 1322
1301 /* keep last */ 1323 /* keep last */
1302 __NL80211_STA_INFO_AFTER_LAST, 1324 __NL80211_STA_INFO_AFTER_LAST,
@@ -1719,9 +1741,12 @@ enum nl80211_meshconf_params {
1719 * vendor specific path metric or disable it to use the default Airtime 1741 * vendor specific path metric or disable it to use the default Airtime
1720 * metric. 1742 * metric.
1721 * 1743 *
1722 * @NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE: A vendor specific information 1744 * @NL80211_MESH_SETUP_IE: Information elements for this mesh, for instance, a
1723 * element that vendors will use to identify the path selection methods and 1745 * robust security network ie, or a vendor specific information element that
1724 * metrics in use. 1746 * vendors will use to identify the path selection methods and metrics in use.
1747 *
1748 * @NL80211_MESH_SETUP_USERSPACE_AUTH: Enable this option if an authentication
1749 * daemon will be authenticating mesh candidates.
1725 * 1750 *
1726 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number 1751 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
1727 * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use 1752 * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use
@@ -1730,7 +1755,8 @@ enum nl80211_mesh_setup_params {
1730 __NL80211_MESH_SETUP_INVALID, 1755 __NL80211_MESH_SETUP_INVALID,
1731 NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL, 1756 NL80211_MESH_SETUP_ENABLE_VENDOR_PATH_SEL,
1732 NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC, 1757 NL80211_MESH_SETUP_ENABLE_VENDOR_METRIC,
1733 NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE, 1758 NL80211_MESH_SETUP_IE,
1759 NL80211_MESH_SETUP_USERSPACE_AUTH,
1734 1760
1735 /* keep last */ 1761 /* keep last */
1736 __NL80211_MESH_SETUP_ATTR_AFTER_LAST, 1762 __NL80211_MESH_SETUP_ATTR_AFTER_LAST,