Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'wireless-drivers-2021-12-15' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers

Kalle Valo says:

====================
wireless-drivers fixes for v5.16

Second set of fixes for v5.16, hopefully also the last one. I changed
my email in MAINTAINERS, one crash fix in iwlwifi and some build
problems fixed.

iwlwifi

* fix crash caused by a warning

* fix LED linking problem

brcmsmac

* rework LED dependencies for being consistent with other drivers

mt76

* mt7921: fix build regression
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

+24 -19
+6 -6
MAINTAINERS
··· 3066 3066 F: drivers/phy/qualcomm/phy-ath79-usb.c 3067 3067 3068 3068 ATHEROS ATH GENERIC UTILITIES 3069 - M: Kalle Valo <kvalo@codeaurora.org> 3069 + M: Kalle Valo <kvalo@kernel.org> 3070 3070 L: linux-wireless@vger.kernel.org 3071 3071 S: Supported 3072 3072 F: drivers/net/wireless/ath/* ··· 3081 3081 F: drivers/net/wireless/ath/ath5k/ 3082 3082 3083 3083 ATHEROS ATH6KL WIRELESS DRIVER 3084 - M: Kalle Valo <kvalo@codeaurora.org> 3084 + M: Kalle Valo <kvalo@kernel.org> 3085 3085 L: linux-wireless@vger.kernel.org 3086 3086 S: Supported 3087 3087 W: https://wireless.wiki.kernel.org/en/users/Drivers/ath6kl ··· 13249 13249 F: include/uapi/linux/netdevice.h 13250 13250 13251 13251 NETWORKING DRIVERS (WIRELESS) 13252 - M: Kalle Valo <kvalo@codeaurora.org> 13252 + M: Kalle Valo <kvalo@kernel.org> 13253 13253 L: linux-wireless@vger.kernel.org 13254 13254 S: Maintained 13255 13255 Q: http://patchwork.kernel.org/project/linux-wireless/list/ ··· 15705 15705 F: drivers/media/tuners/qt1010* 15706 15706 15707 15707 QUALCOMM ATHEROS ATH10K WIRELESS DRIVER 15708 - M: Kalle Valo <kvalo@codeaurora.org> 15708 + M: Kalle Valo <kvalo@kernel.org> 15709 15709 L: ath10k@lists.infradead.org 15710 15710 S: Supported 15711 15711 W: https://wireless.wiki.kernel.org/en/users/Drivers/ath10k ··· 15713 15713 F: drivers/net/wireless/ath/ath10k/ 15714 15714 15715 15715 QUALCOMM ATHEROS ATH11K WIRELESS DRIVER 15716 - M: Kalle Valo <kvalo@codeaurora.org> 15716 + M: Kalle Valo <kvalo@kernel.org> 15717 15717 L: ath11k@lists.infradead.org 15718 15718 S: Supported 15719 15719 T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ··· 15877 15877 F: drivers/media/platform/qcom/venus/ 15878 15878 15879 15879 QUALCOMM WCN36XX WIRELESS DRIVER 15880 - M: Kalle Valo <kvalo@codeaurora.org> 15880 + M: Kalle Valo <kvalo@kernel.org> 15881 15881 L: wcn36xx@lists.infradead.org 15882 15882 S: Supported 15883 15883 W: https://wireless.wiki.kernel.org/en/users/Drivers/wcn36xx
+9 -5
drivers/net/wireless/broadcom/brcm80211/Kconfig
··· 7 7 depends on MAC80211 8 8 depends on BCMA_POSSIBLE 9 9 select BCMA 10 - select NEW_LEDS if BCMA_DRIVER_GPIO 11 - select LEDS_CLASS if BCMA_DRIVER_GPIO 12 10 select BRCMUTIL 13 11 select FW_LOADER 14 12 select CORDIC 15 13 help 16 14 This module adds support for PCIe wireless adapters based on Broadcom 17 - IEEE802.11n SoftMAC chipsets. It also has WLAN led support, which will 18 - be available if you select BCMA_DRIVER_GPIO. If you choose to build a 19 - module, the driver will be called brcmsmac.ko. 15 + IEEE802.11n SoftMAC chipsets. If you choose to build a module, the 16 + driver will be called brcmsmac.ko. 17 + 18 + config BRCMSMAC_LEDS 19 + def_bool BRCMSMAC && BCMA_DRIVER_GPIO && MAC80211_LEDS 20 + help 21 + The brcmsmac LED support depends on the presence of the 22 + BCMA_DRIVER_GPIO driver, and it only works if LED support 23 + is enabled and reachable from the driver module. 20 24 21 25 source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig" 22 26
+1 -1
drivers/net/wireless/broadcom/brcm80211/brcmsmac/Makefile
··· 42 42 brcms_trace_events.o \ 43 43 debug.o 44 44 45 - brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o 45 + brcmsmac-$(CONFIG_BRCMSMAC_LEDS) += led.o 46 46 47 47 obj-$(CONFIG_BRCMSMAC) += brcmsmac.o
+1 -1
drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.h
··· 24 24 struct gpio_desc *gpiod; 25 25 }; 26 26 27 - #ifdef CONFIG_BCMA_DRIVER_GPIO 27 + #ifdef CONFIG_BRCMSMAC_LEDS 28 28 void brcms_led_unregister(struct brcms_info *wl); 29 29 int brcms_led_register(struct brcms_info *wl); 30 30 #else
+2 -2
drivers/net/wireless/intel/iwlegacy/Kconfig
··· 2 2 config IWLEGACY 3 3 tristate 4 4 select FW_LOADER 5 - select NEW_LEDS 6 - select LEDS_CLASS 7 5 select LEDS_TRIGGERS 8 6 select MAC80211_LEDS 9 7 10 8 config IWL4965 11 9 tristate "Intel Wireless WiFi 4965AGN (iwl4965)" 12 10 depends on PCI && MAC80211 11 + depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 13 12 select IWLEGACY 14 13 help 15 14 This option enables support for ··· 37 38 config IWL3945 38 39 tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)" 39 40 depends on PCI && MAC80211 41 + depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 40 42 select IWLEGACY 41 43 help 42 44 Select to build the driver supporting the:
+1 -1
drivers/net/wireless/intel/iwlwifi/Kconfig
··· 47 47 48 48 config IWLWIFI_LEDS 49 49 bool 50 - depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI 50 + depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211 51 51 depends on IWLMVM || IWLDVM 52 52 select LEDS_TRIGGERS 53 53 select MAC80211_LEDS
+3 -2
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
··· 269 269 u8 rate_plcp; 270 270 u32 rate_flags = 0; 271 271 bool is_cck; 272 - struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); 273 272 274 273 /* info->control is only relevant for non HW rate control */ 275 274 if (!ieee80211_hw_check(mvm->hw, HAS_RATE_CONTROL)) { 275 + struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta); 276 + 276 277 /* HT rate doesn't make sense for a non data frame */ 277 278 WARN_ONCE(info->control.rates[0].flags & IEEE80211_TX_RC_MCS && 278 279 !ieee80211_is_data(fc), 279 280 "Got a HT rate (flags:0x%x/mcs:%d/fc:0x%x/state:%d) for a non data frame\n", 280 281 info->control.rates[0].flags, 281 282 info->control.rates[0].idx, 282 - le16_to_cpu(fc), mvmsta->sta_state); 283 + le16_to_cpu(fc), sta ? mvmsta->sta_state : -1); 283 284 284 285 rate_idx = info->control.rates[0].idx; 285 286 }
+1 -1
drivers/net/wireless/mediatek/mt76/Makefile
··· 34 34 obj-$(CONFIG_MT7603E) += mt7603/ 35 35 obj-$(CONFIG_MT7615_COMMON) += mt7615/ 36 36 obj-$(CONFIG_MT7915E) += mt7915/ 37 - obj-$(CONFIG_MT7921E) += mt7921/ 37 + obj-$(CONFIG_MT7921_COMMON) += mt7921/