Re: [OpenWrt-Devel] [PATCH 19.07] mac80211: update to version 4.19.85

2019-11-22 Thread Koen Vandeputte

Tested on ~10 devices. IBSS and AP/STA

Tested-by: Koen Vandeputte 


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 19.07] mac80211: update to version 4.19.85

2019-11-21 Thread Hauke Mehrtens
Signed-off-by: Hauke Mehrtens 
---
 package/kernel/mac80211/Makefile  |  6 +-
 ...fix-tx99-with-monitor-mode-interface.patch | 92 --
 ...upport-for-using-active-monitor-inte.patch | 96 ---
 .../patches/ath/404-regd_no_assoc_hints.patch | 10 +-
 ...21-ath10k_init_devices_synchronously.patch |  2 +-
 .../ath/930-ath10k_add_tpt_led_trigger.patch  |  4 +-
 ...-of-peer_bw_rxnss_override-parameter.patch |  8 +-
 ...dling-for-VHT160-in-recent-firmwares.patch |  2 +-
 ...rolling-support-for-various-chipsets.patch | 28 +++---
 ...75-ath10k-use-tpt-trigger-by-default.patch |  2 +-
 ...ilable-channels-via-DT-ieee80211-fre.patch | 39 
 ...001-brcmfmac-fix-wrong-strnchr-usage.patch | 38 
 ...e-buffer-for-obtaining-firmware-capa.patch | 28 --
 ...-Add-airtime-statistics-and-settings.patch |  8 +-
 ...te-hash-for-fq-without-holding-fq-lo.patch | 56 +++
 ...nd-deauth-when-expiring-inactive-STA.patch |  6 +-
 ...t-to-changes-to-skb_get_hash_perturb.patch | 68 -
 .../522-mac80211_configure_antenna_gain.patch |  4 +-
 18 files changed, 76 insertions(+), 421 deletions(-)
 delete mode 100644 
package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch
 delete mode 100644 
package/kernel/mac80211/patches/ath/395-ath9k-add-back-support-for-using-active-monitor-inte.patch
 delete mode 100644 
package/kernel/mac80211/patches/ath/976-ath10k-Limit-available-channels-via-DT-ieee80211-fre.patch
 delete mode 100644 
package/kernel/mac80211/patches/brcm/302-v4.20-0001-brcmfmac-fix-wrong-strnchr-usage.patch
 delete mode 100644 
package/kernel/mac80211/patches/brcm/304-v4.20-0002-brcmfmac-increase-buffer-for-obtaining-firmware-capa.patch
 delete mode 100644 
package/kernel/mac80211/patches/subsys/370-backports-Adapt-to-changes-to-skb_get_hash_perturb.patch

diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 8545f23298..ed104a53fc 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -10,10 +10,10 @@ include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=mac80211
 
-PKG_VERSION:=4.19.79-1
+PKG_VERSION:=4.19.85-1
 PKG_RELEASE:=1
-PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v4.19.79/
-PKG_HASH:=ee03b16949e4968092cfed3cd763ff4682bc29fa3b52ebc239aa915583413cf3
+PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v4.19.85/
+PKG_HASH:=6a92df43e8c3e2410638d84dfd18773d667757532dd0a911227c9b7d65aee34d
 
 PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
diff --git 
a/package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch
 
b/package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch
deleted file mode 100644
index d5c37825fd..00
--- 
a/package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From: Felix Fietkau 
-Date: Mon, 20 Aug 2018 11:35:05 +0200
-Subject: [PATCH] ath9k: fix tx99 with monitor mode interface
-
-Tx99 is typically configured via a monitor mode interface, which does
-not get added to the driver as a vif. Since the code currently expects
-a configured virtual interface for tx99, enabling tx99 via debugfs fails.
-Since the vif is not needed anyway, remove all checks for it.
-
-Signed-off-by: Felix Fietkau 

-
 a/drivers/net/wireless/ath/ath9k/ath9k.h
-+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
-@@ -1074,7 +1074,6 @@ struct ath_softc {
- 
-   struct ath_spec_scan_priv spec_priv;
- 
--  struct ieee80211_vif *tx99_vif;
-   struct sk_buff *tx99_skb;
-   bool tx99_state;
-   s16 tx99_power;
 a/drivers/net/wireless/ath/ath9k/main.c
-+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1251,15 +1251,10 @@ static int ath9k_add_interface(struct ie
-   struct ath_vif *avp = (void *)vif->drv_priv;
-   struct ath_node *an = >mcast_node;
- 
--  mutex_lock(>mutex);
-+  if (IS_ENABLED(CPTCFG_ATH9K_TX99))
-+  return -EOPNOTSUPP;
- 
--  if (IS_ENABLED(CPTCFG_ATH9K_TX99)) {
--  if (sc->cur_chan->nvifs >= 1) {
--  mutex_unlock(>mutex);
--  return -EOPNOTSUPP;
--  }
--  sc->tx99_vif = vif;
--  }
-+  mutex_lock(>mutex);
- 
-   ath_dbg(common, CONFIG, "Attach a VIF of type: %d\n", vif->type);
-   sc->cur_chan->nvifs++;
-@@ -1342,7 +1337,6 @@ static void ath9k_remove_interface(struc
-   ath9k_p2p_remove_vif(sc, vif);
- 
-   sc->cur_chan->nvifs--;
--  sc->tx99_vif = NULL;
-   if (!ath9k_is_chanctx_enabled())
-   list_del(>list);
- 
 a/drivers/net/wireless/ath/ath9k/tx99.c
-+++ b/drivers/net/wireless/ath/ath9k/tx99.c
-@@ -54,12 +54,6 @@ static struct sk_buff *ath9k_build_tx99_
-   struct ieee80211_hdr *hdr;
-   struct ieee80211_tx_info *tx_info;
-   struct sk_buff *skb;
--