OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2003-2005 Devicescape Software, Inc. | 2 * Copyright 2003-2005 Devicescape Software, Inc. |
3 * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 3 * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
4 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> | 4 * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License version 2 as | 7 * it under the terms of the GNU General Public License version 2 as |
8 * published by the Free Software Foundation. | 8 * published by the Free Software Foundation. |
9 */ | 9 */ |
10 | 10 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 if (tid >= STA_TID_NUM) | 190 if (tid >= STA_TID_NUM) |
191 return -EINVAL; | 191 return -EINVAL; |
192 | 192 |
193 if (tx) { | 193 if (tx) { |
194 if (start) | 194 if (start) |
195 ret = ieee80211_start_tx_ba_session(&sta->sta, tid); | 195 ret = ieee80211_start_tx_ba_session(&sta->sta, tid); |
196 else | 196 else |
197 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); | 197 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); |
198 } else { | 198 } else { |
199 » » __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, | 199 » » __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, 3)
; |
200 » » » » » 3, true); | |
201 ret = 0; | 200 ret = 0; |
202 } | 201 } |
203 | 202 |
204 return ret ?: count; | 203 return ret ?: count; |
205 } | 204 } |
206 STA_OPS_RW(agg_status); | 205 STA_OPS_RW(agg_status); |
207 | 206 |
208 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, | 207 static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, |
209 size_t count, loff_t *ppos) | 208 size_t count, loff_t *ppos) |
210 { | 209 { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 DEBUGFS_ADD_COUNTER(tx_retry_failed, tx_retry_failed); | 344 DEBUGFS_ADD_COUNTER(tx_retry_failed, tx_retry_failed); |
346 DEBUGFS_ADD_COUNTER(tx_retry_count, tx_retry_count); | 345 DEBUGFS_ADD_COUNTER(tx_retry_count, tx_retry_count); |
347 DEBUGFS_ADD_COUNTER(wep_weak_iv_count, wep_weak_iv_count); | 346 DEBUGFS_ADD_COUNTER(wep_weak_iv_count, wep_weak_iv_count); |
348 } | 347 } |
349 | 348 |
350 void ieee80211_sta_debugfs_remove(struct sta_info *sta) | 349 void ieee80211_sta_debugfs_remove(struct sta_info *sta) |
351 { | 350 { |
352 debugfs_remove_recursive(sta->debugfs.dir); | 351 debugfs_remove_recursive(sta->debugfs.dir); |
353 sta->debugfs.dir = NULL; | 352 sta->debugfs.dir = NULL; |
354 } | 353 } |
OLD | NEW |