aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 5cfa579df476..380421253d16 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -394,6 +394,11 @@
394 * 394 *
395 * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface. 395 * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface.
396 * 396 *
397 * @NL80211_CMD_JOIN_MESH: Join a mesh. The mesh ID must be given, and initial
398 * mesh config parameters may be given.
399 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
400 * network is determined by the network interface.
401 *
397 * @NL80211_CMD_MAX: highest used command number 402 * @NL80211_CMD_MAX: highest used command number
398 * @__NL80211_CMD_AFTER_LAST: internal use 403 * @__NL80211_CMD_AFTER_LAST: internal use
399 */ 404 */
@@ -500,6 +505,9 @@ enum nl80211_commands {
500 505
501 NL80211_CMD_FRAME_WAIT_CANCEL, 506 NL80211_CMD_FRAME_WAIT_CANCEL,
502 507
508 NL80211_CMD_JOIN_MESH,
509 NL80211_CMD_LEAVE_MESH,
510
503 /* add new commands above here */ 511 /* add new commands above here */
504 512
505 /* used to define NL80211_CMD_MAX below */ 513 /* used to define NL80211_CMD_MAX below */
@@ -841,6 +849,8 @@ enum nl80211_commands {
841 * flag isn't set, the frame will be rejected. This is also used as an 849 * flag isn't set, the frame will be rejected. This is also used as an
842 * nl80211 capability flag. 850 * nl80211 capability flag.
843 * 851 *
852 * @NL80211_ATTR_BSS_HTOPMODE: HT operation mode (u16)
853 *
844 * @NL80211_ATTR_MAX: highest attribute number currently defined 854 * @NL80211_ATTR_MAX: highest attribute number currently defined
845 * @__NL80211_ATTR_AFTER_LAST: internal use 855 * @__NL80211_ATTR_AFTER_LAST: internal use
846 */ 856 */
@@ -1017,6 +1027,8 @@ enum nl80211_attrs {
1017 1027
1018 NL80211_ATTR_OFFCHANNEL_TX_OK, 1028 NL80211_ATTR_OFFCHANNEL_TX_OK,
1019 1029
1030 NL80211_ATTR_BSS_HT_OPMODE,
1031
1020 /* add attributes here, update the policy in nl80211.c */ 1032 /* add attributes here, update the policy in nl80211.c */
1021 1033
1022 __NL80211_ATTR_AFTER_LAST, 1034 __NL80211_ATTR_AFTER_LAST,
@@ -1183,6 +1195,7 @@ enum nl80211_rate_info {
1183 * station) 1195 * station)
1184 * @NL80211_STA_INFO_TX_RETRIES: total retries (u32, to this station) 1196 * @NL80211_STA_INFO_TX_RETRIES: total retries (u32, to this station)
1185 * @NL80211_STA_INFO_TX_FAILED: total failed packets (u32, to this station) 1197 * @NL80211_STA_INFO_TX_FAILED: total failed packets (u32, to this station)
1198 * @NL80211_STA_INFO_SIGNAL_AVG: signal strength average (u8, dBm)
1186 */ 1199 */
1187enum nl80211_sta_info { 1200enum nl80211_sta_info {
1188 __NL80211_STA_INFO_INVALID, 1201 __NL80211_STA_INFO_INVALID,
@@ -1198,6 +1211,7 @@ enum nl80211_sta_info {
1198 NL80211_STA_INFO_TX_PACKETS, 1211 NL80211_STA_INFO_TX_PACKETS,
1199 NL80211_STA_INFO_TX_RETRIES, 1212 NL80211_STA_INFO_TX_RETRIES,
1200 NL80211_STA_INFO_TX_FAILED, 1213 NL80211_STA_INFO_TX_FAILED,
1214 NL80211_STA_INFO_SIGNAL_AVG,
1201 1215
1202 /* keep last */ 1216 /* keep last */
1203 __NL80211_STA_INFO_AFTER_LAST, 1217 __NL80211_STA_INFO_AFTER_LAST,
@@ -1547,6 +1561,9 @@ enum nl80211_mntr_flags {
1547 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh 1561 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh
1548 * point. 1562 * point.
1549 * 1563 *
1564 * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a
1565 * source mesh point for path selection elements.
1566 *
1550 * @NL80211_MESHCONF_AUTO_OPEN_PLINKS: whether we should automatically 1567 * @NL80211_MESHCONF_AUTO_OPEN_PLINKS: whether we should automatically
1551 * open peer links when we detect compatible mesh peers. 1568 * open peer links when we detect compatible mesh peers.
1552 * 1569 *
@@ -1593,6 +1610,7 @@ enum nl80211_meshconf_params {
1593 NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL, 1610 NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL,
1594 NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME, 1611 NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME,
1595 NL80211_MESHCONF_HWMP_ROOTMODE, 1612 NL80211_MESHCONF_HWMP_ROOTMODE,
1613 NL80211_MESHCONF_ELEMENT_TTL,
1596 1614
1597 /* keep last */ 1615 /* keep last */
1598 __NL80211_MESHCONF_ATTR_AFTER_LAST, 1616 __NL80211_MESHCONF_ATTR_AFTER_LAST,