opnsense-src/sys/dev/rtwn/rtl8812a
Adrian Chadd 64ecfc27db rtwn: add forcerate flag to TX descriptor setup
When doing firmware rate control there will be situations where
the rate being passed in needs to actually override the rate
control selection.  So add a flag to the descriptor setup path
to indicate that indeed this particular rate should be forced,
rather than rely on the firmware rate control.

This is currently a no-op as firmware rate control isn't working
in-tree, but it is working for me locally with other changes.
Without this, there's no way to force low rates for management,
DHCP traffic, and to allow fixed rate via "ifconfig wlanX ucastrate Y"
to function.

Locally tested:

* RTL8192CU, STA mode (firmware and driver/net80211 rate control)

Differential Revision:	https://reviews.freebsd.org/D48100
Reviewed by:	bz, gavin
2025-01-02 17:24:01 -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: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -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: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -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