rtl8723au: Cleanup some more things in headers

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Convert rtw_recv.c to use ieee80211 macros instead of GetFrameType/GetFrameSubType

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_wlan_util.c use ieee80211_is_beacon() instead of own hack

In addition this fixes a bug where the test for beacon would always
fail, since WIFI_BEACON is defined for frame_control not being shifted
as this:

WIFI_BEACON         = (BIT(7) | WIFI_MGT_TYPE)

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
More conversions to use ieee80211 macros

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove debug info that was left behind from a previous commit

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Convert to using ieee80211 macros

Note the old code would incorrectly shift the frame sub type for the
IEEE80211_STYPE_QOS_DATA_* checks, and in theory allow CTL and MGMT
frames to be mis interpreted if there were ever passed here.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_p2p.c Use ieee80211 macros to check frame type

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_mlme_ext.c partial conversion to ieee80211 functions for frame type handling

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove obsolete IsFrameTypeCtrl() function

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>