diff options
author | Nikolay Martynov <mar.kolya@gmail.com> | 2011-11-22 21:50:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 14:43:51 -0500 |
commit | 5ccc32ff46065f031075cdbbdfe21b9e3b05aaad (patch) | |
tree | 839725c6e64dde350931c19dfe223a20eb1762b2 /net/mac80211 | |
parent | a7f39f60775c0a5f2b537b20a0c2431b3f791cc8 (diff) |
mac80211: log reason and initiator when rx agg is stopped
Add additional debug logging of initiator and reason when rx
aggregation session is stopped
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/agg-rx.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index d4f23d4dc2c9..98208b6d9d7a 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c | |||
@@ -73,8 +73,11 @@ void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, | |||
73 | RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); | 73 | RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); |
74 | 74 | ||
75 | #ifdef CONFIG_MAC80211_HT_DEBUG | 75 | #ifdef CONFIG_MAC80211_HT_DEBUG |
76 | printk(KERN_DEBUG "Rx BA session stop requested for %pM tid %u\n", | 76 | printk(KERN_DEBUG |
77 | sta->sta.addr, tid); | 77 | "Rx BA session stop requested for %pM tid %u %s reason: %d\n", |
78 | sta->sta.addr, tid, | ||
79 | initiator == WLAN_BACK_RECIPIENT ? "recipient" : "inititator", | ||
80 | (int)reason); | ||
78 | #endif /* CONFIG_MAC80211_HT_DEBUG */ | 81 | #endif /* CONFIG_MAC80211_HT_DEBUG */ |
79 | 82 | ||
80 | if (drv_ampdu_action(local, sta->sdata, IEEE80211_AMPDU_RX_STOP, | 83 | if (drv_ampdu_action(local, sta->sdata, IEEE80211_AMPDU_RX_STOP, |