Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9099151rwd; Wed, 21 Jun 2023 03:03:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bSqgOJPGEUX42E/sy5pyzgYbM0zB3xrLAEm4ayAsEbxEfFlt8ZwqqrZOMcxWUv817lrZ7 X-Received: by 2002:a17:903:228f:b0:1b6:4bbd:c3a7 with SMTP id b15-20020a170903228f00b001b64bbdc3a7mr6791337plh.66.1687341825979; Wed, 21 Jun 2023 03:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687341825; cv=none; d=google.com; s=arc-20160816; b=H9RZDxjohBf8LbRlsWyIDFWgjt7ta92wm2PLp+rv0Oze71YpExBycEmFqfLzCz+FaR q3DedTsLLX4D6LY0Co7p07zPikoFw90AN4A8x8/T1uXMFtPP6weeOX5RFQ4HkYwg7q+5 jxMXGTd+AoQW9zsdJmQgxGCgGSKu2WYsDcrMIOR64EeufC7bgh0CmGmz4TnH55QB4Eq8 8bfIfppVHSExDBNOn7syg5+ELNEq4nreXTI7YOZzfBFdrzkCKrAxtwyLjowP8Gdu6tvI fXhtV6dLxhgJFrZuwGPA14EbbdUmG52yjYJ7YVkwgn2vEifbc4VO1DtqUWaEB0aq5BxG 5pqQ== 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=XsJcSrCqIkWSq55ZMx9VhaYls34LL9tc5lP+62qSvbc=; b=aDFFw/nL6iN5zgm5Ki0hmxHToBie8c9s3/XJm1eGCKyQ70Vn6ctrOnY8wMObSsLyaC 3v99a1JCGmp+sKsqANQsNk44GPdDCVVQYrxRY5EaaVVy/EFyeSLjmtzobvtxmwBLmQpn mIxIqcGt9moYhe7gKsWJoiF1eZPRNQQC2cDhr60Etv8N2IY92pfrzMSUvgPsnz45GAsv XbvkXLHpX5bKq2tWUnjWYiyYmqfdFREH0LWublMM9pN6kf3a7mCNIH6yJy9XEnbqRA9a Kppf1Ww5eFlzSUAvb2Br9jU6NkZlJoVpB0xpobqKmWW1crXjXoy7rDcSUl7MbQc+mcYM EQPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BwA0dFNd; 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 lh7-20020a170903290700b001ae3214162dsi729025plb.548.2023.06.21.03.03.37; Wed, 21 Jun 2023 03:03:45 -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=BwA0dFNd; 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 S232135AbjFUJvx (ORCPT + 59 others); Wed, 21 Jun 2023 05:51:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232134AbjFUJv1 (ORCPT ); Wed, 21 Jun 2023 05:51:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1129D1992 for ; Wed, 21 Jun 2023 02:50:38 -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 90BA5614B8 for ; Wed, 21 Jun 2023 09:50:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7336FC433C0; Wed, 21 Jun 2023 09:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687341037; bh=D/wWlRysbpsOUUpmYrAYqvLCoBKlTDmYnscO8T+7EKY=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=BwA0dFNd+ecevfFEVUiwCtimx6rOmbPE4qBlT2EIeiGiNm9xj/Wi0pUqugj28ym6J Wci+2kYz5jEx0934XPLaD0qhiYVPsWEH3QMScP5uCVdNEGMToo2Iq63xbzuwjMfGKF PmpdJr8Wt0OMvAvf7Hn/bjDWhlDJU/rdMQrF7mcr14rjn1tJairGn/vzJu0N/1t2y7 GZrEsOMRPIZg3LTbier2RZylnn92WEE2Kc4nzv2iUU1ecujQe+2SjvzYVy/4ykEHEd SFp0H19W/5I57E9Kh9rTq+i4+0o4kaizl4/6SpDqANbQ/QzMftVwfSa8DrReOT1bqx GmI304z38+BhA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: use struct to parse firmware header From: Kalle Valo In-Reply-To: <20230616060601.28460-1-pkshih@realtek.com> References: <20230616060601.28460-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <168734103459.549389.6256162760944232125.kvalo@kernel.org> Date: Wed, 21 Jun 2023 09:50:36 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Ping-Ke Shih wrote: > A firmware contains basic header, sections and optional dynamic header. > Define them by a struct, so it will be easier to understand the layout, > and also simply access these elements. > > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. f072eb39e4f2 wifi: rtw89: use struct to parse firmware header -- https://patchwork.kernel.org/project/linux-wireless/patch/20230616060601.28460-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches