Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3425093rwo; Mon, 24 Jul 2023 10:46:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlETY664do9MiwAqXx1ffvIS86vtP2yir2bEggjwg/hqAmeMyVScmUErOKwQw3Nn0leewqt1 X-Received: by 2002:aca:1b11:0:b0:3a4:ccf:6a63 with SMTP id b17-20020aca1b11000000b003a40ccf6a63mr9874198oib.55.1690220803545; Mon, 24 Jul 2023 10:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690220803; cv=none; d=google.com; s=arc-20160816; b=OjwRhKJ2OH6wQtp0GejzfvLrm6Y2YPkAEZgGt/KO//FvwEreNxmctvklFpJ0t+jaes YKGq1NxHf4dvtpIKORM8JYcJd9yubgUrGWS0jotgCTB5M679SBEBMY464X9OQ5sKFRpV crNutkOidp2Tw9ltSygce9+TltlPRxUfNovVWwWWXsTVcjv0BTjW/emk4AtXx90wpeHS GFbBG6xbe+pjhvylxaY2Lt8U6gU0SDeC+qBYM8Sa2dUC17wi5lK6lYnN8NJSnR5GZemo Ad7Sf13rR7DILrT2qcwq0+oY5aKvmszzAEHh71dXugUej7cABjm9FHG1dNjsANjBfQQG EFxQ== 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=5aAMJ0frHNn0nF9pSsO5x3K2otUuxAETSGfw6+7bMDo=; fh=8sQ+gDb4BNetLgYxw3c2WCwvUsYha1gpKEIC48FltAw=; b=hMDDmKNQ7j3x+Ys+zGKzAK1lDcgS9sjMym5AsHOly7PnQvbtKGEXoIl9wyfHPEEPSb UIt2PMTZ54iEsYtzqAZkYStKPhGhryqkIzhdDxyGTbPfPZDk/6540TaBxHNqt5xe3scZ vksQqzrtMGvtFgMFFD3c13tWr+Va2ms1Yy1R7TdhRYmsk9SvMqowx3FZ2LxlphZn8IVm cpsvlJQKZbFxZMxo5mEpFWKV6a66vCxdECcMmoyOTunlAdjsVd2GrEt6VgaZka2aXrKX V/L/cVqPKEW2yY/ZJVQDyu1ceyiJio7U1P9B+uMZneZlGDPyfXUocI2e2YJRuiilvSVD 5E5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=THzU4Acs; 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 ls13-20020a17090b350d00b00267a487f014si12169690pjb.167.2023.07.24.10.46.31; Mon, 24 Jul 2023 10:46:43 -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=THzU4Acs; 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 S230416AbjGXRmf (ORCPT + 58 others); Mon, 24 Jul 2023 13:42:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGXRmf (ORCPT ); Mon, 24 Jul 2023 13:42:35 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E442E55 for ; Mon, 24 Jul 2023 10:42:33 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36ODtY8l027365; Mon, 24 Jul 2023 17:42:25 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=5aAMJ0frHNn0nF9pSsO5x3K2otUuxAETSGfw6+7bMDo=; b=THzU4AcsEu9rvCh1lyPPhFM9rcC+LvrYFzjzwxU0NeFAhIHQEP4SWrABsfrqDFF0VNjD G8ICJQHMkbutGhI4O3Bz6MRcu1GpOIrCPwn/OYfz3+ou3WugDK8TlJKiSpXPUMwpSo4i GUhiLU/o0ulwCq6JIHkjj3aphYk0VtzSD2FcFDvrWWPzTUdIQ4BxYq9WjM8PyXnBVS6W YkqvAlZnI0aGWNPF3Sb5mjSoK6eM8vJbyHlx0dUethfAHrPXpIV5E/oO1ha4dhTPot12 gVB22/M97FtBDXWUM/Nnc+AHQDpKX1ZUHWdo5SNSqtN7nmRCR/vU2hRW2RkKrXOpm8b7 fw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s1qass173-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 17:42:25 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36OHgOIS014766 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jul 2023 17:42:24 GMT Received: from [10.227.89.240] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) 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 10:42:23 -0700 Message-ID: Date: Mon, 24 Jul 2023 10:42:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 03/11] wifi: ath12k: WMI support to process EHT capabilities To: Wen Gong , Kalle Valo CC: , , "Pradeep Kumar Chitrapu" References: <20230602235820.23912-1-quic_alokad@quicinc.com> <20230602235820.23912-4-quic_alokad@quicinc.com> <87ttv9aqtn.fsf@kernel.org> <844a2d71-d003-abd0-4cf2-f279a1b62ac7@quicinc.com> Content-Language: en-US From: Aloka Dixit In-Reply-To: <844a2d71-d003-abd0-4cf2-f279a1b62ac7@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: L-20drruhXI6vHiTL8bQQZrVFXJZqXof X-Proofpoint-GUID: L-20drruhXI6vHiTL8bQQZrVFXJZqXof 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_12,2023-07-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 impostorscore=0 mlxscore=0 mlxlogscore=968 adultscore=0 priorityscore=1501 clxscore=1011 spamscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307240156 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 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/16/2023 3:50 AM, Wen Gong wrote: > 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. > >> Okay will add a comment in the next version.