diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 598db7cbeb44..74e79935de0a 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/types.h> | 23 | #include <linux/types.h> |
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/etherdevice.h> | 25 | #include <linux/etherdevice.h> |
26 | #include <net/ieee80211_radiotap.h> | ||
26 | #include <net/cfg80211.h> | 27 | #include <net/cfg80211.h> |
27 | #include <net/mac80211.h> | 28 | #include <net/mac80211.h> |
28 | #include "key.h" | 29 | #include "key.h" |
@@ -948,6 +949,18 @@ netdev_tx_t ieee80211_monitor_start_xmit(struct sk_buff *skb, | |||
948 | netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, | 949 | netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, |
949 | struct net_device *dev); | 950 | struct net_device *dev); |
950 | 951 | ||
952 | /* | ||
953 | * radiotap header for status frames | ||
954 | */ | ||
955 | struct ieee80211_tx_status_rtap_hdr { | ||
956 | struct ieee80211_radiotap_header hdr; | ||
957 | u8 rate; | ||
958 | u8 padding_for_rate; | ||
959 | __le16 tx_flags; | ||
960 | u8 data_retries; | ||
961 | } __attribute__ ((packed)); | ||
962 | |||
963 | |||
951 | /* HT */ | 964 | /* HT */ |
952 | void ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_supported_band *sband, | 965 | void ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_supported_band *sband, |
953 | struct ieee80211_ht_cap *ht_cap_ie, | 966 | struct ieee80211_ht_cap *ht_cap_ie, |