mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04:00
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 Approved by: bz Sponsored by: Future Crew LLC Differential Revision: https://reviews.freebsd.org/D46528
This commit is contained in:
parent
00c9a6806c
commit
f5a58c2da2
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ lkpi_lsta_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN],
|
|||
|
||||
sta->deflink.smps_mode = IEEE80211_SMPS_OFF;
|
||||
sta->deflink.bandwidth = IEEE80211_STA_RX_BW_20;
|
||||
sta->deflink.rx_nss = 0;
|
||||
sta->deflink.rx_nss = 1;
|
||||
|
||||
ht_rx_nss = 0;
|
||||
#if defined(LKPI_80211_HT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue