opnsense-src/sys/dev/ath
Adrian Chadd 41137b0604 [ath_hal] [ath_hal_ar9300] Fix endian macros to work in and out of kernel tree.
Yes, people shouldn't use bitfields in C for structure parsing.
If someone ever wants a cleanup task then it'd be great to remove them
from this vendor code and other places in the ar9285/ar9287 HALs.

Alas, here we are.

AH_BYTE_ORDER wasn't defined and neither were the two values it could be.
So when compiling ath_ee_print_9300 it'd default to the big endian struct
layout and get a WHOLE lot of stuff wrong.

So:

* move AH_BYTE_ORDER into ath_hal/ah.h where it can be used by everyone.
* ensure that AH_BYTE_ORDER is actually defined before using it!

This should work on both big and little endian platforms.
2020-05-12 02:20:27 +00:00
..
ath_dfs/null
ath_hal [ath_hal] [ath_hal_ar9300] Fix endian macros to work in and out of kernel tree. 2020-05-12 02:20:27 +00:00
ath_rate Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (7 of many) 2020-02-21 16:32:17 +00:00
ah_osdep.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (7 of many) 2020-02-21 16:32:17 +00:00
ah_osdep.h
ah_osdep_ar5210.c
ah_osdep_ar5211.c
ah_osdep_ar5212.c
ah_osdep_ar5416.c
ah_osdep_ar9300.c
if_ath.c [ath] Attempt to fix epoch handling. 2020-02-20 07:12:43 +00:00
if_ath_ahb.c
if_ath_alq.c
if_ath_alq.h
if_ath_beacon.c
if_ath_beacon.h
if_ath_btcoex.c
if_ath_btcoex.h
if_ath_btcoex_mci.c
if_ath_btcoex_mci.h
if_ath_debug.c
if_ath_debug.h
if_ath_descdma.c
if_ath_descdma.h
if_ath_dfs.c
if_ath_drv.c
if_ath_ioctl.c
if_ath_ioctl.h
if_ath_keycache.c
if_ath_keycache.h
if_ath_led.c
if_ath_led.h
if_ath_lna_div.c
if_ath_lna_div.h
if_ath_misc.h
if_ath_pci.c
if_ath_pci_devlist.h
if_ath_rate.c
if_ath_rx.c [ath] Attempt to fix epoch handling. 2020-02-20 07:12:43 +00:00
if_ath_rx.h
if_ath_rx_edma.c [ath] Attempt to fix epoch handling. 2020-02-20 07:12:43 +00:00
if_ath_rx_edma.h
if_ath_spectral.c
if_ath_spectral.h
if_ath_sysctl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (7 of many) 2020-02-21 16:32:17 +00:00
if_ath_sysctl.h
if_ath_tdma.c
if_ath_tdma.h
if_ath_tsf.h
if_ath_tx.c
if_ath_tx.h
if_ath_tx_edma.c
if_ath_tx_edma.h
if_ath_tx_ht.c
if_ath_tx_ht.h
if_athdfs.h
if_athioctl.h
if_athrate.h
if_athvar.h