Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2924570rwo; Mon, 24 Jul 2023 03:40:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlFcGGOM0IBQoicjHzDYjK8b4Fo1az170L6WrzsOAXQgs2kk2tu/4oEvzMzJWcXQwDEAGffe X-Received: by 2002:a17:907:2cef:b0:99b:4a6f:9c72 with SMTP id hz15-20020a1709072cef00b0099b4a6f9c72mr11232941ejc.72.1690195232023; Mon, 24 Jul 2023 03:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690195232; cv=none; d=google.com; s=arc-20160816; b=ar/xUq1NGE64n0dWucFbE9vQAC7BO7FqzUKm/i/tOcwjvc3Fy/bv14r2HOB5sM1zR3 cOUxv2PqRBv0nhVSWozmRuw8IwnrrwbiVdT2IYWK3/lM65WnRFbpjCrwm34cGk3gG/i3 6aCdRkCBcWW3c4F2iIOHfXBsnVvlR3k96M0Qhvfk759RigLNO2Ctj6ZNg9+3l3QWk8lJ MCv8kTlj0wL92K6LZTfihLQos9NA/UMzf9fe9VUV2zXVy1eXSURrhVQKoFVatfnmcgvK CEHixT3J+SmrTvqySwJrfcULTMqlLE0JifZURsBmBt6rGUs/o7KrLLfHacPXV5M56j8H xvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cfewn56TVGilkmEgIByWqsa6Ek2mqMzLIsbNYs2uegI=; fh=rHm4a1drA1A0SlvlOCGaPxqS/QI5DQmuC19yda4m36g=; b=qEpXLryu1sSHYg/7hRom/ti4/UNX93GbMFWDqQVc0h3ucEMMK4oy1TQVQvDcX09YPv UPKdEgc/8dKfpOCdzqOEs5EPU2uUeUjqlP+Vl+T9iYJpQrgzTXezG8nTVgNIoLAJCKaJ b2xnKUBUWgvpn95hb3Ouut2wJflpHTAyC8wb/RtX0I2GTcm2Oq3e8gIgBGqL9HT7lTco 8ACZ0bA8B+O4H9ULUXrfQwJ2MJTwquWQm/k1+XDWorNMWF1YmSrAQMaM9yEvbOMMt+h3 UG5hmwDgv5eF4xCvDXinYJg+NtENQvu6Pm4a/LSyliIF31+g6/ojCkjjl0uzrhO5MlIO I+rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="BMi/hewY"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a170906579000b00992e22a6409si6869607ejq.553.2023.07.24.03.40.16; Mon, 24 Jul 2023 03:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="BMi/hewY"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231764AbjGXKXv (ORCPT + 58 others); Mon, 24 Jul 2023 06:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233514AbjGXKXK (ORCPT ); Mon, 24 Jul 2023 06:23:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AD0D49D5 for ; Mon, 24 Jul 2023 03:16:54 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36O6FmuM000883; Mon, 24 Jul 2023 10:16:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=cfewn56TVGilkmEgIByWqsa6Ek2mqMzLIsbNYs2uegI=; b=BMi/hewY69T7bB2FJgqpb1r5DleYLGVqj2+zGdAddmTGlHbZahU538M2SS2OQluxmLqL ObWANCPAwLfayEE9/+K0TXqHPefaSmHjuV/2DUfKRM7PHpi64cxvNAGaRfe9jR7B3NX0 JYEz6Ggq4sXi39iky/zFrs9mwUpf0PbClYCMl+v28CRmz/ZaTGcW3qV+ys0qj9maXHRw /yROdztBapPu0xDF07Vr+nWw/cBtY3OOnXxii5i4p2mT6BBW/Gw8d/Fscbw6JtdIprpR /KcdvUVN2/Gy3ZJoRw0rR2Ahb25o8ru0AB8Jk2Ao8nOJAnvSYdTH4soVVFXROkxd4Tco +g== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s089ttvvp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 10:16:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36OAGTiP019896 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 10:16:29 GMT Received: from [10.253.76.190] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 24 Jul 2023 03:16:28 -0700 Message-ID: Date: Mon, 24 Jul 2023 18:16:24 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 06/11] wifi: ath12k: prepare EHT peer assoc parameters To: Aloka Dixit , , CC: Pradeep Kumar Chitrapu References: <20230602235820.23912-1-quic_alokad@quicinc.com> <20230602235820.23912-7-quic_alokad@quicinc.com> Content-Language: en-US From: Wen Gong In-Reply-To: <20230602235820.23912-7-quic_alokad@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 3riSjrm0_YjQubqt7MbLv5nz8B56jQiO X-Proofpoint-ORIG-GUID: 3riSjrm0_YjQubqt7MbLv5nz8B56jQiO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-24_08,2023-07-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=794 malwarescore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxscore=0 bulkscore=0 adultscore=0 clxscore=1015 spamscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307240091 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-wireless@vger.kernel.org On 6/3/2023 7:58 AM, Aloka Dixit wrote: > ... > + default: > + if (arg->peer_phymode == MODE_11BE_EHT20) { > + const struct ieee80211_eht_mcs_nss_supp_20mhz_only *bw_20 = > + &eht_cap->eht_mcs_nss_supp.only_20mhz; When ath12k used as station mode, it entered here as well as AP mode. But remote is AP device for station mode, then remote AP device do not have the only_20mhz data(EHT-MCS Map (20 MHz-Only Non-AP STA)). Also 20 MHz should be same for 5 GHz/6 GHz(MODE_11BE_EHT20) and 2.4 GHz(MODE_11BE_EHT20_2G), right? > + > + ath12k_mac_set_eht_mcs(bw_20->rx_tx_mcs7_max_nss, > + bw_20->rx_tx_mcs9_max_nss, > + bw_20->rx_tx_mcs11_max_nss, > + bw_20->rx_tx_mcs13_max_nss, > + &rx_mcs[WMI_EHTCAP_TXRX_MCS_NSS_IDX_80], > + &tx_mcs[WMI_EHTCAP_TXRX_MCS_NSS_IDX_80]); > + } else { > + bw = &eht_cap->eht_mcs_nss_supp.bw._80; > + ath12k_mac_set_eht_mcs(bw->rx_tx_mcs9_max_nss, > + bw->rx_tx_mcs9_max_nss, > + bw->rx_tx_mcs11_max_nss, > + bw->rx_tx_mcs13_max_nss, > + &rx_mcs[WMI_EHTCAP_TXRX_MCS_NSS_IDX_80], > + &tx_mcs[WMI_EHTCAP_TXRX_MCS_NSS_IDX_80]); > + } > + > + arg->peer_eht_mcs_count++; > + break; > + } > +} > + ...