Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7609524rdb; Thu, 4 Jan 2024 01:49:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IFEiWk/UQ90WGYVo6pUXpEkfCokkTaxk/eS3DeOfp9n0MoJ9dQdCBi2X2sP2OhjpPMEl/zS X-Received: by 2002:a50:bb47:0:b0:557:430:5eea with SMTP id y65-20020a50bb47000000b0055704305eeamr236591ede.4.1704361761568; Thu, 04 Jan 2024 01:49:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704361761; cv=none; d=google.com; s=arc-20160816; b=0Jti991yiqhq9e5pY+GXDA08ijqgtbnXhpama/XMjbaumwUeU98AzHOyt6AEJrgMx7 YFpOGm1fjy0ucSc9GFg/FpNKHJyS2I3MT0bFVMiTAOEzfWYXGAt/8hdCn40MoTQB6i3q CYVrBFtL19Hc95OM+rmGcPyWFlFBYRKzUG8xexjxoo9mfCJaycGuQ1YCmKJfobu3RNG5 veCGKPDwhiRgi2fAljhaFjYwddPodPvALGlKJwaIuYpr2YXoKSALbo8+BJOKT6YC9mv8 TbklByD2H0pgmd5c8FesIQ0j2wj3EC0NloXwBFvmnWpIo6uR7lCGvLS/zhg0dB2ghEl5 pjLQ== 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=frFw3phKhsWMGzBQfo28kukVqr2J7NF9caCnWn+RMlE=; fh=xmX3nUiCDRywM7GN/jnkxEI0WXifvWaaBmhMyTMYa4c=; b=PFNu1duB5iY4fTqR/F7rHrdgAezLJIaHTe7QK4dXGsn1mwGpca1Y7o2uer7VxDmSd7 zOP5TldITQ1Oy+fYpBkjrKCOGPhHMdz+YiGuc9RV5w0I1ZG4ye3rSjNgIHIfxSioy1Lg mpEJgwc+64wLesXnHR+fdFk0LhZos8U6gA3SztHhZWlO8+MI7Cc7wm5b5J5uHdPsMNx6 htA293AuXuFGjwuvlLtEqViOdXGk9dq7ac6WTipRyPk2zxHM0r3Q3i4m5qwhR3a1MWj9 S3LFUsMJpyyKViy799QaIzVCFXTNdZQWn95aXu+XTEdotq4V18x3fhOsQQGol7jWtAyg zkFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qAsZtAZg; spf=pass (google.com: domain of linux-wireless+bounces-1480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1480-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 u23-20020a509517000000b00553d87f48c7si13253882eda.571.2024.01.04.01.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 01:49:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1480-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=qAsZtAZg; spf=pass (google.com: domain of linux-wireless+bounces-1480-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1480-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 3794C1F24AAB for ; Thu, 4 Jan 2024 09:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14E7F208B9; Thu, 4 Jan 2024 09:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="qAsZtAZg" 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 22053208C5 for ; Thu, 4 Jan 2024 09:49:15 +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: 81d4cbc0aae611eea2298b7352fd921d-20240104 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=frFw3phKhsWMGzBQfo28kukVqr2J7NF9caCnWn+RMlE=; b=qAsZtAZgtcip8kCyIK/vpPFNWn+nXXeUSnGcLrYchzbE/s6p64ICwbLtp9e12UqEyb6z9fKwTqTVQbwhEoAh4FoIb9V3ebRZeiufcYSkH4NrYyabPqUz+uVzbKTlV37x4gDZnGqiqTlbTDxSyJiIq+1zNWxUnPdDCk3Kec8iInQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:69396ff1-540d-46d4-8782-c10397ca0cf3,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:0522fc7e-4f93-4875-95e7-8c66ea833d57,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: 81d4cbc0aae611eea2298b7352fd921d-20240104 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2028439711; Thu, 04 Jan 2024 17:49:09 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 4 Jan 2024 17:49:08 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 4 Jan 2024 17:49:08 +0800 From: Mingyen Hsieh To: , CC: , , , , , , , , , , , , , , Ming Yen Hsieh Subject: [PATCH] wifi: mt76: mt7925: fix the wrong data type for scan command Date: Thu, 4 Jan 2024 17:48:45 +0800 Message-ID: <20240104094845.11276-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 From: Ming Yen Hsieh For the member of 'struct scan_req_tlv', replace data type of func_mask_ext from 'u8' to 'u32'. Signed-off-by: Ming Yen Hsieh --- 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..82b7e277397f 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; + u32 func_mask_ext; }; struct scan_ssid_tlv { -- 2.18.0