Start using some defines and helper functions from include/linux/ieee80211.h for parsing frame data. Yet again, this is testing the water. I'd appreciate feedback if this approach makes sense. If so, there's lots of other places that can be converted. Martin Kaiser (4): 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 drivers/staging/r8188eu/core/rtw_mlme_ext.c | 3 +- drivers/staging/r8188eu/core/rtw_recv.c | 40 ++++++------------- drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 2 +- drivers/staging/r8188eu/include/rtw_recv.h | 2 +- drivers/staging/r8188eu/include/wifi.h | 25 ++++++------ 5 files changed, 29 insertions(+), 43 deletions(-) -- 2.30.2