mac80211: fixing debug prints for AddBA request
This patch also fixes the Rx timer's comments Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
2e354ed7be
commit
7b9d44cd6b
1 changed files with 4 additions and 4 deletions
|
@ -1145,7 +1145,7 @@ static void ieee80211_sta_process_addba_request(struct net_device *dev,
|
||||||
status = WLAN_STATUS_INVALID_QOS_PARAM;
|
status = WLAN_STATUS_INVALID_QOS_PARAM;
|
||||||
#ifdef CONFIG_MAC80211_HT_DEBUG
|
#ifdef CONFIG_MAC80211_HT_DEBUG
|
||||||
if (net_ratelimit())
|
if (net_ratelimit())
|
||||||
printk(KERN_DEBUG "Block Ack Req with bad params from "
|
printk(KERN_DEBUG "AddBA Req with bad params from "
|
||||||
"%s on tid %u. policy %d, buffer size %d\n",
|
"%s on tid %u. policy %d, buffer size %d\n",
|
||||||
print_mac(mac, mgmt->sa), tid, ba_policy,
|
print_mac(mac, mgmt->sa), tid, ba_policy,
|
||||||
buf_size);
|
buf_size);
|
||||||
|
@ -1169,7 +1169,7 @@ static void ieee80211_sta_process_addba_request(struct net_device *dev,
|
||||||
if (tid_agg_rx->state != HT_AGG_STATE_IDLE) {
|
if (tid_agg_rx->state != HT_AGG_STATE_IDLE) {
|
||||||
#ifdef CONFIG_MAC80211_HT_DEBUG
|
#ifdef CONFIG_MAC80211_HT_DEBUG
|
||||||
if (net_ratelimit())
|
if (net_ratelimit())
|
||||||
printk(KERN_DEBUG "unexpected Block Ack Req from "
|
printk(KERN_DEBUG "unexpected AddBA Req from "
|
||||||
"%s on tid %u\n",
|
"%s on tid %u\n",
|
||||||
print_mac(mac, mgmt->sa), tid);
|
print_mac(mac, mgmt->sa), tid);
|
||||||
#endif /* CONFIG_MAC80211_HT_DEBUG */
|
#endif /* CONFIG_MAC80211_HT_DEBUG */
|
||||||
|
@ -1497,8 +1497,8 @@ timer_expired_exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* After receiving Block Ack Request (BAR) we activated a
|
* After accepting the AddBA Request we activated a timer,
|
||||||
* timer after each frame arrives from the originator.
|
* resetting it after each frame that arrives from the originator.
|
||||||
* if this timer expires ieee80211_sta_stop_rx_ba_session will be executed.
|
* if this timer expires ieee80211_sta_stop_rx_ba_session will be executed.
|
||||||
*/
|
*/
|
||||||
void sta_rx_agg_session_timer_expired(unsigned long data)
|
void sta_rx_agg_session_timer_expired(unsigned long data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue