svn commit: r191019 - head/sys/dev/ath/ath_rate/sample
Sam Leffler
sam at FreeBSD.org
Mon Apr 13 20:54:11 UTC 2009
Author: sam
Date: Mon Apr 13 20:54:08 2009
New Revision: 191019
URL: http://svn.freebsd.org/changeset/base/191019
Log:
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
Modified:
head/sys/dev/ath/ath_rate/sample/sample.c
Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c Mon Apr 13 20:53:12 2009 (r191018)
+++ head/sys/dev/ath/ath_rate/sample/sample.c Mon Apr 13 20:54:08 2009 (r191019)
@@ -766,6 +766,15 @@ ath_rate_ctl_reset(struct ath_softc *sc,
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
}
/*
More information about the svn-src-all
mailing list