opnsense-src/sys/dev/ath
Bjoern A. Zeeb c5978cd3e4 net80211 / LinuxKPI 802.11: use enum ieee80211_sta_rx_bw for ni_chw
net80211 node ni_chw currently encodes the channel width as Mhz number.
LinuxKPI 802.11 uses enum ieee80211_sta_rx_bw for the same.

Rather than keeping the "20" and "40" throughout the code (eventually
expanded to 80/160/320) switch them over to use the enum throughout.

Once we get to 320Mhz channel widths we would otherwise also need to
extend the uint8_t in struct ieee80211_node; making
enum ieee80211_sta_rx_bw __packed allows us for lots more channel
widths without breaking the KBI.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	adrian
Differential Revision: https://reviews.freebsd.org/D47891

(cherry picked from commit ca389486a9599768e0ba69dca13c208020623083)
(cherry picked from commit 2c8b0d6205f6f98855773e3a82640b50abb2f2f6)
2025-02-10 14:52:08 +00:00
..
ath_dfs/null
ath_hal Fix enum warning in ath_hal's ar9002 2024-10-27 11:53:01 +01:00
ath_rate net80211 / LinuxKPI 802.11: use enum ieee80211_sta_rx_bw for ni_chw 2025-02-10 14:52:08 +00:00
ah_osdep.c
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(4): Fix a typo in a source code comment 2025-01-29 06:56:59 +01:00
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 ath(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:19 +08:00
if_ath_lna_div.h
if_ath_misc.h
if_ath_pci.c ath(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:19 +08:00
if_ath_pci_devlist.h
if_ath_rate.c
if_ath_rx.c
if_ath_rx.h
if_ath_rx_edma.c
if_ath_rx_edma.h
if_ath_spectral.c ath(4): Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:19 +08:00
if_ath_spectral.h
if_ath_sysctl.c
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 net80211 / LinuxKPI 802.11: use enum ieee80211_sta_rx_bw for ni_chw 2025-02-10 14:52:08 +00:00
if_ath_tx_ht.h
if_athdfs.h
if_athioctl.h
if_athrate.h
if_athvar.h ath(4): always enable 11n 2024-04-01 23:46:10 +00:00