Skip to content

Commit 9a8e4a5

Browse files
golanIntelgregkh
authored andcommitted
iwlwifi: don't advertise TWT support
[ Upstream commit 1db5fcb ] 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 <golan.ben.ami@intel.com> [reworded the commit message] Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/20220301072926.153969-1-luca@coelho.fi Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent c5ea022 commit 9a8e4a5

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,7 @@ static struct ieee80211_sband_iftype_data iwl_he_capa[] = {
587587
.has_he = true,
588588
.he_cap_elem = {
589589
.mac_cap_info[0] =
590-
IEEE80211_HE_MAC_CAP0_HTC_HE |
591-
IEEE80211_HE_MAC_CAP0_TWT_REQ,
590+
IEEE80211_HE_MAC_CAP0_HTC_HE,
592591
.mac_cap_info[1] =
593592
IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_16US |
594593
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
@@ -350,7 +350,6 @@ static const u8 he_if_types_ext_capa_sta[] = {
350350
[0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING,
351351
[2] = WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT,
352352
[7] = WLAN_EXT_CAPA8_OPMODE_NOTIF,
353-
[9] = WLAN_EXT_CAPA10_TWT_REQUESTER_SUPPORT,
354353
};
355354

356355
static const struct wiphy_iftype_ext_capab he_iftypes_ext_capa[] = {

0 commit comments

Comments
 (0)