opnsense-src/sys/dev/rtwn/rtl8812a
Adrian Chadd 9efd215411 rtwn: create a new HAL routine for enabling STA mode beacon processing
For some NICs (notably the rtl8192cu that I'm working on) the
firmware rate adaptation requires beacon processing to be enabled.

Instead of making assumptions in the if_rtwn beacon routines (and
honestly all of that should be in the HAL too), create a HAL method
for enabling/disabling beacon processing specifically in STA mode.

Since this isn't necessarily required for all NICs (notably the RTL8188E
NICs, where some will do firmware rate control and some will require
driver rate control), only enable it for the RTL8192CU and RT8192EU.

The RTL8188E and RTL8812/RTL8821 just have no-op routines for now.

Locally tested:

* RTL8192CU, STA mode

Differential Revision:	https://reviews.freebsd.org/D48066
Reviewed by:	bz
2024-12-20 12:40:19 -08:00
..
usb rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
r12a.h rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
r12a_beacon.c rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
r12a_calib.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_caps.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_chan.c rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates 2024-12-18 15:48:10 -08:00
r12a_fw.c rtwn: fix rtl8812/rtl8821 vht definitions, add VHT calibration/rate control 2024-12-04 23:26:49 -08:00
r12a_fw_cmd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r12a_init.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_led.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_priv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r12a_reg.h rtwn: add tx power training for RTL8812/RTL8821 2024-12-18 11:31:18 -08:00
r12a_rf.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_rom.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r12a_rom_defs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r12a_rom_image.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r12a_rx.c rtwn: update RTL8812AU/RTL8821AU receive path to include VHT info 2024-12-13 18:17:40 -08:00
r12a_rx_desc.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r12a_tx.c rtwn: expand the ridx numbers to include VHT; add accessor macros 2024-12-06 23:13:50 -08:00
r12a_tx_desc.h rtwn: fix rtl8812/rtl8821 vht definitions, add VHT calibration/rate control 2024-12-04 23:26:49 -08:00
r12a_var.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00