Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1030211rwb; Thu, 18 Aug 2022 17:26:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5rAU5sNIUNKujNmJ9LpOdH5vzvhm1EBUDN7Si6B66NkzCFlKuVeKBGG0xtz9ZuvJb/0qZK X-Received: by 2002:a17:90b:4a4b:b0:1f5:313a:de2f with SMTP id lb11-20020a17090b4a4b00b001f5313ade2fmr5470683pjb.136.1660868767684; Thu, 18 Aug 2022 17:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660868767; cv=none; d=google.com; s=arc-20160816; b=JKTOexMrVAlrFmDiIIQgJrapVZ1A8hrHa1Ycv+lxoLtNON+Ecxi3iDf7A9mNZUHddl ZrSOsAToxzbX0oPXIMfLCTmQmorpUA7Km3q3zzgv1BjoZJdgdlC6ZtwYHYIANufhnsxu 1okACHhGY9KMLgruVYCg2nB5Vv+v0wvEvfVZFHPaa2lRm/q+K33/GdyPRF+r2fOUfla8 E2jwDJ836K3WxNrrRlRAZ9x4LzVjXatAUawu/uPxMFFgs9s1v2mFfrwnCsDGiDiuBUUL 8D8FZEeMotxbWEGvI6fryKjKxtfCKW/QojFIf9IlWZ9OkNX32xvdL5FsauACvD8qLj2v zRpQ== 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=eCePU0CaJho/yl4mxE+0XC+oKntRBLyeUcOw8HC26YU=; b=bmiaAMiau60gomoHb2OhjnPQwTlECKmCE1UYsS7iHmep3YoUHLNLrYXlJf+pniFc1Q 341u3QwQkA9Kb5/1kePKLfDCsx+vNzBousvJcpXAHhRheLE7qN6p/+0yIt+UnO6BvUID fpifUHDsDQLC0YVVVsS8/Q8lX9WBUDHDexh0vFXW61OJQ6h+r+VPEAkW89Ovk7AY3UQa 1ESqS7vmqrjDOcJOGpu0rL0dYqk4y5KPGcU0lqoYSXTlEOaWd/3U2bUI17UdLIQSvs3G ye3lpPhNW9r5vfOGAju07pozZKYJl6ThMClneRseId4KQxtsMV10zH5iNFPG2xVRCrBG FKgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Lk46XUam; 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 v23-20020a17090ac91700b001f262f4f152si2491610pjt.122.2022.08.18.17.25.52; Thu, 18 Aug 2022 17:26:07 -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=Lk46XUam; 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 S241653AbiHSAZv (ORCPT + 64 others); Thu, 18 Aug 2022 20:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbiHSAZu (ORCPT ); Thu, 18 Aug 2022 20:25:50 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E260C63F16 for ; Thu, 18 Aug 2022 17:25:49 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27IM8ujg010663; Fri, 19 Aug 2022 00:25:45 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=eCePU0CaJho/yl4mxE+0XC+oKntRBLyeUcOw8HC26YU=; b=Lk46XUamU3BaI0Y7N8jMJ+WlYn7cevB2D0eYuH1MYY8aVYB8jwHF2tggJkClGxJniHu0 PHn70lpxv/72vA3Zcr4ftB/ObtJCh+sO8maCvAfYybKDY3Dv9zsMLob35aXGdXmg9mde glllvWpVyJDxyDho349FWLVUo+7lMkH50pUuCK6bvTbhgp/I5AfUFk2y6iCKN0VaOgNV q3EkEPQ8zNSH20gtVEu9R3gDOcr4If1hZHown1863MM8PPBqOg7NCTT6xg82CWJzQmdQ M/JGpNhI60eI2bzL24ECww1iD7rF13Dcu5AN7FaSobPn9ZRzToasag4kH7GPVh+HzrSF cA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j1ttq8qwn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Aug 2022 00:25:45 +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 27J0Pijo027545 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Aug 2022 00:25:44 GMT Received: from [10.110.11.6] (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.22; Thu, 18 Aug 2022 17:25:44 -0700 Message-ID: Date: Thu, 18 Aug 2022 17:25:42 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 40/50] wifi: ath12k: add qmi.h Content-Language: en-US To: Kalle Valo , CC: References: <20220812161003.27279-1-kvalo@kernel.org> <20220812161003.27279-41-kvalo@kernel.org> From: Jeff Johnson In-Reply-To: <20220812161003.27279-41-kvalo@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: vc3xSvqmvGekMX9J_AN8VvNPcPFMSHxZ X-Proofpoint-ORIG-GUID: vc3xSvqmvGekMX9J_AN8VvNPcPFMSHxZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-18_18,2022-08-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 priorityscore=1501 bulkscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 mlxscore=0 mlxlogscore=881 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208180089 X-Spam-Status: No, score=-2.8 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 8/12/2022 9:09 AM, Kalle Valo wrote: > From: Kalle Valo > > (Patches split into one patch per file for easier review, but the final > commit will be one big patch. See the cover letter for more info.) > > Signed-off-by: Kalle Valo > --- > drivers/net/wireless/ath/ath12k/qmi.h | 610 ++++++++++++++++++++++++++++++++++ [...] > +struct qmi_wlanfw_ce_tgt_pipe_cfg_s_v01 { > + __le32 pipe_num; > + __le32 pipe_dir; > + __le32 nentries; > + __le32 nbytes_max; > + __le32 flags; > +}; > + > +struct qmi_wlanfw_ce_svc_pipe_cfg_s_v01 { > + __le32 service_id; > + __le32 pipe_dir; > + __le32 pipe_num; > +}; curious why the above two structs use __le32 definitions but none of the others do. I thought the QMI interface would use the qmi_elem_info to properly encode/decode in host order on both sides of the pipe and hence we should expect host order on both sides