Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp870505rdd; Wed, 10 Jan 2024 01:55:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEht9iTaVKXYHrRbDeptV+cifQhXhf2wY26IDVd+DPOAgJoUF82Go2kUBGL5hVr+l+ikYj6 X-Received: by 2002:a17:907:7287:b0:a2b:a7e:3496 with SMTP id dt7-20020a170907728700b00a2b0a7e3496mr489372ejc.28.1704880514340; Wed, 10 Jan 2024 01:55:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704880514; cv=none; d=google.com; s=arc-20160816; b=UJPAx+5u7S6+9E0Wgz2VDWp7Bt67NRuGV5HeX4iqH/v+EDK9WUl7lic8PKlAazDZL/ Hkf0dhpE3NAz3P5nrrUIeCBEwrk9Ty/bS1ItTNhxmjqGDEqXkcW7JdJTCHYWYYYxNMJR 6e+c21v83pt4qnohkVbJAFUckA2sM5zx+mPKDV85tBUOoOMeQ6+8l2cY/aiO+Dll9KdT rvU46D/Vmk8xQXDT0tXV+o9+416Ia3YBoRqe9XXXSL5TZ6AhwCbZoehS8e0rCxqLADhs 5GQBxAI0/zJxRu9u3FF7Z3CcROhE9z9pStHS+UwmMC5bhbT5iCk5kd4RwEGzpQqU8b+9 JS1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=T39FyNEwI6F/HZ7nRpTpZVn4jqVCtPlIlNVn7jkEgME=; fh=xmX3nUiCDRywM7GN/jnkxEI0WXifvWaaBmhMyTMYa4c=; b=gPNiGbMRyXpoq8YXoGVRLyTF4/yZSvjl5EHGexduaOBiaI8zI0Y0jOCgLSPNyw+Irw dbZYP1p+6Oc9uguIMJ5VKqNV/c/cJumB9m//EBMSWhmdbsNB9imcH+GvB0KZyMQZwyXG 0jn75f0p6Mr6X1pon0mPlJzcTizt0vqQiekdFDjp/Ui2+FA4ZNgswegbPE/kPRx9PgE3 eFU2cR6Iv01YUOJUGgF5NoYuGhweWR7g5cihCo52pO94zrmkqMVzAi9Qw40Pc1SyiqUN KWIYC6dR8J0ks1eFpbAJ+YxKFjzGgFhNQCr7xSdGUPWEBdcmffkq6PGUJvh6lQYRr3M5 aY7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=L3rJUk2F; spf=pass (google.com: domain of linux-wireless+bounces-1654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dx4-20020a170906a84400b00a28e78d7786si1613096ejb.342.2024.01.10.01.55.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 01:55:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=L3rJUk2F; spf=pass (google.com: domain of linux-wireless+bounces-1654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1B6561F26A19 for ; Wed, 10 Jan 2024 09:55:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A7D4C3EA9D; Wed, 10 Jan 2024 09:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="L3rJUk2F" X-Original-To: linux-wireless@vger.kernel.org Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70D60E552 for ; Wed, 10 Jan 2024 09:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 54150544af9e11eea2298b7352fd921d-20240110 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=T39FyNEwI6F/HZ7nRpTpZVn4jqVCtPlIlNVn7jkEgME=; b=L3rJUk2F6vqgZu3dmzKcUFAf9JmfBPF0X/c0kDsXh+125CYKj71TBsroVjD9mBe9L11t9ZAZzqDw57fksRm+excK6MIrHSaljpamkluD22SfHF4RAR1jV+NfwHUvVJFyiNDBpRoMcsdcH6gYLgWvzdxj8O/OTS8AHD0FBrBeNDM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:b96c7f4e-cbfd-4eb0-9924-1290eecb3476,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:5d391d7,CLOUDID:8c53032f-1ab8-4133-9780-81938111c800,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,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 X-UUID: 54150544af9e11eea2298b7352fd921d-20240110 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 368039636; Wed, 10 Jan 2024 17:55:04 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 10 Jan 2024 17:55:02 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 10 Jan 2024 17:55:02 +0800 From: Mingyen Hsieh To: , CC: , , , , , , , , , , , , , , Ming Yen Hsieh Subject: [PATCH v3] wifi: mt76: mt7925: fix the wrong data type for scan command Date: Wed, 10 Jan 2024 17:54:57 +0800 Message-ID: <20240110095457.11951-1-mingyen.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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--0.277500-8.000000 X-TMASE-MatchedRID: dHqkmzbglWZIQkQ+2Oh2tcAmcZEx8XHJMVx/3ZYby79b6PBUqmq+UlO4 BD7nLMxns8CcQmOfNJ/cFPFR1xoqQh8TzIzimOwP0C1sQRfQzEHEQdG7H66TyN+E/XGDLHcMTcV YJ/W0+IfQwa+VkK70gBRfQH7W22PyeFJEhPOce+XHT0feGj9sxPyVjEKMi9OXNlo6G1fYocNl75 UwE60dAf2Zr4ZzVe8ZjofsMjQaxVwyYjbiqIQ3CsykhtyXcigD6rVdgBjDT2oh1j2M6LiVMg== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.277500-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: A135D5F670C88D2A372A26A7F1C56D4384ACC8B9DB37747C26561D84A13ACF642000:8 From: Ming Yen Hsieh For the member of 'struct scan_req_tlv', replace data type of func_mask_ext from 'u8' to '__le32'. Signed-off-by: Ming Yen Hsieh --- v2: change the data type from 'u32' to '__le32'. v3: remove redundant "Change-Id tag" in commit message. --- drivers/net/wireless/mediatek/mt76/mt7925/mcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h index 3c41e21303b1..98cb705e7423 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h @@ -208,7 +208,7 @@ struct scan_req_tlv { __le16 channel_dwell_time; /* channel Dwell interval */ __le16 timeout_value; __le16 probe_delay_time; - u8 func_mask_ext; + __le32 func_mask_ext; }; struct scan_ssid_tlv { -- 2.18.0