aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-11 18:46:02 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-11 18:46:02 -0400
commitc65570503716015110350ba1c52a04156df3a455 (patch)
treeeda3dbe423a85a6bd07aba954f52d2fc6fa4336d /include
parent638266f7e879e34de4a4635049c15f5a58505e75 (diff)
parent0112c9e9e8d47f1d1e6ce1323675cb43ca6aae86 (diff)
Merge branch 'master' 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.h30
-rw-r--r--include/net/mac80211.h2
2 files changed, 25 insertions, 7 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index be456450cd2e..abc1abc63bf0 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -643,6 +643,9 @@ struct ieee80211_mgmt {
643 } u; 643 } u;
644} __attribute__ ((packed)); 644} __attribute__ ((packed));
645 645
646/* mgmt header + 1 byte category code */
647#define IEEE80211_MIN_ACTION_SIZE offsetof(struct ieee80211_mgmt, u.action.u)
648
646 649
647/* Control frames */ 650/* Control frames */
648struct ieee80211_rts { 651struct ieee80211_rts {
@@ -708,7 +711,7 @@ struct ieee80211_ht_addt_info {
708 711
709/* 802.11n HT capabilities masks */ 712/* 802.11n HT capabilities masks */
710#define IEEE80211_HT_CAP_SUP_WIDTH 0x0002 713#define IEEE80211_HT_CAP_SUP_WIDTH 0x0002
711#define IEEE80211_HT_CAP_MIMO_PS 0x000C 714#define IEEE80211_HT_CAP_SM_PS 0x000C
712#define IEEE80211_HT_CAP_GRN_FLD 0x0010 715#define IEEE80211_HT_CAP_GRN_FLD 0x0010
713#define IEEE80211_HT_CAP_SGI_20 0x0020 716#define IEEE80211_HT_CAP_SGI_20 0x0020
714#define IEEE80211_HT_CAP_SGI_40 0x0040 717#define IEEE80211_HT_CAP_SGI_40 0x0040
@@ -737,11 +740,26 @@ struct ieee80211_ht_addt_info {
737#define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004 740#define IEEE80211_HT_IE_NON_GF_STA_PRSNT 0x0004
738#define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010 741#define IEEE80211_HT_IE_NON_HT_STA_PRSNT 0x0010
739 742
740/* MIMO Power Save Modes */ 743/* block-ack parameters */
741#define WLAN_HT_CAP_MIMO_PS_STATIC 0 744#define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002
742#define WLAN_HT_CAP_MIMO_PS_DYNAMIC 1 745#define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C
743#define WLAN_HT_CAP_MIMO_PS_INVALID 2 746#define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0
744#define WLAN_HT_CAP_MIMO_PS_DISABLED 3 747#define IEEE80211_DELBA_PARAM_TID_MASK 0xF000
748#define IEEE80211_DELBA_PARAM_INITIATOR_MASK 0x0800
749
750/*
751 * A-PMDU buffer sizes
752 * According to IEEE802.11n spec size varies from 8K to 64K (in powers of 2)
753 */
754#define IEEE80211_MIN_AMPDU_BUF 0x8
755#define IEEE80211_MAX_AMPDU_BUF 0x40
756
757
758/* Spatial Multiplexing Power Save Modes */
759#define WLAN_HT_CAP_SM_PS_STATIC 0
760#define WLAN_HT_CAP_SM_PS_DYNAMIC 1
761#define WLAN_HT_CAP_SM_PS_INVALID 2
762#define WLAN_HT_CAP_SM_PS_DISABLED 3
745 763
746/* Authentication algorithms */ 764/* Authentication algorithms */
747#define WLAN_AUTH_OPEN 0 765#define WLAN_AUTH_OPEN 0
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 7c399a9c11da..fb9e62211c34 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1142,7 +1142,7 @@ enum ieee80211_ampdu_mlme_action {
1142 * of assocaited station or AP. 1142 * of assocaited station or AP.
1143 * 1143 *
1144 * @conf_tx: Configure TX queue parameters (EDCF (aifs, cw_min, cw_max), 1144 * @conf_tx: Configure TX queue parameters (EDCF (aifs, cw_min, cw_max),
1145 * bursting) for a hardware TX queue. Must be atomic. 1145 * bursting) for a hardware TX queue.
1146 * 1146 *
1147 * @get_tx_stats: Get statistics of the current TX queue status. This is used 1147 * @get_tx_stats: Get statistics of the current TX queue status. This is used
1148 * to get number of currently queued packets (queue length), maximum queue 1148 * to get number of currently queued packets (queue length), maximum queue