Date: Mon, 17 Mar 2008 21:54:20 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137956 for review Message-ID: <200803172154.m2HLsKQ9008952@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137956 Change 137956 by sam@sam_ebb on 2008/03/17 21:54:02 cleanup debug msgs Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_amrr.c#10 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_amrr.c#10 (text+ko) ==== @@ -107,6 +107,9 @@ ; ni->ni_txrate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL; amn->amn_ticks = ticks; + + IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, + "AMRR initial rate %d", ni->ni_txrate); } static int @@ -124,8 +127,8 @@ amn->amn_recovery = 1; amn->amn_success = 0; rix++; - IEEE80211_DPRINTF(ni->ni_vap, IEEE80211_MSG_RATECTL, - "AMRR increasing rate %d (txcnt=%d retrycnt=%d)\n", + IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, + "AMRR increasing rate %d (txcnt=%d retrycnt=%d)", ni->ni_rates.rs_rates[rix] & IEEE80211_RATE_VAL, amn->amn_txcnt, amn->amn_retrycnt); } else { @@ -145,8 +148,8 @@ amrr->amrr_min_success_threshold; } rix--; - IEEE80211_DPRINTF(ni->ni_vap, IEEE80211_MSG_RATECTL, - "AMRR decreasing rate %d (txcnt=%d retrycnt=%d)\n", + IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_RATECTL, ni, + "AMRR decreasing rate %d (txcnt=%d retrycnt=%d)", ni->ni_rates.rs_rates[rix] & IEEE80211_RATE_VAL, amn->amn_txcnt, amn->amn_retrycnt); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803172154.m2HLsKQ9008952>