opnsense-src/sys/dev/rtwn
Adrian Chadd 28e89934a9 rtwn: fix mbuf allocation errors in USB RX path for > 4 KiB frames
We can and do receive > 4 KiB frames in the RX path (A-MSDU frames
can be up to 11KiB.)  At least one user has reported seeing this
and having it break their traffic flows.

Use m_get3() to try and grab an mbuf jumbo cluster.

This may not be the best permanent solution, but it at least will
fail for frame sizes we expect to see up and including the largest
A-MPDU frame (11Kib)  and keep a counter if it can't allocate, versus
just returning NULL because it's too large (and not keeping counters.)

Differential Revision:	https://reviews.freebsd.org/D50049
PR:	kern/286366
Reviewed by:	bz
2025-04-30 20:01:05 -07: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: allow firmware rate control to be enabled for rtl8192cu 2025-01-13 20:34:35 -08:00
rtl8192e rtwn: add workaround sleep in r92e_set_chan() 2025-01-22 13:46:57 -08:00
rtl8812a rtwn: don't treat UDP/TCP checksum failure as permanent failure 2025-04-22 19:02:47 -07:00
rtl8821a rtwn: announce VHT support for RTL8812AU/RTL8821AU. 2025-01-08 16:52:12 -08:00
usb rtwn: fix mbuf allocation errors in USB RX path for > 4 KiB frames 2025-04-30 20:01:05 -07:00
if_rtwn.c rtwn: enable reception of BAR frames 2025-04-22 19:02:39 -07: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: fix RTWN_RIDX_VHT_MCS() macro 2025-01-13 16:11:18 -08:00
if_rtwn_rx.c rtwn: explicitly configure RTS based on basic rates 2025-01-13 20:33:44 -08:00
if_rtwn_rx.h rtwn: explicitly configure RTS based on basic rates 2025-01-13 20:33:44 -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: move to using ieee80211_node_get_txrate() 2025-02-26 11:30: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: announce VHT support for RTL8812AU/RTL8821AU. 2025-01-08 16:52:12 -08:00