Start using some defines and helper functions from include/linux/ieee80211.h for parsing frame data. v2: - resend the previous set, it seems that it slipped through the cracks - add some more patches to replace driver-specific macros with ieee80211 macros Martin Kaiser (8): staging: r8188eu: use ieee80211 define for management frame type staging: r8188eu: use ieee80211 helpers to check the frame type staging: r8188eu: refactor validate_recv_frame's error handling staging: r8188eu: use ieee80211 helper for qos bit staging: r8188eu: use ieee80211 helper to check for more fragments staging: r8188eu: use ieee80211 helper to read "more data" staging: r8188eu: use ieee80211 helper to read the protected bit staging: r8188eu: use ieee80211 helper to read the "order" bit drivers/staging/r8188eu/core/rtw_mlme_ext.c | 3 +- drivers/staging/r8188eu/core/rtw_recv.c | 48 +++++++------------ drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 2 +- drivers/staging/r8188eu/include/rtw_recv.h | 2 +- drivers/staging/r8188eu/include/wifi.h | 32 +++++-------- 5 files changed, 33 insertions(+), 54 deletions(-) -- 2.30.2