aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h52
1 files changed, 49 insertions, 3 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index ce9af8918514..318fc1f705b1 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -568,6 +568,26 @@ struct ieee80211s_hdr {
568#define MESH_FLAGS_PS_DEEP 0x4 568#define MESH_FLAGS_PS_DEEP 0x4
569 569
570/** 570/**
571 * enum ieee80211_preq_flags - mesh PREQ element flags
572 *
573 * @IEEE80211_PREQ_PROACTIVE_PREP_FLAG: proactive PREP subfield
574 */
575enum ieee80211_preq_flags {
576 IEEE80211_PREQ_PROACTIVE_PREP_FLAG = 1<<2,
577};
578
579/**
580 * enum ieee80211_preq_target_flags - mesh PREQ element per target flags
581 *
582 * @IEEE80211_PREQ_TO_FLAG: target only subfield
583 * @IEEE80211_PREQ_USN_FLAG: unknown target HWMP sequence number subfield
584 */
585enum ieee80211_preq_target_flags {
586 IEEE80211_PREQ_TO_FLAG = 1<<0,
587 IEEE80211_PREQ_USN_FLAG = 1<<2,
588};
589
590/**
571 * struct ieee80211_quiet_ie 591 * struct ieee80211_quiet_ie
572 * 592 *
573 * This structure refers to "Quiet information element" 593 * This structure refers to "Quiet information element"
@@ -1443,7 +1463,7 @@ enum ieee80211_tdls_actioncode {
1443 * 1463 *
1444 * @IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET: the default synchronization method 1464 * @IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET: the default synchronization method
1445 * @IEEE80211_SYNC_METHOD_VENDOR: a vendor specific synchronization method 1465 * @IEEE80211_SYNC_METHOD_VENDOR: a vendor specific synchronization method
1446 * that will be specified in a vendor specific information element 1466 * that will be specified in a vendor specific information element
1447 */ 1467 */
1448enum { 1468enum {
1449 IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1, 1469 IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET = 1,
@@ -1455,7 +1475,7 @@ enum {
1455 * 1475 *
1456 * @IEEE80211_PATH_PROTOCOL_HWMP: the default path selection protocol 1476 * @IEEE80211_PATH_PROTOCOL_HWMP: the default path selection protocol
1457 * @IEEE80211_PATH_PROTOCOL_VENDOR: a vendor specific protocol that will 1477 * @IEEE80211_PATH_PROTOCOL_VENDOR: a vendor specific protocol that will
1458 * be specified in a vendor specific information element 1478 * be specified in a vendor specific information element
1459 */ 1479 */
1460enum { 1480enum {
1461 IEEE80211_PATH_PROTOCOL_HWMP = 1, 1481 IEEE80211_PATH_PROTOCOL_HWMP = 1,
@@ -1467,13 +1487,35 @@ enum {
1467 * 1487 *
1468 * @IEEE80211_PATH_METRIC_AIRTIME: the default path selection metric 1488 * @IEEE80211_PATH_METRIC_AIRTIME: the default path selection metric
1469 * @IEEE80211_PATH_METRIC_VENDOR: a vendor specific metric that will be 1489 * @IEEE80211_PATH_METRIC_VENDOR: a vendor specific metric that will be
1470 * specified in a vendor specific information element 1490 * specified in a vendor specific information element
1471 */ 1491 */
1472enum { 1492enum {
1473 IEEE80211_PATH_METRIC_AIRTIME = 1, 1493 IEEE80211_PATH_METRIC_AIRTIME = 1,
1474 IEEE80211_PATH_METRIC_VENDOR = 255, 1494 IEEE80211_PATH_METRIC_VENDOR = 255,
1475}; 1495};
1476 1496
1497/**
1498 * enum ieee80211_root_mode_identifier - root mesh STA mode identifier
1499 *
1500 * These attribute are used by dot11MeshHWMPRootMode to set root mesh STA mode
1501 *
1502 * @IEEE80211_ROOTMODE_NO_ROOT: the mesh STA is not a root mesh STA (default)
1503 * @IEEE80211_ROOTMODE_ROOT: the mesh STA is a root mesh STA if greater than
1504 * this value
1505 * @IEEE80211_PROACTIVE_PREQ_NO_PREP: the mesh STA is a root mesh STA supports
1506 * the proactive PREQ with proactive PREP subfield set to 0
1507 * @IEEE80211_PROACTIVE_PREQ_WITH_PREP: the mesh STA is a root mesh STA
1508 * supports the proactive PREQ with proactive PREP subfield set to 1
1509 * @IEEE80211_PROACTIVE_RANN: the mesh STA is a root mesh STA supports
1510 * the proactive RANN
1511 */
1512enum ieee80211_root_mode_identifier {
1513 IEEE80211_ROOTMODE_NO_ROOT = 0,
1514 IEEE80211_ROOTMODE_ROOT = 1,
1515 IEEE80211_PROACTIVE_PREQ_NO_PREP = 2,
1516 IEEE80211_PROACTIVE_PREQ_WITH_PREP = 3,
1517 IEEE80211_PROACTIVE_RANN = 4,
1518};
1477 1519
1478/* 1520/*
1479 * IEEE 802.11-2007 7.3.2.9 Country information element 1521 * IEEE 802.11-2007 7.3.2.9 Country information element
@@ -1589,6 +1631,10 @@ enum ieee80211_sa_query_action {
1589 1631
1590#define WLAN_OUI_WFA 0x506f9a 1632#define WLAN_OUI_WFA 0x506f9a
1591#define WLAN_OUI_TYPE_WFA_P2P 9 1633#define WLAN_OUI_TYPE_WFA_P2P 9
1634#define WLAN_OUI_MICROSOFT 0x0050f2
1635#define WLAN_OUI_TYPE_MICROSOFT_WPA 1
1636#define WLAN_OUI_TYPE_MICROSOFT_WMM 2
1637#define WLAN_OUI_TYPE_MICROSOFT_WPS 4
1592 1638
1593/* 1639/*
1594 * WMM/802.11e Tspec Element 1640 * WMM/802.11e Tspec Element