aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211.c
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2007-12-25 10:00:33 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:00:59 -0500
commit07db218396650933abff3c5c1ad1e2a6e0cfedeb (patch)
treee81672015dba20e146b2eea30aea9449f5833a44 /net/mac80211/ieee80211.c
parent5aae2880618471cfa679ca22531b88990bee9bf8 (diff)
mac80211: A-MPDU Rx adding basic functionality
This patch adds the basic needed abilities and functions for A-MPDU Rx session changed functions: - ieee80211_sta_process_addba_request - Rx A-MPDU initialization enabled - ieee80211_stop - stops all A-MPDU Rx in case interface goes down added functions: - ieee80211_send_delba - used for sending out Del BA in A-MPDU sessions - ieee80211_sta_stop_rx_BA_session - stopping Rx A-MPDU session - sta_rx_agg_session_timer_expired - stops A-MPDU Rx use if load is too low Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r--net/mac80211/ieee80211.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c
index 9c14e3d303c5..2011c726f2b1 100644
--- a/net/mac80211/ieee80211.c
+++ b/net/mac80211/ieee80211.c
@@ -292,9 +292,18 @@ static int ieee80211_stop(struct net_device *dev)
292 struct ieee80211_sub_if_data *sdata; 292 struct ieee80211_sub_if_data *sdata;
293 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); 293 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
294 struct ieee80211_if_init_conf conf; 294 struct ieee80211_if_init_conf conf;
295 struct sta_info *sta;
296 int i;
295 297
296 sdata = IEEE80211_DEV_TO_SUB_IF(dev); 298 sdata = IEEE80211_DEV_TO_SUB_IF(dev);
297 299
300 list_for_each_entry(sta, &local->sta_list, list) {
301 for (i = 0; i < STA_TID_NUM; i++)
302 ieee80211_sta_stop_rx_ba_session(sta->dev, sta->addr,
303 i, WLAN_BACK_RECIPIENT,
304 WLAN_REASON_QSTA_LEAVE_QBSS);
305 }
306
298 netif_stop_queue(dev); 307 netif_stop_queue(dev);
299 308
300 /* 309 /*