freebsd-dev/sys/dev/bwn
Bjoern A. Zeeb fe5ebb23cc Provide MS() and SM() macros for 80211 and wireless drivers.
We have (two versions) of MS() and SM() macros which we use throughout
the wireless code.  Change all but three places (ath_hal, rtwn, and rsu)
to the newly provided _IEEE80211_MASKSHIFT() and _IEEE80211_SHIFTMASK()
macros.  Also change one internal case using both _S and _M instead of
just _S away from _M (one of the reasons rtwn and rsu were not changed).

This was done semi-mechanically.  No functional changes intended.

Requested by:	gnn (D26091)
Reviewed by:	adrian (pre line wrap)
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC (d/b/a "Netgate")
Differential Revision:	https://reviews.freebsd.org/D26539
2020-09-24 10:57:39 +00:00
..
if_bwn_cordic.h
if_bwn_debug.h
if_bwn_misc.h
if_bwn_pci.c bwn: clean up empty lines in .c and .h files 2020-09-01 21:43:48 +00:00
if_bwn_pcivar.h bwn: clean up empty lines in .c and .h files 2020-09-01 21:43:48 +00:00
if_bwn_phy_common.c
if_bwn_phy_common.h
if_bwn_phy_g.c bwn: clean up empty lines in .c and .h files 2020-09-01 21:43:48 +00:00
if_bwn_phy_g.h
if_bwn_phy_lp.c
if_bwn_phy_lp.h
if_bwn_phy_n.c
if_bwn_phy_n.h
if_bwn_util.c
if_bwn_util.h
if_bwn.c Provide MS() and SM() macros for 80211 and wireless drivers. 2020-09-24 10:57:39 +00:00
if_bwnreg.h
if_bwnvar.h bwn: clean up empty lines in .c and .h files 2020-09-01 21:43:48 +00:00