summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-23 20:16:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-23 20:16:53 +0000
commit80239ff7b0b6774a4192c786b3a85d03a4a1d0b1 (patch)
tree991043ebd61cb79076625c8b5232a515ac13dafa /package/mac80211
parentd16f80c95d6895aae90e5047db065ea11b0e8c2d (diff)
downloadmtk-20170518-80239ff7b0b6774a4192c786b3a85d03a4a1d0b1.zip
mtk-20170518-80239ff7b0b6774a4192c786b3a85d03a4a1d0b1.tar.gz
mtk-20170518-80239ff7b0b6774a4192c786b3a85d03a4a1d0b1.tar.bz2
ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
SVN-Revision: 26280
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/300-ath9k_pending_work.patch11
-rw-r--r--package/mac80211/patches/521-ath9k_fix_ap_ps_buffering.patch4
2 files changed, 13 insertions, 2 deletions
diff --git a/package/mac80211/patches/300-ath9k_pending_work.patch b/package/mac80211/patches/300-ath9k_pending_work.patch
index 7d4301d..f294a8c 100644
--- a/package/mac80211/patches/300-ath9k_pending_work.patch
+++ b/package/mac80211/patches/300-ath9k_pending_work.patch
@@ -368,3 +368,14 @@
u64 ath9k_hw_gettsf64(struct ath_hw *ah);
void ath9k_hw_settsf64(struct ath_hw *ah, u64 tsf64);
void ath9k_hw_reset_tsf(struct ath_hw *ah);
+--- a/drivers/net/wireless/ath/ath9k/main.c
++++ b/drivers/net/wireless/ath/ath9k/main.c
+@@ -2160,6 +2160,8 @@ static void ath9k_flush(struct ieee80211
+ if (!ath_drain_all_txq(sc, false))
+ ath_reset(sc, false);
+
++ ieee80211_wake_queues(hw);
++
+ out:
+ ieee80211_queue_delayed_work(hw, &sc->tx_complete_work, 0);
+ mutex_unlock(&sc->mutex);
diff --git a/package/mac80211/patches/521-ath9k_fix_ap_ps_buffering.patch b/package/mac80211/patches/521-ath9k_fix_ap_ps_buffering.patch
index 4799d5f..b2d2f61 100644
--- a/package/mac80211/patches/521-ath9k_fix_ap_ps_buffering.patch
+++ b/package/mac80211/patches/521-ath9k_fix_ap_ps_buffering.patch
@@ -57,7 +57,7 @@
static int ath9k_conf_tx(struct ieee80211_hw *hw, u16 queue,
const struct ieee80211_tx_queue_params *params)
{
-@@ -2177,6 +2198,7 @@ struct ieee80211_ops ath9k_ops = {
+@@ -2179,6 +2200,7 @@ struct ieee80211_ops ath9k_ops = {
.configure_filter = ath9k_configure_filter,
.sta_add = ath9k_sta_add,
.sta_remove = ath9k_sta_remove,
@@ -223,7 +223,7 @@
/* PHY ops */
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
-@@ -646,6 +646,7 @@ struct ath_hw_ops {
+@@ -644,6 +644,7 @@ struct ath_hw_ops {
u32 burstDuration);
void (*set11n_virtualmorefrag)(struct ath_hw *ah, void *ds,
u32 vmf);