Received: by 2002:a4f:b056:0:0:0:0:0 with SMTP id m22csp2666822ivi; Tue, 15 Sep 2020 16:10:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEy1FjuMYRIu19tSBT6IB9JMTvDIKD1BaPHCxnVPMoByNH76NRGdD9ZIa828SxFZ66QGRi X-Received: by 2002:a05:6402:696:: with SMTP id f22mr24326899edy.290.1600211422894; Tue, 15 Sep 2020 16:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600211422; cv=none; d=google.com; s=arc-20160816; b=zwD/WhB77C2oyoy4NYzFD2VnTby9FAsPxajp6a1s/uEQS1ixtUQthsH1XIgPbLn3Th pidf5tUu6VwVrznQIk54q3S9jztABI+MfDQFCd09E3FvQed9dAFpxnqPILpdSOnqdnoJ dEimcsko9a8NT7Q7XoYD7hcpdcbXXczWZgb9Eqxogy/VQrgrcPrdS96YzIcAIGF098xm mm9biMruP9fgvKTdl0GUc1x+j44icIxDZNwdFTDWs0rLzn+OzS7mYUGMJcdVtDu1SmYT o2yQgFKQTpyRGNXYGpkNg/Ob19QzCFo8tKgsjSOzUrPehZDdPdB8KQKlF/x2hHg4mZpI KwYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=7nyXYw+qfF6wJrk28EGZNuPpSkSDFpWpRryxT77+ECc=; b=KTji3uut6BKs1Vb+8i6+rzmKImXuzyh68rVtrG4FmoE37Ins1VvQTeh+uFZ1zni5VT yhJNrw25zrwgd+5oTOCFBEkW2WHWjexBvbvBWiRbPgRlE+7LA6PFFG5eq3AAses29Tu1 wr/8DcHIHBLfS/5S44cCihLFNPu8iUYJoPynnVWtCLrtY0ZC5xCCC1g19nplSTlzn8X6 qdUMYUk/dwF/Z4fucHvv7n1FKP9AE3VuUmdgk+/F54eRaU7VngbinDTTU3Ed9X3g1gV8 OKywY95kJvGJzLstLV0AQX3UHYrI0xeN/2m/71GnI8MvRrFQL5uZRZHUQnWLWDhkW6VD dV3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Hyah64co; 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 ec15si11625101ejb.416.2020.09.15.16.09.37; Tue, 15 Sep 2020 16:10:22 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Hyah64co; 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 S1727303AbgIOXIU (ORCPT + 99 others); Tue, 15 Sep 2020 19:08:20 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:13231 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727413AbgIOXIJ (ORCPT ); Tue, 15 Sep 2020 19:08:09 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600211283; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=7nyXYw+qfF6wJrk28EGZNuPpSkSDFpWpRryxT77+ECc=; b=Hyah64co04i5O6zSFywO2gf7jjPVY5y8srM0Ey/AZcWhh3NFBtJ6lAy2FPIpMsve7y3q0/1E 6enUTu2QRJL2fhsBveWdWGHaInWMrpFNuio2gzm0akfC6hKidV7s2tvVSt0k137DupeGH1HA 9h7YbEBT14RtJ/vkYBUQBq+skZw= X-Mailgun-Sending-Ip: 104.130.122.29 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-n06.prod.us-west-2.postgun.com with SMTP id 5f614951d2819a1846c999be (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 15 Sep 2020 23:08:01 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5A5C7C433F0; Tue, 15 Sep 2020 23:08:01 +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 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pradeepc) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8C55CC433FE; Tue, 15 Sep 2020 23:07:59 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 15 Sep 2020 16:07:59 -0700 From: Pradeep Kumar Chitrapu To: Wen Gong Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-wireless-owner@vger.kernel.org Subject: Re: [PATCH v5 2/8] ath11k: add support for 6GHz radio in driver In-Reply-To: References: <20200603001724.12161-1-pradeepc@codeaurora.org> <20200603001724.12161-3-pradeepc@codeaurora.org> Message-ID: <0b4f6d618388a97082009ba5380afbf5@codeaurora.org> X-Sender: pradeepc@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >>> >>> - if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP) { >>> + if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP && >>> !ar->supports_6ghz) { >>> band = &ar->mac.sbands[NL80211_BAND_5GHZ]; >>> ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info; >>> if (ht_cap_info) >> After this change, when 6G is support, it removed HT/VHT of 5G band >> from "iw list", when connect to an 11AX AP of 5G, it used non-HT. >> caused together with this commit >> 75e296e9b22aef6fa467523ace87ef623dac1fad(mac80211: simplify and >> improve HT/VHT/HE disable code) >> + /* disable HT/VHT/HE if we don't support them */ >> + if (!sband->ht_cap.ht_supported) { >> + ifmgd->flags |= IEEE80211_STA_DISABLE_HT; >> + ifmgd->flags |= IEEE80211_STA_DISABLE_VHT; >> + ifmgd->flags |= IEEE80211_STA_DISABLE_HE; >> + } >> >> after remove this change in ath11k, it become correct to HE >> iw wls1 station dump: >> rx bitrate: 149.7 MBit/s HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0 Hi Wen, Do you have https://lore.kernel.org/linux-wireless/20200528213443.25687d2695bc.I3f9747c1147480f65445f13eda5c4a5ed4e86757@changeid/? >> > Hi Pradeep Kumar Chitrapu, > For QCA6390, it is single_pdev, the pdev support all 2G/5G/6G, > Is it have 3 pdev/ath11k in your chip for 2G/5G/6G? > And the pdev/ath11k of 6G have WMI_HOST_WLAN_5G_CAP of > cap->supported_bands? >> [...] Yes, ath11k receives WMI_HOST_WLAN_5G_CAP from firmware for 6G as well.