Cleanup more header files

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Fix build for < 3.14

It doesn't work to #ifdef against an enum value

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

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_recv.c: Use ieee80211_hdr struct to obtain ether address pointers

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_recv.c: Use ether_addr_copy()

In addition add < 3.14 compat function

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_recv.c: use ether_addr_equal()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
More conversion to ether_addr_copy()/ether_addr_equal()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Avoid unnecessary initialize to NULL

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
ieee80211-ify parts of ioctl_cfg80211.c

This also fixes a case of hardcoded flag checking which wasn't byte
order safe.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Further conversion to using ieee80211_hdr definitions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Make process_p2p_provdisc_req() readable.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove last GetAddr*() macro usage from rtw_p2p.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Don't cast struct rtw_adapter * to u8 * and back for no reason

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Various de-spaghettification

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
rtw_wlan_util.c: Use ieee80211_hdr to find addresses

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
ioctl_cfg80211.c: Get rid of some more hard coded address pointer calculations

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove last GetAddr*Ptr() usage from rtw_mlme_ext.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove last usage of ugly GetAddr*Ptr() macros

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Convert rtw_recv.c to use ieee80211 macros instead of GetFrameType/GetFrameSubType

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Merge branch 'kernel_version' of http://github.com/lwfinger/rtl8723au into kernel_version

Conflicts:
	include/rtw_security.h