Skip to content

Commit

Permalink
iwn: don't consider same MCS set if the card is configured as differe…
Browse files Browse the repository at this point in the history
…nt Rx/Tx streams transmission.
  • Loading branch information
zxystd committed Mar 19, 2024
1 parent 70ef005 commit 461ab52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itlwm/hal_iwn/ItlIwn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4093,7 +4093,8 @@ iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni)
(!mimo && iwn_is_mimo_ht_plcp(ht_plcp)))
continue;
for (i = ni->ni_txmcs; i >= 0; i--) {
if (isclr(ni->ni_rxmcs, i))
if (ic->ic_tx_mcs_set == IEEE80211_TX_MCS_SET_DEFINED &&
isclr(ni->ni_rxmcs, i))
continue;
if (ridx != iwn_mcs2ridx[i])
continue;
Expand Down

0 comments on commit 461ab52

Please sign in to comment.