Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10927560rwr; Fri, 12 May 2023 15:33:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AJJzVyv10wXfOfLFE5t6VSAPeQectiQqtm5m/qU/aQ3tdsNSSYL7S2ImqKZGmlPF7w6ui X-Received: by 2002:a17:903:11c6:b0:1ab:16e0:ef5e with SMTP id q6-20020a17090311c600b001ab16e0ef5emr39787816plh.4.1683930799508; Fri, 12 May 2023 15:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683930799; cv=none; d=google.com; s=arc-20160816; b=N6lpkL559PDHXsTGO+fjLjtsMghNpCGuPu9rvai0V/a86yHIeRAGdig+E1VHTwCVfY DsONhA46imhQIZvODUSaXoMyQ1R/gpzMuQGg43HgI0aXC/Yb6sLs9EaMnAZ4qxRZgqpZ uumAvWXzGVBSTYy5dRyTx0EhXTbUABPLjl3v7XpNFP3AZk8JnI3puDqeFywLXWbfeZ8B qP4/spVB11mUD3jmLbO84L4dzVgpEPhhRzu7eWTWLOlR/dMR9jf4yaIoBY+XN/Cmo5Ie x2Oxplj4saIvm/6BTogLKuZSzMdqYzMVWOrsPa3Z4IhllUl7CSQjpQiw+J+JRd75pX9d +97g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lrhHo30Ceucb5ctyL1OKyB/ob6bGGDbsWj1IDGS1m7k=; b=eLcJ0NcBI8vukuOt2SGgiB24ecXznIiobp2Yn5WtXNCzngvGAA22xXfhKmjPEYCvY2 Gd7Hn3zOKn88t0k6Na691XgQR/q6jTo6SZ6PKnjqarURfyoZj/MU9rtOYyeHFULjJ73M TR5FJkBzS0zaie8CSs58WUIM/ImzkLGOdDpVgEW2pXIXuRzJqVq+aVeKixbvJh+Ai3E9 4FCDQz9qI2AR95dZOnkUTdLfb1wOmbImWzOmsCIQ9TW9+YMXGej8QzFUU01KjsqOlX3U y4kXHKJRfs1OrXAXu9Z52S4/6WuaHmLbTy9IswnV4eioovB/1acCa/Qe5b1BZmmKJy0m yeog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OYCVqupL; 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 c17-20020a170903235100b001a666ff198esi10405068plh.545.2023.05.12.15.33.09; Fri, 12 May 2023 15:33:19 -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=OYCVqupL; 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 S239554AbjELWaT (ORCPT + 62 others); Fri, 12 May 2023 18:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjELWaQ (ORCPT ); Fri, 12 May 2023 18:30:16 -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 25B6540ED for ; Fri, 12 May 2023 15:30:16 -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 ADA50658CC for ; Fri, 12 May 2023 22:30:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADDC1C4339B; Fri, 12 May 2023 22:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683930615; bh=ENaVh9GdmsvG1R+lZ1aYYQxPUOkcyHwdZpoWF3+zMb4=; h=From:To:Cc:Subject:Date:From; b=OYCVqupLA4C/wsRZhzrvAW7zlY18s+gdeNUsHWPMoOHnU6PkYyzpL+8u3y7G/s7Yi CaIff+2wyy+qdeUXn8+/nLOYho/wxLPIPrAVPJQ9By3bBlWfJWKBc5vgw8XUtydjTu n28CujL/0d2PcStBl06pZsQgrhmnEpwoDdax3WB+hu/3izWp59d1GdJ+7TNFpfUrPU PUYlNTCGDRdQoMli1w0kyxHE5bvbHUJY2dzt9jbT08IcmdoaSArrxXhMtajFnTEcQo ldHKXuFFyWsTrKD+YJX1O5Y+DBbhwPMgVqnQYzVmGQtBo8B8J3Hy1yhSpADam+8mrR 2muX20Yl/ASrQ== From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org Subject: [PATCH 0/3] wifi: mt76: move mib_stats structure in mt76.h Date: Sat, 13 May 2023 00:29:52 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Move mib_stats structure in mt76.h and get rid of private drivers copy. Lorenzo Bianconi (3): wifi: mt76: mt7915: move mib_stats structure in mt76.h wifi: mt76: mt7996: rely on mib_stats shared definition wifi: mt76: mt7921: rely on mib_stats shared definition drivers/net/wireless/mediatek/mt76/mt76.h | 63 +++++++++++++++++++ .../wireless/mediatek/mt76/mt7915/debugfs.c | 4 +- .../net/wireless/mediatek/mt76/mt7915/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7915/main.c | 4 +- .../wireless/mediatek/mt76/mt7915/mt7915.h | 63 +------------------ .../wireless/mediatek/mt76/mt7921/debugfs.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/main.c | 4 +- .../wireless/mediatek/mt76/mt7921/mt7921.h | 31 +-------- .../wireless/mediatek/mt76/mt7996/debugfs.c | 4 +- .../net/wireless/mediatek/mt76/mt7996/mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7996/main.c | 4 +- .../wireless/mediatek/mt76/mt7996/mt7996.h | 56 +---------------- 13 files changed, 80 insertions(+), 161 deletions(-) -- 2.40.1