opnsense-src/sys/dev/rtwn/rtl8192c
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: 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
r92c.h rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00
r92c_attach.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_beacon.c rtwn: remove SEQ_SEL, replace with a QOS bit 2024-12-30 17:35:13 -08:00
r92c_calib.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_chan.c rtwn: try enforcing net80211 regulatory / txpower limits for 11n chips 2024-12-18 15:46:15 -08:00
r92c_fw.c rtwn: only set INIRATE if we're not doing firmware rate control. 2024-12-31 11:12:57 -08:00
r92c_fw_cmd.h rtwn: add SGI flag for the rate control message 2024-12-18 15:48:45 -08:00
r92c_init.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_llt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_priv.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r92c_reg.h rtwn: add a default OFDM / CCK rate for self-generated frames 2024-12-19 08:06:29 -08:00
r92c_rf.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_rom.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
r92c_rom_defs.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r92c_rom_image.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r92c_rx.c rtwn: expand the ridx numbers to include VHT; add accessor macros 2024-12-06 23:13:50 -08:00
r92c_rx_desc.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
r92c_tx.c rtwn: add forcerate flag to TX descriptor setup 2025-01-02 17:24:01 -08:00
r92c_tx_desc.h rtwn: remove SEQ_SEL, replace with a QOS bit 2024-12-30 17:35:13 -08:00
r92c_var.h sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00