opnsense-src/sys/dev/rtwn
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
..
pci rtwn: add placeholder for the per-MACID rate report 2024-12-06 16:22:47 -08:00
rtl8188e rtwn: fix builds on non-x86 platforms 2024-12-31 14:45:52 -08:00
rtl8192c rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00
rtl8192e rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
rtl8812a rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00
rtl8821a rtwn: create a new HAL routine for enabling STA mode beacon processing 2024-12-20 12:40:19 -08:00
usb rtwn: bump up the RX USB buffers 2024-12-18 15:47:37 -08:00
if_rtwn.c rtwn: enable VHT if it's configured in the device 2025-01-02 17:18:16 -08:00
if_rtwn_beacon.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_rtwn_beacon.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_calib.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_rtwn_calib.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_cam.c net80211: migrate the group/unicast key check into inline functions 2024-07-15 11:45:30 -07:00
if_rtwn_cam.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_debug.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_efuse.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_rtwn_efuse.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_fw.c rtwn: print out the firmware file being loaded 2024-12-31 13:58:17 -08:00
if_rtwn_fw.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
if_rtwn_nop.h rtwn: add APIs for setting transmit power 2024-12-18 15:45:24 -08:00
if_rtwn_ridx.h rtwn: add rtwn_ctl_vhtrate(), some cleanups 2024-12-31 11:13:26 -08:00
if_rtwn_rx.c rtwn: make sure RCR_APPFCS stays set in monitor mode / mode changes. 2024-12-27 17:46:38 -08:00
if_rtwn_rx.h rtwn: update rtwn_get_rates() to separate out the CCK/OFDM and HT rates 2024-12-18 15:48:10 -08:00
if_rtwn_task.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_rtwn_task.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwn_tx.c rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00
if_rtwn_tx.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
if_rtwnreg.h rtwn: add VHT awareness to rtwn_chan2centieee() 2024-12-06 23:14:20 -08:00
if_rtwnvar.h rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00