aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-07-05 21:22:39 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-05 21:22:39 -0400
commit994635a137f637466d36a7c6272dae014a46a11c (patch)
tree7699d4fd6d1cbb3827d116bfbada1b9f84ed6f6c /include
parent7d09926d1decb658d4e24f70216b6b0b74168026 (diff)
parentdf2cbe40753dc36af294c30209ed909869aca6cf (diff)
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h18
-rw-r--r--include/net/cfg80211.h2
-rw-r--r--include/net/mac80211.h2
3 files changed, 16 insertions, 6 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index bf56b6f78270..a26108e4d924 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -117,8 +117,19 @@
117#define IEEE80211_MAX_MESH_ID_LEN 32 117#define IEEE80211_MAX_MESH_ID_LEN 32
118 118
119#define IEEE80211_QOS_CTL_LEN 2 119#define IEEE80211_QOS_CTL_LEN 2
120#define IEEE80211_QOS_CTL_TID_MASK 0x000F 120/* 1d tag mask */
121#define IEEE80211_QOS_CTL_TAG1D_MASK 0x0007 121#define IEEE80211_QOS_CTL_TAG1D_MASK 0x0007
122/* TID mask */
123#define IEEE80211_QOS_CTL_TID_MASK 0x000f
124/* EOSP */
125#define IEEE80211_QOS_CTL_EOSP 0x0010
126/* ACK policy */
127#define IEEE80211_QOS_CTL_ACK_POLICY_NORMAL 0x0000
128#define IEEE80211_QOS_CTL_ACK_POLICY_NOACK 0x0020
129#define IEEE80211_QOS_CTL_ACK_POLICY_NO_EXPL 0x0040
130#define IEEE80211_QOS_CTL_ACK_POLICY_BLOCKACK 0x0060
131/* A-MSDU 802.11n */
132#define IEEE80211_QOS_CTL_A_MSDU_PRESENT 0x0080
122 133
123/* U-APSD queue for WMM IEs sent by AP */ 134/* U-APSD queue for WMM IEs sent by AP */
124#define IEEE80211_WMM_IE_AP_QOSINFO_UAPSD (1<<7) 135#define IEEE80211_WMM_IE_AP_QOSINFO_UAPSD (1<<7)
@@ -1423,9 +1434,6 @@ enum ieee80211_sa_query_action {
1423}; 1434};
1424 1435
1425 1436
1426/* A-MSDU 802.11n */
1427#define IEEE80211_QOS_CONTROL_A_MSDU_PRESENT 0x0080
1428
1429/* cipher suite selectors */ 1437/* cipher suite selectors */
1430#define WLAN_CIPHER_SUITE_USE_GROUP 0x000FAC00 1438#define WLAN_CIPHER_SUITE_USE_GROUP 0x000FAC00
1431#define WLAN_CIPHER_SUITE_WEP40 0x000FAC01 1439#define WLAN_CIPHER_SUITE_WEP40 0x000FAC01
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 6cb2543a2ee1..7202bce7bfeb 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -2697,7 +2697,7 @@ void cfg80211_send_unprot_disassoc(struct net_device *dev, const u8 *buf,
2697 * @dev: network device 2697 * @dev: network device
2698 * @addr: The source MAC address of the frame 2698 * @addr: The source MAC address of the frame
2699 * @key_type: The key type that the received frame used 2699 * @key_type: The key type that the received frame used
2700 * @key_id: Key identifier (0..3) 2700 * @key_id: Key identifier (0..3). Can be -1 if missing.
2701 * @tsc: The TSC value of the frame that generated the MIC failure (6 octets) 2701 * @tsc: The TSC value of the frame that generated the MIC failure (6 octets)
2702 * @gfp: allocation flags 2702 * @gfp: allocation flags
2703 * 2703 *
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 120f102814b6..c9def42c1286 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -933,6 +933,7 @@ enum set_key_cmd {
933 * @aid: AID we assigned to the station if we're an AP 933 * @aid: AID we assigned to the station if we're an AP
934 * @supp_rates: Bitmap of supported rates (per band) 934 * @supp_rates: Bitmap of supported rates (per band)
935 * @ht_cap: HT capabilities of this STA; restricted to our own TX capabilities 935 * @ht_cap: HT capabilities of this STA; restricted to our own TX capabilities
936 * @wme: indicates whether the STA supports WME. Only valid during AP-mode.
936 * @drv_priv: data area for driver use, will always be aligned to 937 * @drv_priv: data area for driver use, will always be aligned to
937 * sizeof(void *), size is determined in hw information. 938 * sizeof(void *), size is determined in hw information.
938 */ 939 */
@@ -941,6 +942,7 @@ struct ieee80211_sta {
941 u8 addr[ETH_ALEN]; 942 u8 addr[ETH_ALEN];
942 u16 aid; 943 u16 aid;
943 struct ieee80211_sta_ht_cap ht_cap; 944 struct ieee80211_sta_ht_cap ht_cap;
945 bool wme;
944 946
945 /* must be last */ 947 /* must be last */
946 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *)))); 948 u8 drv_priv[0] __attribute__((__aligned__(sizeof(void *))));