Skip to content

Commit 1db5fcb

Browse files
golanInteljmberg-intel
authored andcommitted
iwlwifi: don't advertise TWT support
Some APs misbehave when TWT is used and cause our firmware to crash. We don't know a reasonable way to detect and work around this problem in the FW yet. To prevent these crashes, disable TWT in the driver by stopping to advertise TWT support. Link: https://bugzilla.kernel.org/show_bug.cgi?id=215523 Signed-off-by: Golan Ben Ami <[email protected]> [reworded the commit message] Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 50bb467 commit 1db5fcb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,7 @@ static const struct ieee80211_sband_iftype_data iwl_he_capa[] = {
553553
.has_he = true,
554554
.he_cap_elem = {
555555
.mac_cap_info[0] =
556-
IEEE80211_HE_MAC_CAP0_HTC_HE |
557-
IEEE80211_HE_MAC_CAP0_TWT_REQ,
556+
IEEE80211_HE_MAC_CAP0_HTC_HE,
558557
.mac_cap_info[1] =
559558
IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_16US |
560559
IEEE80211_HE_MAC_CAP1_MULTI_TID_AGG_RX_QOS_8,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ static const u8 he_if_types_ext_capa_sta[] = {
226226
[0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING,
227227
[2] = WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT,
228228
[7] = WLAN_EXT_CAPA8_OPMODE_NOTIF,
229-
[9] = WLAN_EXT_CAPA10_TWT_REQUESTER_SUPPORT,
230229
};
231230

232231
static const struct wiphy_iftype_ext_capab he_iftypes_ext_capa[] = {

0 commit comments

Comments
 (0)