Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183559
b: refs/heads/master
c: a2292d8
h: refs/heads/master
i:
  183557: 1ae634e
  183555: 0cacd53
  183551: 6ab0706
v: v3
  • Loading branch information
Lennert Buytenhek authored and John W. Linville committed Jan 5, 2010
1 parent b912f2b commit 7e6bda0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13935e2cf39b124c9a2ff0349b294e0b1e2e3aef
refs/heads/master: a2292d83b5dcb7f378956a124854d2b17fa53aa3
17 changes: 17 additions & 0 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -3309,6 +3309,22 @@ static int mwl8k_get_stats(struct ieee80211_hw *hw,
return mwl8k_cmd_get_stat(hw, stats);
}

static int
mwl8k_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
enum ieee80211_ampdu_mlme_action action,
struct ieee80211_sta *sta, u16 tid, u16 *ssn)
{
switch (action) {
case IEEE80211_AMPDU_RX_START:
case IEEE80211_AMPDU_RX_STOP:
if (!(hw->flags & IEEE80211_HW_AMPDU_AGGREGATION))
return -ENOTSUPP;
return 0;
default:
return -ENOTSUPP;
}
}

static const struct ieee80211_ops mwl8k_ops = {
.tx = mwl8k_tx,
.start = mwl8k_start,
Expand All @@ -3324,6 +3340,7 @@ static const struct ieee80211_ops mwl8k_ops = {
.conf_tx = mwl8k_conf_tx,
.get_tx_stats = mwl8k_get_tx_stats,
.get_stats = mwl8k_get_stats,
.ampdu_action = mwl8k_ampdu_action,
};

static void mwl8k_tx_reclaim_handler(unsigned long data)
Expand Down

0 comments on commit 7e6bda0

Please sign in to comment.