opnsense-src/sys/dev/rtwn/rtl8188e
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
..
pci rtwn: create a new HAL routine for enabling STA mode beacon processing 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
r88e.h rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
r88e_beacon.c rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
r88e_calib.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_chan.c rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips 2024-12-18 15:46:15 -08:00
r88e_fw.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_fw_cmd.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r88e_init.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_led.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_priv.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r88e_reg.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r88e_rf.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_rom.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_rom_defs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r88e_rom_image.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
r88e_rx.c rtwn: expand the ridx numbers to include VHT; add accessor macros 2024-12-06 23:13:50 -08:00
r88e_rx_desc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r88e_tx.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r88e_tx_desc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00