diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-10-08 13:53:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-10-13 17:06:03 +0200 |
commit | ad51e09fd1301484820a466a49447a34d7504882 (patch) | |
tree | 06d56b89cf8709b0e9ca63528f8efc411089ddf5 /package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch | |
parent | 4379bcb1b4b73fb8487a14bec9554a17d4726e35 (diff) | |
download | mtk-20170518-ad51e09fd1301484820a466a49447a34d7504882.zip mtk-20170518-ad51e09fd1301484820a466a49447a34d7504882.tar.gz mtk-20170518-ad51e09fd1301484820a466a49447a34d7504882.tar.bz2 |
mac80211: update to wireless-testing 2016-10-08
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch')
-rw-r--r-- | package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch b/package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch deleted file mode 100644 index 5d8a8fb..0000000 --- a/package/kernel/mac80211/patches/331-mac80211-End-the-MPSP-even-if-EOSP-frame-was-not-rec.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Masashi Honma <masashi.honma@gmail.com> -Date: Wed, 13 Jul 2016 16:04:35 +0900 -Subject: [PATCH] mac80211: End the MPSP even if EOSP frame was not received - -The mesh STA sends QoS frame with EOSP (end of service period) -subfiled=1 to end the MPSP(mesh peer service period). Previously, if -the frame was not acked by peer, the mesh STA did not end the MPSP. -This patch ends the MPSP even if the QoS frame was no acked. - -Signed-off-by: Masashi Honma <masashi.honma@gmail.com> ---- - ---- a/net/mac80211/status.c -+++ b/net/mac80211/status.c -@@ -784,6 +784,13 @@ void ieee80211_tx_status(struct ieee8021 - clear_sta_flag(sta, WLAN_STA_SP); - - acked = !!(info->flags & IEEE80211_TX_STAT_ACK); -+ -+ /* mesh Peer Service Period support */ -+ if (ieee80211_vif_is_mesh(&sta->sdata->vif) && -+ ieee80211_is_data_qos(fc)) -+ ieee80211_mpsp_trigger_process( -+ ieee80211_get_qos_ctl(hdr), sta, true, acked); -+ - if (!acked && test_sta_flag(sta, WLAN_STA_PS_STA)) { - /* - * The STA is in power save mode, so assume -@@ -794,13 +801,6 @@ void ieee80211_tx_status(struct ieee8021 - return; - } - -- /* mesh Peer Service Period support */ -- if (ieee80211_vif_is_mesh(&sta->sdata->vif) && -- ieee80211_is_data_qos(fc)) -- ieee80211_mpsp_trigger_process( -- ieee80211_get_qos_ctl(hdr), -- sta, true, acked); -- - if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL) && - (ieee80211_is_data(hdr->frame_control)) && - (rates_idx != -1)) |