Skip to content

Commit 1d1c950

Browse files
committed
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 <[email protected]>
2 parents 7c8089f + f7d55d2 commit 1d1c950

File tree

8 files changed

+24
-19
lines changed

8 files changed

+24
-19
lines changed

MAINTAINERS

+6-6
Original file line numberDiff line numberDiff line change
@@ -3066,7 +3066,7 @@ F: Documentation/devicetree/bindings/phy/phy-ath79-usb.txt
30663066
F: drivers/phy/qualcomm/phy-ath79-usb.c
30673067

30683068
ATHEROS ATH GENERIC UTILITIES
3069-
M: Kalle Valo <kvalo@codeaurora.org>
3069+
M: Kalle Valo <kvalo@kernel.org>
30703070
30713071
S: Supported
30723072
F: drivers/net/wireless/ath/*
@@ -3081,7 +3081,7 @@ W: https://wireless.wiki.kernel.org/en/users/Drivers/ath5k
30813081
F: drivers/net/wireless/ath/ath5k/
30823082

30833083
ATHEROS ATH6KL WIRELESS DRIVER
3084-
M: Kalle Valo <kvalo@codeaurora.org>
3084+
M: Kalle Valo <kvalo@kernel.org>
30853085
30863086
S: Supported
30873087
W: https://wireless.wiki.kernel.org/en/users/Drivers/ath6kl
@@ -13249,7 +13249,7 @@ F: include/uapi/linux/if_*
1324913249
F: include/uapi/linux/netdevice.h
1325013250

1325113251
NETWORKING DRIVERS (WIRELESS)
13252-
M: Kalle Valo <kvalo@codeaurora.org>
13252+
M: Kalle Valo <kvalo@kernel.org>
1325313253
1325413254
S: Maintained
1325513255
Q: http://patchwork.kernel.org/project/linux-wireless/list/
@@ -15705,15 +15705,15 @@ T: git git://linuxtv.org/anttip/media_tree.git
1570515705
F: drivers/media/tuners/qt1010*
1570615706

1570715707
QUALCOMM ATHEROS ATH10K WIRELESS DRIVER
15708-
M: Kalle Valo <kvalo@codeaurora.org>
15708+
M: Kalle Valo <kvalo@kernel.org>
1570915709
1571015710
S: Supported
1571115711
W: https://wireless.wiki.kernel.org/en/users/Drivers/ath10k
1571215712
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
1571315713
F: drivers/net/wireless/ath/ath10k/
1571415714

1571515715
QUALCOMM ATHEROS ATH11K WIRELESS DRIVER
15716-
M: Kalle Valo <kvalo@codeaurora.org>
15716+
M: Kalle Valo <kvalo@kernel.org>
1571715717
1571815718
S: Supported
1571915719
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
@@ -15877,7 +15877,7 @@ F: Documentation/devicetree/bindings/media/*venus*
1587715877
F: drivers/media/platform/qcom/venus/
1587815878

1587915879
QUALCOMM WCN36XX WIRELESS DRIVER
15880-
M: Kalle Valo <kvalo@codeaurora.org>
15880+
M: Kalle Valo <kvalo@kernel.org>
1588115881
1588215882
S: Supported
1588315883
W: https://wireless.wiki.kernel.org/en/users/Drivers/wcn36xx

drivers/net/wireless/broadcom/brcm80211/Kconfig

+9-5
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ config BRCMSMAC
77
depends on MAC80211
88
depends on BCMA_POSSIBLE
99
select BCMA
10-
select NEW_LEDS if BCMA_DRIVER_GPIO
11-
select LEDS_CLASS if BCMA_DRIVER_GPIO
1210
select BRCMUTIL
1311
select FW_LOADER
1412
select CORDIC
1513
help
1614
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.
2024

2125
source "drivers/net/wireless/broadcom/brcm80211/brcmfmac/Kconfig"
2226

drivers/net/wireless/broadcom/brcm80211/brcmsmac/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ brcmsmac-y := \
4242
brcms_trace_events.o \
4343
debug.o
4444

45-
brcmsmac-$(CONFIG_BCMA_DRIVER_GPIO) += led.o
45+
brcmsmac-$(CONFIG_BRCMSMAC_LEDS) += led.o
4646

4747
obj-$(CONFIG_BRCMSMAC) += brcmsmac.o

drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct brcms_led {
2424
struct gpio_desc *gpiod;
2525
};
2626

27-
#ifdef CONFIG_BCMA_DRIVER_GPIO
27+
#ifdef CONFIG_BRCMSMAC_LEDS
2828
void brcms_led_unregister(struct brcms_info *wl);
2929
int brcms_led_register(struct brcms_info *wl);
3030
#else

drivers/net/wireless/intel/iwlegacy/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
config IWLEGACY
33
tristate
44
select FW_LOADER
5-
select NEW_LEDS
6-
select LEDS_CLASS
75
select LEDS_TRIGGERS
86
select MAC80211_LEDS
97

108
config IWL4965
119
tristate "Intel Wireless WiFi 4965AGN (iwl4965)"
1210
depends on PCI && MAC80211
11+
depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
1312
select IWLEGACY
1413
help
1514
This option enables support for
@@ -38,6 +37,7 @@ config IWL4965
3837
config IWL3945
3938
tristate "Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)"
4039
depends on PCI && MAC80211
40+
depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
4141
select IWLEGACY
4242
help
4343
Select to build the driver supporting the:

drivers/net/wireless/intel/iwlwifi/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if IWLWIFI
4747

4848
config IWLWIFI_LEDS
4949
bool
50-
depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI
50+
depends on LEDS_CLASS=y || LEDS_CLASS=MAC80211
5151
depends on IWLMVM || IWLDVM
5252
select LEDS_TRIGGERS
5353
select MAC80211_LEDS

drivers/net/wireless/intel/iwlwifi/mvm/tx.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -269,17 +269,18 @@ static u32 iwl_mvm_get_tx_rate(struct iwl_mvm *mvm,
269269
u8 rate_plcp;
270270
u32 rate_flags = 0;
271271
bool is_cck;
272-
struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
273272

274273
/* info->control is only relevant for non HW rate control */
275274
if (!ieee80211_hw_check(mvm->hw, HAS_RATE_CONTROL)) {
275+
struct iwl_mvm_sta *mvmsta = iwl_mvm_sta_from_mac80211(sta);
276+
276277
/* HT rate doesn't make sense for a non data frame */
277278
WARN_ONCE(info->control.rates[0].flags & IEEE80211_TX_RC_MCS &&
278279
!ieee80211_is_data(fc),
279280
"Got a HT rate (flags:0x%x/mcs:%d/fc:0x%x/state:%d) for a non data frame\n",
280281
info->control.rates[0].flags,
281282
info->control.rates[0].idx,
282-
le16_to_cpu(fc), mvmsta->sta_state);
283+
le16_to_cpu(fc), sta ? mvmsta->sta_state : -1);
283284

284285
rate_idx = info->control.rates[0].idx;
285286
}

drivers/net/wireless/mediatek/mt76/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ obj-$(CONFIG_MT76x2_COMMON) += mt76x2/
3434
obj-$(CONFIG_MT7603E) += mt7603/
3535
obj-$(CONFIG_MT7615_COMMON) += mt7615/
3636
obj-$(CONFIG_MT7915E) += mt7915/
37-
obj-$(CONFIG_MT7921E) += mt7921/
37+
obj-$(CONFIG_MT7921_COMMON) += mt7921/

0 commit comments

Comments
 (0)