Skip to content
Snippets Groups Projects
  1. Jan 17, 2025
  2. Jan 16, 2025
  3. Jan 15, 2025
    • Kalle Valo's avatar
      Merge tag 'ath-next-20250114' of git://git.kernel.org/pub/scm/linux/kernel/git/ath/ath · 89d62bcd
      Kalle Valo authored
      ath.git patches for v6.14
      
      This development cycle again featured multiple patchsets to ath12k to
      support the new 802.11be MLO feature, this time including the device
      grouping infrastructure, and the advertisement of MLO support to the
      wireless core. However the MLO feature is still considered to be
      incomplete.
      
      In addition, there was the usual set of bug fixes and cleanups, mostly
      in ath12k, but also in ath9k.
      89d62bcd
    • Alexis Lothoré's avatar
      wifi: wilc1000: unregister wiphy only after netdev registration · 208dea91
      Alexis Lothoré authored
      
      wiphy_unregister()/wiphy_free() has been recently decoupled from
      wilc_netdev_cleanup() to fix a faulty error path in sdio/spi probe
      functions. However this change introduced a new failure when simply
      loading then unloading the driver:
      
        $ modprobe wilc1000-sdio; modprobe -r wilc1000-sdio
        WARNING: CPU: 0 PID: 115 at net/wireless/core.c:1145 wiphy_unregister+0x904/0xc40 [cfg80211]
        Modules linked in: wilc1000_sdio(-) wilc1000 cfg80211 bluetooth ecdh_generic ecc
        CPU: 0 UID: 0 PID: 115 Comm: modprobe Not tainted 6.13.0-rc6+ #45
        Hardware name: Atmel SAMA5
        Call trace:
         unwind_backtrace from show_stack+0x18/0x1c
         show_stack from dump_stack_lvl+0x44/0x70
         dump_stack_lvl from __warn+0x118/0x27c
         __warn from warn_slowpath_fmt+0xcc/0x140
         warn_slowpath_fmt from wiphy_unregister+0x904/0xc40 [cfg80211]
         wiphy_unregister [cfg80211] from wilc_sdio_remove+0xb0/0x15c [wilc1000_sdio]
         wilc_sdio_remove [wilc1000_sdio] from sdio_bus_remove+0x104/0x3f0
         sdio_bus_remove from device_release_driver_internal+0x424/0x5dc
         device_release_driver_internal from driver_detach+0x120/0x224
         driver_detach from bus_remove_driver+0x17c/0x314
         bus_remove_driver from sys_delete_module+0x310/0x46c
         sys_delete_module from ret_fast_syscall+0x0/0x1c
        Exception stack(0xd0acbfa8 to 0xd0acbff0)
        bfa0:                   0044b210 0044b210 0044b24c 00000800 00000000 00000000
        bfc0: 0044b210 0044b210 00000000 00000081 00000000 0044b210 00000000 00000000
        bfe0: 00448e24 b6af99c4 0043ea0d aea2e12c
        irq event stamp: 0
        hardirqs last  enabled at (0): [<00000000>] 0x0
        hardirqs last disabled at (0): [<c01588f0>] copy_process+0x1c4c/0x7bec
        softirqs last  enabled at (0): [<c0158944>] copy_process+0x1ca0/0x7bec
        softirqs last disabled at (0): [<00000000>] 0x0
      
      The warning is triggered by the fact that there is still a
      wireless_device linked to the wiphy we are unregistering, due to
      wiphy_unregister() now being called after net device unregister (performed
      in wilc_netdev_cleanup()). Fix this warning by moving wiphy_unregister()
      after wilc_netdev_cleanup() is nominal paths (ie: driver removal).
      wilc_netdev_cleanup() ordering is left untouched in error paths in probe
      function because net device is not registered in those paths (so the
      warning can not trigger), yet the wiphy can still be registered, and we
      still some cleanup steps from wilc_netdev_cleanup().
      
      Fixes: 1be94490 ("wifi: wilc1000: unregister wiphy only if it has been registered")
      Signed-off-by: default avatarAlexis Lothoré <alexis.lothore@bootlin.com>
      Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
      Link: https://patch.msgid.link/20250114-wilc1000_modprobe-v1-1-ad19d46f0c07@bootlin.com
      208dea91
    • Kalle Valo's avatar
      Merge tag 'mt76-for-kvalo-2025-01-14' of https://github.com/nbd168/wireless · 48b5bccf
      Kalle Valo authored
      mt76 patches for 6.14
      
      - mlo fixes for mt792x
      - single wiphy multiband support for mt7996
      - mt7915 stability fixes
      48b5bccf
    • Kalle Valo's avatar
      Merge tag 'rtw-next-2025-01-12' of https://github.com/pkshih/rtw · 80524ab2
      Kalle Valo authored
      rtw-next patches for v6.14
      
      rtl8xxxu, rtlwifi and rtw88 fix field issues reported by users.
      rtw89 is ongoing to implement MLO and fix issues during the development.
      
      Major changes:
      
      rtw88:
      
       - support LED blinking
      
      rtw89:
      
       - support RTL8922AE-VS chip
      80524ab2
    • Dmitry Antipov's avatar
      wifi: cfg80211: adjust allocation of colocated AP data · 1a0d2477
      Dmitry Antipov authored
      
      In 'cfg80211_scan_6ghz()', an instances of 'struct cfg80211_colocated_ap'
      are allocated as if they would have 'ssid' as trailing VLA member. Since
      this is not so, extra IEEE80211_MAX_SSID_LEN bytes are not needed.
      Briefly tested with KUnit.
      
      Fixes: c8cb5b85 ("nl80211/cfg80211: support 6 GHz scanning")
      Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
      Link: https://patch.msgid.link/20250113155417.552587-1-dmantipov@yandex.ru
      
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      1a0d2477
    • Dan Carpenter's avatar
      wifi: mac80211: fix memory leak in ieee80211_mgd_assoc_ml_reconf() · a4058dc1
      Dan Carpenter authored
      
      Free the "data" allocation before returning on this error path.
      
      Fixes: 36e05b0b ("wifi: mac80211: Support dynamic link addition and removal")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
      Link: https://patch.msgid.link/7ad826a7-7651-48e7-9589-7d2dc17417c2@stanley.mountain
      
      
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      a4058dc1
  4. Jan 14, 2025
Loading