Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1627355pxb; Thu, 16 Sep 2021 11:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgC0F0TLa1D2q5GFznw03nQ7xOhuw1LrE96ufLRqSzIet/k5CJyLoiNUEXICVnE0shgZxl X-Received: by 2002:a05:6402:16dc:: with SMTP id r28mr8033942edx.339.1631816849067; Thu, 16 Sep 2021 11:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631816849; cv=none; d=google.com; s=arc-20160816; b=aAHiM8TU8pw0C6STdnnozrg1miJqv5xCA6I9IgiNVU7AIa0iKLe3/uluWD4OM3m6pc Hi641O77cDgiu85THFc5beCOCYeWQ6RwAygbbtjyXscQNE2DErk90ALEa73i6TbG/h2u +657VUG7L4SLZWGT1ggl9xKo5lHiZp/r+UIghsvejmZUSMnDsWuAJX+phQ1b5OixWU9e +FtnLH/xGmTliA5T9PEAW11WCR1avXW3NYMguBqRHG1FasZJYtN9jfT7yICBGddpZ0HW 5vFNBPA2b3W+LOwxYilJufO4yvBdJTjIDKFCvo/7lsbWwa3kbEPk5TJfyutnXgGuo0aA u9dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=DJLzVfi8VhO4JuesZSVhb2rfe1QgDSqTxydNPHq/dXk=; b=QU3DJmLuie0bcp+kf+RUv6dwdttZg3k+DbGIbangn1WqjdzWLtJvUkvJbIR7uMJ3Gn JdA4rxI3MVSOFJAohPeSW30sUTxx0pATW5G5+66QCFuam4V8zBFGpg0I+px0S8cdpu9Y tN3pSfJp2M2XlZpY7zPbH9Z+/etEgZ/kVzvfmReTtY88eTOA8AloSxDqjogSRyz7j/dT ChnJbnLv59wnoGFSu8Vg5N3KUSDNuDN4gGVQfDzGPJEQKqrUhaKeaMyoW1vrFDSYp0QK HWWAGYkQK0Wj4AV0hgmJBxnqw7ZjMeifZo1xRZzNsVgP/OqzQ7WjPFK8TrDvCbKkNgs7 kzqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=QoniYb9K; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si3440329ede.307.2021.09.16.11.27.07; Thu, 16 Sep 2021 11:27:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=QoniYb9K; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239141AbhIPPRW (ORCPT + 79 others); Thu, 16 Sep 2021 11:17:22 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:53658 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239145AbhIPPRS (ORCPT ); Thu, 16 Sep 2021 11:17:18 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1631805358; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=DJLzVfi8VhO4JuesZSVhb2rfe1QgDSqTxydNPHq/dXk=; b=QoniYb9KhueAeXKRbUi/7WqrHv8yp4c7mE3YNxrg7tiFZanZ6KZWFsT+Ar2GzQy0yh0hHatn Oic07Bbuj5Gu0cj66xVklDE2DokT8KLkCO5nyOoN3VRxwlvvUzq4kqNDXl8LHxeOX3nO5ocN 78obpaz4yo1cr526627UFtphTnM= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 61435fa8507800c880193488 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 16 Sep 2021 15:15:52 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6F952C43617; Thu, 16 Sep 2021 15:15:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from tykki (tynnyri.adurom.net [51.15.11.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id D209FC4338F; Thu, 16 Sep 2021 15:15:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org D209FC4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Kalle Valo To: Wen Gong Cc: Jouni Malinen , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH 3/3] ath11k: set correct NL80211_FEATURE_DYNAMIC_SMPS for WCN6855 References: <20210914163726.38604-1-jouni@codeaurora.org> <20210914163726.38604-3-jouni@codeaurora.org> <875yv0zvcn.fsf@codeaurora.org> <6ec81d2b9ec3a2665570baf90e624bf5@codeaurora.org> Date: Thu, 16 Sep 2021 18:15:46 +0300 In-Reply-To: <6ec81d2b9ec3a2665570baf90e624bf5@codeaurora.org> (Wen Gong's message of "Thu, 16 Sep 2021 22:09:00 +0800") Message-ID: <87sfy4y2jh.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Wen Gong writes: > On 2021-09-16 18:08, Kalle Valo wrote: >> Jouni Malinen writes: >> >>> From: Wen Gong >>> >>> Commit "ath11k: support SMPS configuration for 6 GHz" changed "if >>> (ht_cap & WMI_HT_CAP_DYNAMIC_SMPS)" to "if (ht_cap & >>> WMI_HT_CAP_DYNAMIC_SMPS || ar->supports_6ghz)" which means >>> NL80211_FEATURE_DYNAMIC_SMPS is enabled for all chips which support 6 >>> GHz. However, WCN6855 supports 6 GHz but it does not support feature >>> NL80211_FEATURE_DYNAMIC_SMPS, and this can lead to MU-MIMO test >>> failures >>> for WCN6855. >>> >>> Disable NL80211_FEATURE_DYNAMIC_SMPS for WCN6855 since its ht_cap does >>> not support WMI_HT_CAP_DYNAMIC_SMPS. >>> >>> Tested-on: WCN6855 hw2.0 PCI >>> WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 >>> >>> Signed-off-by: Wen Gong >>> Signed-off-by: Jouni Malinen >> >> [...] >> >>> --- a/drivers/net/wireless/ath/ath11k/mac.c >>> +++ b/drivers/net/wireless/ath/ath11k/mac.c >>> @@ -7570,7 +7570,8 @@ static int __ath11k_mac_register(struct >>> ath11k *ar) >>> * for each band for a dual band capable radio. It will be tricky to >>> * handle it when the ht capability different for each band. >>> */ >>> - if (ht_cap & WMI_HT_CAP_DYNAMIC_SMPS || ar->supports_6ghz) >>> + if (ht_cap & WMI_HT_CAP_DYNAMIC_SMPS || >>> + (ar->supports_6ghz && !ab->hw_params.check_dynamic_smps)) >>> ar->hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS; >>> >>> ar->hw->wiphy->max_scan_ssids = WLAN_SCAN_PARAMS_MAX_SSID; >> >> This hunk failed, in the pending branch as I don't have that >> ar->supports_6ghz check. I'll drop this patch 3 for now, let's revisit >> after my queue of ath11k patches is smaller. > > ar->supports_6ghz is introduced by this patch: > https://patchwork.kernel.org/project/linux-wireless/patch/20210913175510.193005-3-jouni@codeaurora.org/ Ah, and that was in Awaiting Upstream state and not yet in my pending branch. I'll take that patchset first to pending branch and then apply this patch 3, so no need to resend anything (at least for the moment). -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches