diff options
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 333d3ae76883..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 */ |
648 | struct ieee80211_rts { | 651 | struct ieee80211_rts { |
@@ -737,6 +740,21 @@ 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 | ||
743 | /* block-ack parameters */ | ||
744 | #define IEEE80211_ADDBA_PARAM_POLICY_MASK 0x0002 | ||
745 | #define IEEE80211_ADDBA_PARAM_TID_MASK 0x003C | ||
746 | #define IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 0xFFA0 | ||
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 | |||
740 | /* Spatial Multiplexing Power Save Modes */ | 758 | /* Spatial Multiplexing Power Save Modes */ |
741 | #define WLAN_HT_CAP_SM_PS_STATIC 0 | 759 | #define WLAN_HT_CAP_SM_PS_STATIC 0 |
742 | #define WLAN_HT_CAP_SM_PS_DYNAMIC 1 | 760 | #define WLAN_HT_CAP_SM_PS_DYNAMIC 1 |