Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2467896rwd; Fri, 16 Jun 2023 04:13:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gC2HjXEyAwfoVAQ3yRnMgIKiC5q6c1JIj2gFrkcHOpG9Q9kdmxyzpfxhlbZXEhnPIGq+u X-Received: by 2002:a05:6808:1a8e:b0:398:2b10:d3c2 with SMTP id bm14-20020a0568081a8e00b003982b10d3c2mr1676357oib.45.1686914037354; Fri, 16 Jun 2023 04:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686914037; cv=none; d=google.com; s=arc-20160816; b=XKIIb0MFem/ZmR8Xaa2d9XTQcLhFG+Scg4vFllFm+y3SCHPIDp0c1Nkv8HHiFAR4DC fhoR0X19ZcSfDx3edjIFQlsf9YRAXxL0RAWBHVmzJj1wdRNtGef0OwTSHA0Fdg3gGKwd En1ZMP83DuZrLEoMaFskA9y2aftlBouVGj5324aNBdEj2fxkf6mXli5SoSLPo3lEReuR NTlDl5on/dlRABD4oqW/OrcYpWpphBbYYcw0o8ZDSiiPcajPwEJUoggCkIyIrd4EYcI8 bwSEPzH8iMY28weMLlsqafd7b2Y4xhLf3GDaJxKiDPbOOcXSY8AkaSOtVBPF/JdTcnoh /wbw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wkMpMoQjJg8oALhQL2wffy5wdDB1U3WP2abIHuWqIDU=; b=lSdaREoGFDVvsJTSM7TdzNmASCanlI1U+PbF0KnEqy6MmQw5mQwoG8PwLtsu9QjkpN +3z9UVZ5AbAL9PxrM/5Bt/gUvCtUVUPyIqQCWh8yBirhuzYN24HXY4ToUh+fpICVLewP KNeb3rP1b1L+DWvRYgO0Sp/TreaxJckj4tTTQZ3S0nMT6nQ5NQrbW/B+B7H/0CfsPC1y L9tfkU8guWFSGoPPaFE6lKXCrVKI9sxjDR5BYA6Lr8HoDBdOdU3ri32Qpz8kHwDtzVPX ThyW1J3MPJCVxB8te5bL98kWisnReGki8GXU+VzL2so9ONP1byH6v5HZGg6zjODjdBar rxmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QgcDg3Ic; 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 lf11-20020a170902fb4b00b001b51fa75f3bsi2400062plb.24.2023.06.16.04.13.44; Fri, 16 Jun 2023 04:13:57 -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=QgcDg3Ic; 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 S1345588AbjFPK6i (ORCPT + 61 others); Fri, 16 Jun 2023 06:58:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344818AbjFPK6R (ORCPT ); Fri, 16 Jun 2023 06:58:17 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E19D59EE for ; Fri, 16 Jun 2023 03:51:36 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35GAYG4c024610; Fri, 16 Jun 2023 10:51:29 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=wkMpMoQjJg8oALhQL2wffy5wdDB1U3WP2abIHuWqIDU=; b=QgcDg3Ic+z048hVzkpbfUWuoGdln3gsr613HngUme3hFGWDNRIlVFzckeaGyRN16CAgF vOmNUsL7YG/LJuHyu0ZWAJ3AJBIXpY7N08pBuQB3ZbADvBy9XH46Ks0umqa27BgjouvV u1zp5lU8Xpmw7D7c6ktOZMtiPgfEsLybBQEhCSwpxZuEjWS/dt+KxVd3+iUE0slIi2R+ Qxvc8FPnMZske8FlkIHFEAd+O/O4walldk2e5A/QKGHqFpTOInijEyh7olkDsnLOTa9M R70b2BElPlApqApN/PIOR/2LKLw9+YZ1MCHkBVk05Aww+RDyThOyatjcTlAKbQGcEEhd 8A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r8j2m0hby-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:51:29 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35GAouPv015584 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:50:56 GMT Received: from [10.231.195.204] (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.986.42; Fri, 16 Jun 2023 03:50:55 -0700 Message-ID: <844a2d71-d003-abd0-4cf2-f279a1b62ac7@quicinc.com> Date: Fri, 16 Jun 2023 18:50:52 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v4 03/11] wifi: ath12k: WMI support to process EHT capabilities Content-Language: en-US To: Kalle Valo , Aloka Dixit CC: , , "Pradeep Kumar Chitrapu" References: <20230602235820.23912-1-quic_alokad@quicinc.com> <20230602235820.23912-4-quic_alokad@quicinc.com> <87ttv9aqtn.fsf@kernel.org> From: Wen Gong In-Reply-To: <87ttv9aqtn.fsf@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: xyFk06bKD-mv5hFNI6Wcrl6lvcCJAi8N X-Proofpoint-ORIG-GUID: xyFk06bKD-mv5hFNI6Wcrl6lvcCJAi8N 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-06-16_07,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 suspectscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306160097 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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/15/2023 7:49 PM, Kalle Valo wrote: > Aloka Dixit writes: > >> Add WMI support to process the EHT capabilities passed by >> the firmware. Add required EHT specific definitions in >> structures ath12k_band_cap and ath12k_wmi_svc_rdy_ext_parse. >> >> For single_pdev chip such as WCN7850, only one pdev is created >> and only one hardware is registered to mac80211. This one pdev >> manages both 2.4 GHz radio and 5 GHz/6 GHz radio. >> >> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 >> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 >> Signed-off-by: Aloka Dixit >> Co-developed-by: Pradeep Kumar Chitrapu >> Signed-off-by: Pradeep Kumar Chitrapu >> Co-developed-by: Wen Gong >> Signed-off-by: Wen Gong > [...] > >> +struct ath12k_fw_pdev { >> + u32 pdev_id; >> + u32 phy_id; >> + u32 supported_bands; >> +}; > So we have now two very similar structures, ath12k_pdev and > ath12k_fw_pdev. It would be good to document above the structs their > purpose. Any ideas what I could add? For single_pdev, the ath12k_pdev is always one pdev. and ath12k_fw_pdev is more than one for single_pdev. >