From aea8fd2fa9ed3ac0855747a7c1457ff4b49c1126 Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Sat, 13 Feb 2010 18:26:42 +0100 Subject: [PATCH] Added a new debugging message for AMRR statistic --- rt2870.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rt2870.c b/rt2870.c index 5c7fed4..52ef647 100644 --- a/rt2870.c +++ b/rt2870.c @@ -2611,6 +2611,11 @@ static void rt2870_amrr_update_iter_func(void *arg, struct ieee80211_node *ni) { wcid = RT2870_AID2WCID(ni->ni_associd); + RT2870_DPRINTF(sc, RT2870_DEBUG_RATE, + "%s: AMRR node: wcid=0x%02x, txcnt=%d, success=%d, retrycnt=%d\n", + device_get_nameunit(sc->dev), + wcid, sc->amrr_node[wcid].txcnt, sc->amrr_node[wcid].success, sc->amrr_node[wcid].retrycnt); + rt2870_amrr_choose(ni, &sc->amrr_node[wcid]); RT2870_DPRINTF(sc, RT2870_DEBUG_RATE, -- 2.11.4.GIT