PERFORCE change 137956 for review
    Sam Leffler 
    sam at FreeBSD.org
       
    Mon Mar 17 21:54:21 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=137956
Change 137956 by sam at 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);
 		}
    
    
More information about the p4-projects
mailing list