Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1203541rwo; Wed, 2 Aug 2023 10:09:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEpetUqrSqmlGCK6FmIV5DwQjYgtHuGp1iK03bEGoqxOnUjbx1n/OTtE6hR1mMh24ky8aax X-Received: by 2002:a05:6a21:66c4:b0:134:1b21:b2e9 with SMTP id ze4-20020a056a2166c400b001341b21b2e9mr14577896pzb.21.1690996173909; Wed, 02 Aug 2023 10:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690996173; cv=none; d=google.com; s=arc-20160816; b=GBLyA30HBx2SSjmdqwS8+S0jTxavKN5VrAv7mQkW7kCrdyUO2Vq7CtgIpTx5yIlZdr PC5flIDE2sVD3O65QvQx75iZ1s7K2amE5tbpATflAFCKofYyb2FWZI1q52+wFbx/Jry0 uQoSLbFdh+vOGAxzU5dWjtiU4Kq26nthongc1815miTjBTgDr+1vkaxqTgODC5DCul+n 33wqcGaSX61bQMt8sISYMqpe96iT3OBIy0oE1HNsDj3ICCOV9X1BsyAX3+fr1P8B4xoC jLqGi8OQ9YXEyZcacuWj7XHUdHcKbFdTP1pmMcmSR4HLJOZ/pkJterUFSBP1bSQl6yRs qJ4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=K53MDNykJSmL2pBaVGdKrWuZkxfJ8YiNSoPafMauobo=; fh=ylibOHjZVoRjcus4fpWusyZbCeuRlezp5RqsfwfDtRY=; b=qwUz1ZsvsgLNutUNBTrPhumusG3YjjAZ/lOXSie57U1tYHNBvTlo+wTaSr/w2Gp4Q6 3py4kCzPXZzg97R60WgHbJi8AJXwBv/LlZPzEYwsQDF4qezFbUqQmC67ukDrqrvL6NpG 3uwiu8NSrNwAObJuQZ1uqoW1mxjzj6OFOHL1ck88fkMMEyYA5M47FtJW3lc57Tiu59Bf PXMQwAntYSzOmRiGjvZEB1+XPJyMmQ94Y5YZGyoeHTFTTdF70hFLF+bTUOu1qE35NOBK tiIOW8MNPadXTZBrB6B1/kNQ3afe0d21VKn6NsWyVRJtcxq1iXhJWR3BDur80GUq32Y5 TbMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mXmi1FFp; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020a056a00149400b00661cd40bd67si7238158pfu.314.2023.08.02.10.09.25; Wed, 02 Aug 2023 10:09:33 -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=@kernel.org header.s=k20201202 header.b=mXmi1FFp; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229832AbjHBQzJ (ORCPT + 58 others); Wed, 2 Aug 2023 12:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjHBQzI (ORCPT ); Wed, 2 Aug 2023 12:55:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76BF2119 for ; Wed, 2 Aug 2023 09:55:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 13E01615C2 for ; Wed, 2 Aug 2023 16:55:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C5A3C433C8; Wed, 2 Aug 2023 16:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690995306; bh=qdxA9pBPS4Z9MxnRtXeIEl8r2HFOL4kudXJ/rb14Er0=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mXmi1FFp6Z+WjzNyOq5aKuBff8NmVE3a/zlPystDO4PU3vGxmrDF2OPktMcul7Onq mrOWWOOmAmBWV+Tn0OZocRC6b7SeGr+uhnHQqRrzZ+5FWIRTdMSFlBzaUjjALviS+w eLgwB8uF8r1jcDgY6HesOWu9xDhOZXmy1cpWbs2AnyWdKa5dD67MFik/GvMHDQVVZ1 EmmVwGl1jyXPIao/Rm4k3Xm54Qc6ptY6YPdWFFOuZqf5oP9G3+WaZyexT4mVq9MhU4 4dt2fpyx/8XsAxHiup6MYeICFXM8lqW+1lu2MW1NAlGbyNZO78wn5MW3iXDZelnIip cUBR8jEaFioSA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: correct the data_type from QMI_OPT_FLAG to QMI_UNSIGNED_1_BYTE for mlo_capable From: Kalle Valo In-Reply-To: <20230726093857.3610-1-quic_wgong@quicinc.com> References: <20230726093857.3610-1-quic_wgong@quicinc.com> To: Wen Gong Cc: , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169099530370.463701.4567477992736594889.kvalo@kernel.org> Date: Wed, 2 Aug 2023 16:55:05 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Wen Gong wrote: > Currently, the encoding rule for field mlo_capable in struct > qmi_wlanfw_host_cap_req_msg_v01 defined in array > qmi_wlanfw_host_cap_req_msg_v01_ei uses type QMI_OPT_FLAG. > > Unfortunately, all ath12k firmware actually expects this field to be of > type NON QMI_OPT_FLAG such as QMI_UNSIGNED_1_BYTE/QMI_UNSIGNED_8_BYTE... > And as a result, firmware is unable to correctly decode the mlo_capable > field. > > Change the ath12k definition as QMI_UNSIGNED_1_BYTE to match the firmware > definition so that firmware can correctly parse the mlo_capable info from > message QMI_WLANFW_HOST_CAP_REQ_V01 at wlan load time. > > This is just an accidental typo and that both WCN7850 and QCN9274 firmwares > use QMI_UNSIGNED_1_BYTE. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 15c8441dc1ed wifi: ath12k: correct the data_type from QMI_OPT_FLAG to QMI_UNSIGNED_1_BYTE for mlo_capable -- https://patchwork.kernel.org/project/linux-wireless/patch/20230726093857.3610-1-quic_wgong@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches