mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 23:48:56 -04:00
staging: rtl8723au: wifi.h: Get rid of last ugly frame_control manipulation macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cade4108a8
commit
33a46422a0
@@ -23,12 +23,6 @@
|
||||
*/
|
||||
#define WiFiNavUpperUs 30000 /* 30 ms */
|
||||
|
||||
#define SetToDs(pbuf) \
|
||||
(*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_TODS))
|
||||
|
||||
#define SetFrDs(pbuf) \
|
||||
(*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_FROMDS))
|
||||
|
||||
#define _ASOCREQ_IE_OFFSET_ 4 /* excluding wlan_hdr */
|
||||
#define _ASOCRSP_IE_OFFSET_ 6
|
||||
#define _REASOCREQ_IE_OFFSET_ 10
|
||||
|
||||
Reference in New Issue
Block a user