Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp262200rdb; Thu, 2 Nov 2023 03:04:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSNsT1mZpO8L7CGKTIXd3tNJrzTmvxL8FWeH+FHtsFyCf21tyshqqv3sv0TcMTDXlNRy4q X-Received: by 2002:a05:6a20:7f93:b0:181:5480:d400 with SMTP id d19-20020a056a207f9300b001815480d400mr4933074pzj.12.1698919468883; Thu, 02 Nov 2023 03:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698919468; cv=none; d=google.com; s=arc-20160816; b=euNAeiq2S4xNr2apRbYuopebYRYuCBOnnKTi96ti4laoWGjTg/sNg9PRpSPOdvZTJv FF+2DvIvAmDFuhoRj87Y0HUbgYX8mLqxWPrcBUDVN7gko+1BDOykt+5JPS8ma5T+9zYB MKps9z+nhF+QfB7DRtwT/x2BUxL1iSOZyA4ZxSBfcN2reYhu33ERqxIyeTUmN8pkAhCi f9LHm7vTw2rkroBZ+j9CpWNeZbxcE2GufDs3sRxY36WKrdLCP2PuOuDehzqQL97OdlDN IaGzYvYd9ovV0TIkKaYW9c47VRvZPTAf33PnVXSqwnzczAN4W2T0vmfJ/FXp3qHQ5hHh rv6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IUHvHA+lLkppag52Gm1YO2SD7hGLuTdX9M42G1Nd1Mw=; fh=8xpF8PdnU6tT3PsitW1uO/wTrpEqZbKJRKn6IJ1iwYM=; b=pLRouYAWBqhSKEwNoyO3liQGiJnl3K0AnXhL44XMdnuzEvMTv4CIdCQRI+aTqsQ1un M3Icrr3pwErLmLf8XZ23g2bIt6tG8uLTxoatBfxtpixCrHB7fg6+XYETxM0yWhhLCYna U0bY2FLewbWbaHXanJ7TcZo6BUGKvfXj6KaTxHpbebTjsA+ENY9i7XUdNUvfIlHAeE+w LdH2hHzj3QNOfiDdhLX7D+JAAGUMZsWdZHOoRcgk4wby3RdhozdgW9lOGDPBhgZRI2K7 bAmdoj1LWMIhvDJZs84Cn13Go8+Sb2PgqTkXkgMT7Y1iQhqZ8RA7nuWySlqhH2bSaspZ 3yrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oTGsPh+K; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s10-20020a17090aad8a00b002808fe61edbsi2553319pjq.102.2023.11.02.03.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 03:04:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oTGsPh+K; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8A303820DA14; Thu, 2 Nov 2023 03:04:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346118AbjKBKEH (ORCPT + 52 others); Thu, 2 Nov 2023 06:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346245AbjKBKEF (ORCPT ); Thu, 2 Nov 2023 06:04:05 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9004D138 for ; Thu, 2 Nov 2023 03:03:59 -0700 (PDT) X-UUID: 2277fa90796711eea33bb35ae8d461a2-20231102 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=IUHvHA+lLkppag52Gm1YO2SD7hGLuTdX9M42G1Nd1Mw=; b=oTGsPh+KNtz9iDbfKr2c9WFJK2bvGUhbqvnkRBuMwOpDvgQB1yfNRMDoqTwR4+9kY8j3oyV5s+JrHJkt3k6GIFZ7KVaO/pazL4hOYygR+eg3NirEqgv0pjIx/yWtf+ScjZq2pHxYppIVWNsIYzYmlULgkfW1r9mNDarmUeZ+GYc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:df14ab28-7805-46dd-9195-b0f3662261a5,IP:0,U RL:0,TC:0,Content:30,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:30 X-CID-META: VersionHash:364b77b,CLOUDID:399012fc-4a48-46e2-b946-12f04f20af8c,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:3,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR: NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: 2277fa90796711eea33bb35ae8d461a2-20231102 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1839044653; Thu, 02 Nov 2023 18:03:56 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 2 Nov 2023 18:03:54 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 2 Nov 2023 18:03:54 +0800 From: Shayne Chen To: Felix Fietkau CC: linux-wireless , Lorenzo Bianconi , Ryder Lee , Evelyn Tsai , linux-mediatek , StanleyYP Wang , Shayne Chen Subject: [PATCH 5/8] wifi: mt76: mt7996: fix alignment of sta info event Date: Thu, 2 Nov 2023 18:02:59 +0800 Message-ID: <20231102100302.22160-5-shayne.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231102100302.22160-1-shayne.chen@mediatek.com> References: <20231102100302.22160-1-shayne.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--1.412900-8.000000 X-TMASE-MatchedRID: VznsoVq3PH/PvAv72Y9dJeEbUg4xvs+wXru95hSuhjQFi3R9x/2qQgvQ UzpmNOPwG/X4wLQAwF/bCHv011Gy9YOI2R+9sePenIGynr5ObIZ9LQinZ4QefCP/VFuTOXUT3n8 eBZjGmUzkwjHXXC/4I8prJP8FBOIaKgG/fZK4o9WvFkqCLmLFIszRIz8SDcJnZHLwa3pLqr6IMo /g+Cw+KdPi211yvTylbAFleKqg/vpk8jF6ugepg+4NO4LS+npzhrzWpOQ1oLJ0BNB20+SxH7f8m JY57oZddJaBDYald1lvF9+X2GEIHA== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.412900-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 0648BE048D7B76D0CB2A8C3B86B2FE5C65FD4217677FEC18EE082FAA7D56E3C72000:8 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 02 Nov 2023 03:04:18 -0700 (PDT) From: StanleyYP Wang Fix the alignment of struct mt7996_mcu_all_sta_info_event. Fixes: adde3eed4a75 ("wifi: mt76: mt7996: Add mcu commands for getting sta tx statistic") Signed-off-by: StanleyYP Wang Signed-off-by: Shayne Chen --- drivers/net/wireless/mediatek/mt76/mt7996/mcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.h index 328edc354165..e23cc96c4dbc 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt7996/mcu.h @@ -203,7 +203,7 @@ struct mt7996_mcu_all_sta_info_event { u8 more; u8 rsv2; __le16 sta_num; - u8 rsv3[2]; + u8 rsv3[4]; union { struct all_sta_trx_rate rate[0]; -- 2.39.2