Skip to content
Snippets Groups Projects
  1. Dec 20, 2021
  2. Dec 17, 2021
  3. Dec 14, 2021
    • Hauke Mehrtens's avatar
      mac80211: Update to version 5.15.8 · 3531a96d
      Hauke Mehrtens authored
      
      The following patches were backported from upstream before and are not
      needed any more:
        package/kernel/mac80211/patches/ath10k/081-ath10k-fix-module-load-regression-with-iram-recovery-feature.patch
        package/kernel/mac80211/patches/ath10k/980-ath10k-fix-max-antenna-gain-unit.patch
        package/kernel/mac80211/patches/build/010-headers-Add-devm_platform_get_and_ioremap_resource.patch
        package/kernel/mac80211/patches/subsys/300-mac80211-drop-check-for-DONT_REORDER-in-__ieee80211_.patch
        package/kernel/mac80211/patches/subsys/307-mac80211-do-not-access-the-IV-when-it-was-stripped.patch
        package/kernel/mac80211/patches/subsys/308-mac80211-fix-radiotap-header-generation.patch
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      3531a96d
  4. Dec 10, 2021
  5. Dec 05, 2021
  6. Dec 03, 2021
    • Felix Fietkau's avatar
      mt76: update to the latest version · fc4398fe
      Felix Fietkau authored
      
      71e08471ab56 mt76: eeprom: fix return code on corrected bit-flips
      9a8fc6636d83 mt76: move sar_capa configuration in common code
      7cdbea1dc82a mt76: only access ieee80211_hdr after mt76_insert_ccmp_hdr
      678071ef7029 mt76: mt7615: clear mcu error interrupt status on mt7663
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      fc4398fe
  7. Dec 02, 2021
    • Felix Fietkau's avatar
      mac80211: fix tx aggregation locking issue · a1a71a71
      Felix Fietkau authored
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      a1a71a71
    • Felix Fietkau's avatar
    • Felix Fietkau's avatar
      mt76: update to the latest version · 7e153900
      Felix Fietkau authored
      
      a6451fea5a3d mt76: mt7615: improve wmm index allocation
      1911486414dc mt76: mt7915: improve wmm index allocation
      7998a41d1321 mt76: clear sta powersave flag after notifying driver
      664475574438 mt76: mt7603: introduce SAR support
      5c0da39c940b mt76: mt7915: introduce SAR support
      77fc6c439a32 mt76: mt7603: improve reliability of tx powersave filtering
      094b3d800835 firmware: update mt7663 rebb firmware to 20200904171623
      25237b19bcc1 mt76: eeprom: tolerate corrected bit-flips
      1463cb4c6ac2 mt76: mt7921: fix boolreturn.cocci warning
      586bad6020f7 mt76: mt7921: use correct iftype data on 6GHz cap init
      8ec95c910425 mt76: mt7921s: fix bus hang with wrong privilege
      688e30c7d854 firmware: update mt7921 firmware to version 20211014
      6fad970893dd mt76: fix key pointer overwrite in mt7921s_write_txwi/mt7663_usb_sdio_write_txwi
      95acf972750c mt76: fix 802.3 RX fail by hdr_trans
      3f402b0cf6c0 mt76: mt7921s: fix possible kernel crash due to invalid Rx count
      929a03a8d65d mt76: connac: fix last_chan configuration in mt76_connac_mcu_rate_txpower_band
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7e153900
  8. Nov 29, 2021
  9. Nov 28, 2021
  10. Nov 27, 2021
    • Ansuel Smith's avatar
      ath10k-ct: use 5.15 version · 553a3ac2
      Ansuel Smith authored
      
      We switched to mac80211 5.15 backport version.
      Also switch ath10k-ct to 5.15 and drop the mac address patch
      that got merged upstream.
      Compile and tested on ipq806x Netgear R7800.
      Also update the ath10k-ct to latest version to fix a typo
      for the new version in the kernel log.
      
      Signed-off-by: default avatarAnsuel Smith <ansuelsmth@gmail.com>
      553a3ac2
  11. Nov 26, 2021
  12. Nov 24, 2021
  13. Nov 23, 2021
  14. Nov 22, 2021
    • Felix Fietkau's avatar
      mt76: update to the latest version · 24bb494b
      Felix Fietkau authored
      
      5dd32475c859 mt76: mt7915: get rid of mt7915_mcu_set_fixed_rate routine
      f5cfaaff3dd1 mt76: mt7921: drop offload_flags overwritten
      f5ad840ca5c0 mt76: mt7615: fix possible deadlock while mt7615_register_ext_phy()
      29a8a08827b1 mt76: mt7921: fix MT7921E reset failure
      f44685f2faee mt76: mt7915: fix return condition in mt7915_tm_reg_backup_restore()
      ae8e02ddd2b0 mt76: mt7915: fix SMPS operation fail
      e814e15716b0 mt76: reverse the first fragmented frame to 802.11
      c9bca3ed9566 mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode
      dd054b7e16e7 mt76: only set rx radiotap flag from within decoder functions
      f1520c9bb332 mt76: mt7915: add default calibrated data support
      0c489ea2865a mt76: testmode: add support to set MAC
      91c5da3d0a7c mt76: mt7921: add support for PCIe ID 0x0608/0x0616
      ca39b4bbc227 mt76: debugfs: fix queue reporting for mt76-usb
      00b6f497e2e8 mt76: mt7921: introduce 160 MHz channel bandwidth support
      c1574466c733 mt76: fix possible OOB issue in mt76_calculate_default_rate
      9680a17b0aed mt76: mt7921: fix possible NULL pointer dereference in mt7921_mac_write_txwi
      78fc0dcdcef0 mt76: connac: fix a theoretical NULL pointer dereference in mt76_connac_get_phy_mode
      05953e7d6fe7 mt76: mt7615: remove dead code in get_omac_idx
      39f6c37127c1 mt76: connac: remove PHY_MODE_AX_6G configuration in mt76_connac_get_phy_mode
      526591b203f3 mt76: do not pass the received frame with decryption error
      256789bb400f mt76: fix the wiphy's available antennas to the correct value
      fa187f5cf068 mt76: fix timestamp check in tx_status
      11ebf11a3587 mt76: mt7915: fix the wrong SMPS mode
      8c69b815ee7f mt76: mt7921: honor mt76_connac_mcu_set_rate_txpower return value in mt7921_config
      bc6798f729f9 mt76: move sar utilities to mt76-core module
      b1d0ad2e74fe mt76: mt76x02: introduce SAR support
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      24bb494b
    • Felix Fietkau's avatar
      mac80211: set beamformer/beamformee number of antennas in VHT caps · e2c4998f
      Felix Fietkau authored
      
      Without this, beamforming is probably not working
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      e2c4998f
  15. Nov 20, 2021
  16. Nov 19, 2021
    • Felix Fietkau's avatar
      bpf-headers: switch to mips64 for 64 bit targets · 8f355bec
      Felix Fietkau authored
      
      BTF pointer data has a different size on 32 vs 64 bit targets,
      and while the generated eBPF code works, the BTF data fails to validate
      on mismatch
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      8f355bec
    • Bastian Bittorf's avatar
      mac80211: fix IBSS/adhoc mode for brcmfmac · ea5fce3f
      Bastian Bittorf authored
      
      On systems using brmcfmac (e.g. Raspberry Pi Zero W) without this fix,
      the final setup-call:
      iw dev wlan0 ibss join ...
      
      fails with returncode 161 and message:
      "command failed: Not supported (-95)"
      
      So this patch calls an explicit:
      iw dev wlan0 set type ibss
      just prior to the 'ibss join' command.
      
      I have tested several ath9k and mt76xx devices
      with different revisions: this patch does not harm.
      
      please also apply to stable branch.
      
      Signed-off-by: default avatarBastian Bittorf <bb@npl.de>
      ea5fce3f
  17. Nov 15, 2021
  18. Nov 13, 2021
    • Hauke Mehrtens's avatar
      mac80211: Fix deadlock when configuring wifi · c90e10b6
      Hauke Mehrtens authored
      
      The nl80211_set_wiphy() function was changed between kernel 5.11 and
      5.12 to take the rdev->wiphy lock which should be freed at the end
      again. The 500-mac80211_configure_antenna_gain.patch added some code
      which just returned in some cases without unlocking. This resulted in a
      deadlock with brcmfmac.
      This patch fixes this by also jumping to the out label in case we want
      to leave the function.
      This fixes a hanging system when brcmfmac is in use. I do not know why
      we do not see this with other driver.
      
      The kernel returns very useful debug details when setting these OpenWrt
      configuration options:
      CONFIG_KERNEL_DETECT_HUNG_TASK=y
      CONFIG_KERNEL_PROVE_LOCKING=y
      
      Fixes: FS#4122
      Fixes: b96c2569 ("mac80211: Update to version 5.12.19-1")
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      c90e10b6
  19. Nov 10, 2021
  20. Nov 07, 2021
  21. Nov 06, 2021
    • Christian Lamparter's avatar
      ath9k: nvmem for ath9k caldata · d9131866
      Christian Lamparter authored
      
      With "getting WIFI MAC from NVMEM" working on ath79 on 5.10,
      the next logical step I think is to utilize nvmem subsystem
      to also get the calibration data from there.
      
      This will tremendously speed up the wifi bring-up, since
      we no longer need the userspace helper for the simple
      devices that can just load them from there.
      
      included with this patch is a package/mac80211/refresh.
      
      Tested on: WNDR3700v2, TP-Link Archer C7v2
      
      Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
      d9131866
  22. Nov 03, 2021
  23. Nov 02, 2021
  24. Nov 01, 2021
    • Felix Fietkau's avatar
      bpf-headers: add a package with kernel headers for ebpf · a537d06c
      Felix Fietkau authored
      
      In order to genererate suitable kernel headers, a 5.10 kernel tree is
      prepared with a default config for mips. The arch is forced to mips in
      order to avoid issues with inline asm on various architectures in a way
      that doesn't involve relying on the host toolchain/headers.
      It also has the advantage of supporting both endian types
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      a537d06c
  25. Oct 31, 2021
    • Florian Eckert's avatar
      kernel/modules: prevent bonding driver to create default bond0 interface · b69dfb0a
      Florian Eckert authored
      
      When loading the bonding driver, bonding interface are automatically
      created on bonding module load.
      
      > ip a s bond0
      > 14: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
      > group default qlen 1000
      >    link/ether a6:f2:20:64:c1:b9 brd ff:ff:ff:ff:ff:ff
      
      This is not necessary in openwrt as we do not use this created interface.
      The netifd creates a bonding interface based on its network configuration
      name and configures this over the netifd bonding proto handler.
      
      In order to keep the overview of the interfaces clear, bonding
      interfaces should not be created automatically when loading this module,
      because they are not used anyway.
      
      Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
      b69dfb0a
Loading