diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2010-01-12 03:43:00 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:21:03 -0500 |
commit | 558a6669d7cb407fbb0b5aec184b5c3b9a893d30 (patch) | |
tree | 5be22dc7335a7548e77ef813d1b8962697c43fb3 /include/linux | |
parent | 0c74211d19d83729c209ddcd4dc026c2aedeb29e (diff) |
ieee80211: add struct ieee80211_hdr_qos
The header can be used to create qos nullfunc frames, for example.
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ieee80211.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index a8c6069a0d9f..842701906ae9 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -157,6 +157,16 @@ struct ieee80211_hdr_3addr { | |||
157 | __le16 seq_ctrl; | 157 | __le16 seq_ctrl; |
158 | } __attribute__ ((packed)); | 158 | } __attribute__ ((packed)); |
159 | 159 | ||
160 | struct ieee80211_qos_hdr { | ||
161 | __le16 frame_control; | ||
162 | __le16 duration_id; | ||
163 | u8 addr1[6]; | ||
164 | u8 addr2[6]; | ||
165 | u8 addr3[6]; | ||
166 | __le16 seq_ctrl; | ||
167 | __le16 qos_ctrl; | ||
168 | } __attribute__ ((packed)); | ||
169 | |||
160 | /** | 170 | /** |
161 | * ieee80211_has_tods - check if IEEE80211_FCTL_TODS is set | 171 | * ieee80211_has_tods - check if IEEE80211_FCTL_TODS is set |
162 | * @fc: frame control bytes in little-endian byteorder | 172 | * @fc: frame control bytes in little-endian byteorder |