Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1654618pxp; Thu, 17 Mar 2022 13:43:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUzAHWW01c0Ae/O6ddulQoP32tyqRzBqZLH9uKibh1aySydx/7zxFXNYvzV5WYa7YgKfi/ X-Received: by 2002:a17:90a:de90:b0:1c6:625f:d976 with SMTP id n16-20020a17090ade9000b001c6625fd976mr7294255pjv.218.1647549806232; Thu, 17 Mar 2022 13:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647549806; cv=none; d=google.com; s=arc-20160816; b=dI9Ksr/9Hi9I2usCDA966uyFP1WgEop4/M3eSWliO/5sRr5kjsN/aSJd293QDF3FGg rx6iPsGrYzcDKrPfw9UHGQPr75vIUT77tSnzGELQyoJMJvhpM62/sM+m0iYV1M5tEAtP IZ3c8Bsf6n4dy87httOUKD3YvygDlrZiPf4bo0LXtF4VrXld2n/g+58JGtEIVu7BtKSe KtRrCBcG1QAifO872VaDLRod3+dS24ViQYhAG1abscg21mrhR0SBQVocAYR06sHxeNKJ jXIqWtjnc4l//sCznXMS/r+/EIuSptB3W0cPY31Kbcx2VPZ1aEaScGoKDnf1Y7o7XItV QMoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8h/caLTgkiJgN3nwJAxch4J2mczYCmC+XvIUv++momQ=; b=WyGMit357qPWXV+5KJXXneOZa9kNB7dDzySUkmA+vqc9QV4vJhQ3q2Jc0hOj88lKAk sDm+p8brbVO83Xd77ryWq5n6qEeSW/4xfjh85er60XOAMNq571KZY6Wt2QQzy0E37qc3 zFlLMQb5SNeRU6ruS2gFyc3AVB/0blfzYGK7DD/xwXqPlYAXct4b9BW9BVUVIcJ3FI03 zTdrNl5cjAVAbIRX0A5bQ93/cMsIhRuHmEJctV01QPfZimHjaY6Tu/wVfh3ZAxfuqqBF xqgdJZbQG585bRNBqjUPQD55qfxlUxNk7X8L74qkNHlU5xBA/uVdwJ1lk0Oo5H3gTK79 Vd8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N9hs0V4l; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c20-20020a170902c1d400b00153b2d16651si111530plc.601.2022.03.17.13.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:43:26 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N9hs0V4l; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 02A9318383A; Thu, 17 Mar 2022 13:11:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234937AbiCQM61 (ORCPT + 99 others); Thu, 17 Mar 2022 08:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235092AbiCQMyk (ORCPT ); Thu, 17 Mar 2022 08:54:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAAD41EC6D; Thu, 17 Mar 2022 05:53:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8438A614F0; Thu, 17 Mar 2022 12:53:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C30A5C340E9; Thu, 17 Mar 2022 12:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647521602; bh=88f2Inyp4nMPXG1F0eSXddJ2jr5Uf6R8ttDLN4ddLcA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N9hs0V4labmMcPQTNaqF9y4QwZHtuqkrCDFLCYy1T+h936r/yChA0zAKHX6BjYqme ww3ySde/4kUL/VU1OH1du3hBcxViE5ZaJCdA9bbFCdxTOwNM1EP5cc74EXWcN28ZtC 99ITClBSjFMND7Z9sLGj2/oVffqSwB0/SLkHZ0IY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Golan Ben Ami , Luca Coelho , Johannes Berg , Sasha Levin Subject: [PATCH 5.16 21/28] iwlwifi: dont advertise TWT support Date: Thu, 17 Mar 2022 13:46:12 +0100 Message-Id: <20220317124527.368108305@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317124526.768423926@linuxfoundation.org> References: <20220317124526.768423926@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Golan Ben Ami [ Upstream commit 1db5fcbba2631277b78d7f8aff99c9607d29f6d8 ] 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 [reworded the commit message] Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/20220301072926.153969-1-luca@coelho.fi Signed-off-by: Johannes Berg Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 3 +-- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c index f470f9aea50f..c97798f6290a 100644 --- a/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c @@ -552,8 +552,7 @@ static const struct ieee80211_sband_iftype_data iwl_he_capa[] = { .has_he = true, .he_cap_elem = { .mac_cap_info[0] = - IEEE80211_HE_MAC_CAP0_HTC_HE | - IEEE80211_HE_MAC_CAP0_TWT_REQ, + IEEE80211_HE_MAC_CAP0_HTC_HE, .mac_cap_info[1] = IEEE80211_HE_MAC_CAP1_TF_MAC_PAD_DUR_16US | IEEE80211_HE_MAC_CAP1_MULTI_TID_AGG_RX_QOS_8, diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c index cde3d2ce0b85..a65024fc96dd 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c @@ -223,7 +223,6 @@ static const u8 he_if_types_ext_capa_sta[] = { [0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING, [2] = WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT, [7] = WLAN_EXT_CAPA8_OPMODE_NOTIF, - [9] = WLAN_EXT_CAPA10_TWT_REQUESTER_SUPPORT, }; static const struct wiphy_iftype_ext_capab he_iftypes_ext_capa[] = { -- 2.34.1