opnsense-src/sys/compat/linuxkpi
Mikhail Pchelin a92626b33e linux80211: fix default deflink.rx_nss
Native Linux implementation sets this as a maximum between 1 and
ht/vht/eht rx SS'es, FreeBSD does the same, but uses 0 as a minimum,
which leads setting it to 0 if we're not in ht/vht case.

This 0 was breaking rtw89 driver, when it was trying to determine
SS number by subtracting 1 from rx_nss and passing the value to the
hardware.

After this patch rtw89 association and simple ping work reliably,
but more work is needed to make the driver robust with heavy traffic
(iperf3) and being long idle.

Reviewed by:	bz
Sponsored by:	Future Crew LLC
Differential Revision:	https://reviews.freebsd.org/D46528

(cherry picked from commit f5a58c2da23930ee4870f2eb54788f4669b9aa33)
2024-10-09 19:19:21 +00:00
..
common linux80211: fix default deflink.rx_nss 2024-10-09 19:19:21 +00:00
dummy/include LinuxKPI: Add linux/eventfd.h and linux/memremap.h dummy headers 2024-08-02 00:15:56 +03:00