From 2ea428a02688f6daf9597ea28e1a899ce7de11ab Mon Sep 17 00:00:00 2001 From: Alexander Egorenkov Date: Sat, 6 Feb 2010 20:54:08 +0100 Subject: [PATCH] ADDBA request debugging: added bufsize value to output --- rt2870.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rt2870.c b/rt2870.c index f78dacb..ab60165 100644 --- a/rt2870.c +++ b/rt2870.c @@ -2460,7 +2460,7 @@ static int rt2870_recv_action(struct ieee80211_node *ni, const struct ieee80211_action *ia; uint16_t associd, baparamset; uint8_t wcid; - int ret, tid; + int ret, tid, bufsize; uint32_t tmp; ic = ni->ni_ic; @@ -2483,10 +2483,11 @@ static int rt2870_recv_action(struct ieee80211_node *ni, case IEEE80211_ACTION_BA_ADDBA_REQUEST: baparamset = LE_READ_2(frm + 3); tid = RT2870_MS(baparamset, IEEE80211_BAPS_TID); + bufsize = RT2870_MS(baparamset, IEEE80211_BAPS_BUFSIZ); RT2870_DPRINTF(sc, RT2870_DEBUG_BA, - "%s: adding A-MPDU Rx block ACK: associd=0x%04x, tid=%d\n", - device_get_nameunit(sc->dev), associd, tid); + "%s: adding A-MPDU Rx block ACK: associd=0x%04x, tid=%d, bufsize=%d\n", + device_get_nameunit(sc->dev), associd, tid, bufsize); RT2870_SOFTC_LOCK(sc); -- 2.11.4.GIT