diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-12-28 19:38:16 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-12-29 02:54:03 +0000 |
| commit | 8494be1b5af7fe4f765532f802ac0a145e061d73 (patch) | |
| tree | 0da23ec27ff6531b4048d2ff3f122905c2429745 /contrib/bzip2/bzlib_private.h | |
| parent | f0395993e1ea83705e0da6623843e7d5d03f7269 (diff) | |
When fixing single-stream chipsets, like iwlwifi(4) AX101, we started
masking the announced with the hardware supported values. This would
probably limit, e.g., rx_nss. During these works we fixed a loop
checking from the highest nss=7 to lowest nss=0 (8..1) and would set
rx_nss if the stream was supported. This left us with always setting
rx_nss on nss=0 to nss + 1 = 1. Instead only update once when we hit
the first supported MCS value (highest number of supported streams).
Looking at the diff of the mentioned commit hash which gets fixed it
looks like even the old code was not correct either.
This only fixes the logic to calculate rx_nss. This does not yet help
with modern drivers to actually update the value. Code for this will
come in a later commit.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Fixes: adb4901ac9ae
Diffstat (limited to 'contrib/bzip2/bzlib_private.h')
0 files changed, 0 insertions, 0 deletions
