Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194215
b: refs/heads/master
c: 618f356
h: refs/heads/master
i:
  194213: 9d84079
  194211: f87f2e0
  194207: e05edfa
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Apr 7, 2010
1 parent c0a33c0 commit 49246ae
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66b0470aeef10a3b0f9a6a1c60d908b5a06c62ae
refs/heads/master: 618f356b95e37ca0c30b3b513898fda54abd52a6
2 changes: 1 addition & 1 deletion trunk/net/mac80211/agg-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void ieee80211_process_addba_request(struct ieee80211_local *local,

status = WLAN_STATUS_REQUEST_DECLINED;

if (test_sta_flags(sta, WLAN_STA_SUSPEND)) {
if (test_sta_flags(sta, WLAN_STA_BLOCK_BA)) {
#ifdef CONFIG_MAC80211_HT_DEBUG
printk(KERN_DEBUG "Suspend in progress. "
"Denying ADDBA request\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/mac80211/agg-tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid)
return -EINVAL;
}

if (test_sta_flags(sta, WLAN_STA_SUSPEND)) {
if (test_sta_flags(sta, WLAN_STA_BLOCK_BA)) {
#ifdef CONFIG_MAC80211_HT_DEBUG
printk(KERN_DEBUG "Suspend in progress. "
"Denying BA session request\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/mac80211/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw)

if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
list_for_each_entry_rcu(sta, &local->sta_list, list) {
set_sta_flags(sta, WLAN_STA_SUSPEND);
set_sta_flags(sta, WLAN_STA_BLOCK_BA);
ieee80211_sta_tear_down_BA_sessions(sta);
}
}
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/mac80211/sta_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
* IEEE80211_TX_CTL_CLEAR_PS_FILT control flag) when the next
* frame to this station is transmitted.
* @WLAN_STA_MFP: Management frame protection is used with this STA.
* @WLAN_STA_SUSPEND: Set/cleared during a suspend/resume cycle.
* Used to deny ADDBA requests (both TX and RX).
* @WLAN_STA_BLOCK_BA: Used to deny ADDBA requests (both TX and RX)
* during suspend/resume.
* @WLAN_STA_PS_DRIVER: driver requires keeping this station in
* power-save mode logically to flush frames that might still
* be in the queues
Expand All @@ -57,7 +57,7 @@ enum ieee80211_sta_info_flags {
WLAN_STA_WDS = 1<<7,
WLAN_STA_CLEAR_PS_FILT = 1<<9,
WLAN_STA_MFP = 1<<10,
WLAN_STA_SUSPEND = 1<<11,
WLAN_STA_BLOCK_BA = 1<<11,
WLAN_STA_PS_DRIVER = 1<<12,
WLAN_STA_PSPOLL = 1<<13,
WLAN_STA_DISASSOC = 1<<14,
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ int ieee80211_reconfig(struct ieee80211_local *local)

if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
list_for_each_entry_rcu(sta, &local->sta_list, list) {
clear_sta_flags(sta, WLAN_STA_SUSPEND);
clear_sta_flags(sta, WLAN_STA_BLOCK_BA);
}
}

Expand Down

0 comments on commit 49246ae

Please sign in to comment.