mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
add a debug msg for when a fixed transmit rate is not applied because
it's not found in the sta's negotiated rate set
This commit is contained in:
parent
5434ed5af3
commit
5e86169a67
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191019
@ -766,6 +766,15 @@ ath_rate_ctl_reset(struct ath_softc *sc, struct ieee80211_node *ni)
|
||||
sn->static_rix = sc->sc_rixmap[tp->ucastrate];
|
||||
break;
|
||||
}
|
||||
#ifdef IEEE80211_DEBUG
|
||||
if (sn->static_rix == -1) {
|
||||
IEEE80211_NOTE(ni->ni_vap,
|
||||
IEEE80211_MSG_RATECTL, ni,
|
||||
"%s: ucastrate %u not found, nrates %u",
|
||||
__func__, tp->ucastrate,
|
||||
ni->ni_rates.rs_nrates);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user