Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1199184rwd; Thu, 25 May 2023 09:13:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7pvQbxx7atOjxh0LIp/xNeqBRDkhalKnt7hf8u8+EKdaYZya6bVYxW2W8IN1WKTXdO6z/9 X-Received: by 2002:a17:902:e5cd:b0:1ae:626b:4771 with SMTP id u13-20020a170902e5cd00b001ae626b4771mr2251974plf.36.1685031237648; Thu, 25 May 2023 09:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685031237; cv=none; d=google.com; s=arc-20160816; b=hbi3mtKfS7BWzamc7kbcxfJEkezYt00608ORl4eixcynLSPLZu6OvJb7dczR1q5VIw owNkY3hNjzOH8JDb3T9W6umLRDhA5h9aQmwpAbDwqwwc5ncSo6VwZRiUhHp3/OI0hBjg aokWNpEyeZ2W6eUQTKJEC84IfO8quAZ5TCV4K7RQtBwxkCY7xxTfKh9bkySK38DNe/MQ pVbju4sdSfrbO/ez0NfFjaZV+i6w7W9EV8S4EEn3qFRzgqeZIhsgxstmaZjvEA609F6y Po5eyi+KXckMAG6Ip8LIyTvsjYyo+IWJuCSOYifjhoEVQ7VAExQ/Rbi39SdShJpTAmug Du7Q== 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=/XC+1k+MS5AgbQCAYez96kuu/IbGz0HBzNz5wfojXAY=; b=DiNNJtJLoba5tb3TYfmOlm+fIKSn6pjutBTsFCPGh1qQtbOd+ZoZzwmekO/gzJIbQk 9DqEnln6omgYb25fumge/ZkGzAcZ4ViwvvFcOGYIcHXdliDGWHvtRZM1FzyLcDqo3ZMk UlZd0tGXXFD6P+0mKb8970z+bIfMvmwR+lCtuJrMGq14iz1XQS0cr/2Bbcgo7yEj8h+v wu0xPQL7bL+z8+ygGwavXjJfN1JspIO7T8ybCl7Zv5XYZuaAGJN0w9eG4YRWI4NgPYZo 4k7hS9kNnDEoiHDq+IVVweYRla4wVFFHO2jjmsXw6255/NobPhkvEF87NN4/kXNzU1gv ECTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oFE0W0bj; 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 20-20020a170902e9d400b001aaea258805si1731306plk.134.2023.05.25.09.13.47; Thu, 25 May 2023 09: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=@kernel.org header.s=k20201202 header.b=oFE0W0bj; 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 S233391AbjEYQNd (ORCPT + 63 others); Thu, 25 May 2023 12:13:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231745AbjEYQNc (ORCPT ); Thu, 25 May 2023 12:13:32 -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 27AFE10B for ; Thu, 25 May 2023 09:13:31 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AFB1B64695 for ; Thu, 25 May 2023 16:13:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9495EC433EF; Thu, 25 May 2023 16:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685031210; bh=g+fGec5xJgpwZFb1JcUtl0o7XfOMV9jDXxHQ4GUSOb4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=oFE0W0bjwfAcSmTsfTsQxrcULFy9IiKE1dgYMmm7/yMNLjKjp+UG9cVZEbzCUh/H0 7UJH7omW6boYfj+UOTpHT1+NVcqn0BpH7UdUNHiQ3xEBE91KPwidFrblNVxMbH2+0b ieqDYne0uDnEWb0Ns2AOnDOYamcT11Ta1eczGMwJyTLkRLvSPcI4z1GavVDld2L46B 63xHBBUALNZmhI2mrwLwGmcvqIAo0S7Ldi5bYjWGQzFT4mp3kQbKJGH7KKfiBK+30H UaZgSM+uXS1Wziq6ZDuqGkPDl4L10C0z4tpzWXuTVgpGgswRsJM5a8Mv4qBrf6kgzh eJDfkQ5BsulRg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/5] wifi: rtw89: add chip_ops::query_rxdesc() and rxd_len as helpers to support newer chips From: Kalle Valo In-Reply-To: <20230522122513.13559-2-pkshih@realtek.com> References: <20230522122513.13559-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168503120740.22756.467572244695871068.kvalo@kernel.org> Date: Thu, 25 May 2023 16:13:29 +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: > The next generation chips use different RX descriptor format, so add > a chip_ops to hook suitable handlers. Also, the length of RX descriptor is > different, so add a variable to store the length according to chip and > descriptor content dynamically. Then, the code can be more general. > > Signed-off-by: Ping-Ke Shih 5 patches applied to wireless-next.git, thanks. de9f93385d0f wifi: rtw89: add chip_ops::query_rxdesc() and rxd_len as helpers to support newer chips 88bdc3ff956c wifi: rtw89: use struct and le32_get_bits to access RX info 332debb80488 wifi: rtw89: use struct and le32_get_bits() to access received PHY status IEs c26700d2df01 wifi: rtw89: use struct and le32_get_bits() to access RX descriptor 68012b44dfc7 wifi: rtw89: use struct to access register-based H2C/C2H -- https://patchwork.kernel.org/project/linux-wireless/patch/20230522122513.13559-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches