projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8a979
)
rt2x00: Enable rx aggregation in rt2800
author
Helmut Schaa
<
[email protected]
>
Sat, 2 Oct 2010 09:33:17 +0000
(11:33 +0200)
committer
John W. Linville
<
[email protected]
>
Tue, 5 Oct 2010 17:35:28 +0000
(13:35 -0400)
Signed-off-by: Helmut Schaa <
[email protected]
>
Signed-off-by: Ivo van Doorn <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/rt2x00/rt2800lib.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800lib.c
b/drivers/net/wireless/rt2x00/rt2800lib.c
index 8e507d0b57897da25da3e12492d3b085dd825ab0..028715730b2ca01d9472c542c4e70b5d69026697 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/
drivers/net/wireless/rt2x00/rt2800lib.c
@@
-3452,8
+3452,12
@@
int rt2800_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
switch (action) {
case IEEE80211_AMPDU_RX_START:
case IEEE80211_AMPDU_RX_STOP:
- /* we don't support RX aggregation yet */
- ret = -ENOTSUPP;
+ /*
+ * The hw itself takes care of setting up BlockAck mechanisms.
+ * So, we only have to allow mac80211 to nagotiate a BlockAck
+ * agreement. Once that is done, the hw will BlockAck incoming
+ * AMPDUs without further setup.
+ */
break;
case IEEE80211_AMPDU_TX_START:
ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid);