From 67dc023f87699e56457a3ba4a97da60605042bd7 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 11 Oct 2019 23:15:57 +0200 Subject: mac80211: Update to version 5.3.6 Signed-off-by: Hauke Mehrtens --- ...nack-introduce-ath_dynack_set_timeout-routin.patch | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch') diff --git a/package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch b/package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch index e13a15026e..d765f88559 100644 --- a/package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch +++ b/package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch @@ -12,15 +12,12 @@ Signed-off-by: Lorenzo Bianconi drivers/net/wireless/ath/ath9k/dynack.c | 37 ++++++++++++++----------- 1 file changed, 21 insertions(+), 16 deletions(-) -diff --git a/drivers/net/wireless/ath/ath9k/dynack.c b/drivers/net/wireless/ath/ath9k/dynack.c -index f112fa5b2eac..38dbe25919f7 100644 --- a/drivers/net/wireless/ath/ath9k/dynack.c +++ b/drivers/net/wireless/ath/ath9k/dynack.c -@@ -78,6 +78,24 @@ static inline bool ath_dynack_bssidmask(struct ath_hw *ah, const u8 *mac) - return true; +@@ -79,6 +79,24 @@ static inline bool ath_dynack_bssidmask( } -+/** + /** + * ath_dynack_set_timeout - configure timeouts/slottime registers + * @ah: ath hw + * @to: timeout value @@ -38,10 +35,11 @@ index f112fa5b2eac..38dbe25919f7 100644 + ath9k_hw_set_cts_timeout(ah, to); +} + - /** ++/** * ath_dynack_compute_ackto - compute ACK timeout as the maximum STA timeout * @ah: ath hw -@@ -86,7 +104,6 @@ static inline bool ath_dynack_bssidmask(struct ath_hw *ah, const u8 *mac) + * +@@ -86,7 +104,6 @@ static inline bool ath_dynack_bssidmask( */ static void ath_dynack_compute_ackto(struct ath_hw *ah) { @@ -49,7 +47,7 @@ index f112fa5b2eac..38dbe25919f7 100644 struct ath_dynack *da = &ah->dynack; struct ath_node *an; int to = 0; -@@ -96,15 +113,8 @@ static void ath_dynack_compute_ackto(struct ath_hw *ah) +@@ -96,15 +113,8 @@ static void ath_dynack_compute_ackto(str to = an->ackto; if (to && da->ackto != to) { @@ -66,7 +64,7 @@ index f112fa5b2eac..38dbe25919f7 100644 } } -@@ -198,10 +208,7 @@ void ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, +@@ -198,10 +208,7 @@ void ath_dynack_sample_tx_ts(struct ath_ ieee80211_is_assoc_resp(hdr->frame_control) || ieee80211_is_auth(hdr->frame_control)) { ath_dbg(common, DYNACK, "late ack\n"); @@ -89,6 +87,3 @@ index f112fa5b2eac..38dbe25919f7 100644 } EXPORT_SYMBOL(ath_dynack_reset); --- -2.17.1 - -- cgit v1.2.3