提交 558a6669 编写于 作者: K Kalle Valo 提交者: John W. Linville

ieee80211: add struct ieee80211_hdr_qos

The header can be used to create qos nullfunc frames, for example.
Signed-off-by: NKalle Valo <kalle.valo@nokia.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 0c74211d
...@@ -157,6 +157,16 @@ struct ieee80211_hdr_3addr { ...@@ -157,6 +157,16 @@ struct ieee80211_hdr_3addr {
__le16 seq_ctrl; __le16 seq_ctrl;
} __attribute__ ((packed)); } __attribute__ ((packed));
struct ieee80211_qos_hdr {
__le16 frame_control;
__le16 duration_id;
u8 addr1[6];
u8 addr2[6];
u8 addr3[6];
__le16 seq_ctrl;
__le16 qos_ctrl;
} __attribute__ ((packed));
/** /**
* ieee80211_has_tods - check if IEEE80211_FCTL_TODS is set * ieee80211_has_tods - check if IEEE80211_FCTL_TODS is set
* @fc: frame control bytes in little-endian byteorder * @fc: frame control bytes in little-endian byteorder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册