From patchwork Wed Oct 30 10:12:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chin-Ran Lo X-Patchwork-Id: 2004087 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=lLpyWWDw; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=g6z6049S; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xdjdh2Wzsz1xws for ; Wed, 30 Oct 2024 21:13:57 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TX0QBO83SlaMCdp3leVOJa2y63xbF1H3NM54oqQqCkk=; b=lLpyWWDwROrIAt S/9bN+ZAGzUuVuvjX6F6lkeBzIydkkFgwoEpLMb0+XI5S+mTrouEadWso2NPWtsnci2ZXtHeEmLHh hjDuiTKfL5Y9c1Ttk/5+MLjWICfS7CoVLTxAqDkstZONwcNtdTprIaOg323x21xAj5Mb4feGK8N73 d0MPtQOU807ogYYIY0rnuKKKpqwmL4IFL3DdmmUa455rNhrFxSxhFP9hX5HTbxMNUjyi7kkEyNvU7 th883K3uqPVw23ybZsgkmGyruBXplIaBrRb1Oz6fz9jKyfgrggG+Yn9qribM8UBv4+clk2F+QETbG aAdDEdARFL6YfXnjyqlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t65hN-0000000HVl0-0VEP; Wed, 30 Oct 2024 10:13:09 +0000 Received: from mail-vi1eur05on20607.outbound.protection.outlook.com ([2a01:111:f403:2613::607] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t65hJ-0000000HVka-1Sxt for hostap@lists.infradead.org; Wed, 30 Oct 2024 10:13:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eq1rVScYvVhNbup9buNdojfPSFR08OXyV3iOZXWSGEnZul4KCOmRaqERINjZRYwkWZj2aPkFun74a9VXIYXM2gQiL9hQCWL8pq1KOHJzlO6yPrV0maaKWSQ7iY6x+XCYE0rsXIE8gFWTXb6jF1mRb1P6DBoqcb4qcsmDvP1JR/H6sdMDd3jiUJw/1sdwQ9ZkZZ/F0/MYr21pfcQC83mA/8jxg2XXToe7IShHQh0Ys9bD2KRHM7epkSMLAsPJyOu2ocbIi/vk91aSk0nhY7NhKb3cM+rNjd2stOQhkBLRkRUgqNwoW9vQ9+xMh7XqCkqnG8ph4SyydTWgym+Xd9gmzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ne4nr3zpcx8FRWd+NiL/4T3lSSBL+6fTrSPyPuuIQz0=; b=KdeqmbyRISzg4VwLbVK1zEFPQ+J7Yzkp3ZgSQEFiFmCUnBKKqiAEWrsyZRm6/x4M6Sp9N4ASIglF5vemncwnTf5NXNer1Ecuo+ON79rpHIlMXZ1At4xKPg4ognKuN1CC7yEnqoc5El028+SPf1MBDRN5EVZSebDgpxPBMXHXN/sDHY8qULQ6CvZJy20E+T3y14YxfjSEeQB3qgP9BxsaOIVkQj+9shgH2tNMt3FE0cKh5ef6KdKk6I9JyKXpK8x/0DsN5gKSZOa+7HVlg9VRxh57D/At96uOQw5w+EoQwsHpjJZIux0NAX21sBYeysUKSr7uWBulNtO63UCYs63Zyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ne4nr3zpcx8FRWd+NiL/4T3lSSBL+6fTrSPyPuuIQz0=; b=g6z6049Smj1H12GyKjaoFepXgXC52bRZcxEzstnOFfXfWXnTnOPxB4FRDWGFofUXZQeMQr5yIxVyHlEcuHB56yU4qUK4C7zumv0k2XHg6dVRsCbLYcqoby0S12vnZvUePgqkcEoMgBnbBZk5Tui8cQWfAREWgE2UvH7QdxejwXFPndrLdHIu+9trY0Xggzno8eFIidGtzzOPgKn3Re+Ig3mPKd9rNlO2noZV0wVN9hZd2LAMHltXFr31+7Z5SVpfWsOmxouD8ab6hhhhS92ebaKs1hEen/b+kZh1eMteQco+dP0EKWP7sP4UxIDJ+Tfs1OoknbgyETkUVvjR+agsfQ== Received: from DU0PR04MB9396.eurprd04.prod.outlook.com (2603:10a6:10:35b::9) by GVXPR04MB10430.eurprd04.prod.outlook.com (2603:10a6:150:1e2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Wed, 30 Oct 2024 10:12:55 +0000 Received: from DU0PR04MB9396.eurprd04.prod.outlook.com ([fe80::34a2:5975:cf64:a72c]) by DU0PR04MB9396.eurprd04.prod.outlook.com ([fe80::34a2:5975:cf64:a72c%7]) with mapi id 15.20.8093.027; Wed, 30 Oct 2024 10:12:54 +0000 From: Chin-Ran Lo To: "hostap@lists.infradead.org" CC: Pete Hsieh , Chin-Ran Lo Subject: [PATCH] dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect Thread-Topic: [PATCH] dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect Thread-Index: AQHbKrRJIFaOSIt3OkWM7MNZHfuHoQ== Date: Wed, 30 Oct 2024 10:12:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR04MB9396:EE_|GVXPR04MB10430:EE_ x-ms-office365-filtering-correlation-id: 6abddc71-f8ef-4917-6149-08dcf8cb6bb7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: IBcZBKeHEx8Zz5kcbRI2jWYSJX7WMaQmiSGjoMzt6k8iJE6Gomc5tvETHgSTgFVGZG8zNFkxiC5zar2xl604In2UXEaHrzjPT3e1pTuKbzJStNHTz/ZsTL1ZX8CvFOJ7BpSyi+/j8hmG0LgIKDqij6zYhOEalpZMYc9Hv3nBGzSvj8RxU+3ZyErL9psyELK8ozvwU22oPJVNG3XQmx99u06skBJINtCir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rGNj3nCUkpfpa4VshRVlw+JVIA+N8WzKmHqgJ4lNCENx4PNSi1k9So6kUpbUDXMkycAphQgENlEWw0xIOETR1CGEvaE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9396.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: AKuPoBNsZnSPPykZon+BUVpNilQ0pmfhbnT6EVg3/R8kFLPdrcM8b0DmPLMoPmRdYS6VQ28gid9GlizL54Z4SmSUCWJV6aB7Ny1XktpkgdEOES4LaNv/HkG13y/0hKYy/pmnA11O7i9x1sJip5h7qoa+nu78W4pTuTDgn5MEXB1h6+ELeyBsAAZYd463t4XLrgLQyGXYXlMESG2lPo5EH/nSUHo9MpBNd1hyqI5uBvdDLPO3/h5o1ZyImg3nc5SEkPd7e50wXFu9bkL2kELY0wQeNgEuvpheIs5w+u65gX4FC3XfphnwMDL2GA1l8hkBXXE3OC0tpXzWt2U44K82XslNcuO11SQ3eJujPDGQyiKgqapP+CUQ1CNuI2AIGRjyVg7WfQn5K3tx1Xwm4laPDcpSi0fJMFDDvsJRhncY01eYUlgnfR3FdlqBUh6QiH7GBuptKeQyNYt+Y0saYZkpCNPYoBmUat4lSvxOb65Lu45uc5tKNAUtUOmtaru7FAyryd520Kx5PCVBEfl2C2gbJNCUUE83VjgI44dfMiswOo8n12GUtk8PkLjggVT1m90PW8yQ3AhAejfWK6xb568BKN8kZqQb3RQ8hePRNzwpEAuCJ8dM9N9Z1JKzEf7iPMW0ZMmncHY92zOg0P9hvFcARWAP4q/15KNTyUxxF0EWZdP+zLS1BTxh3CKQbu6xRYXfLjZ4pL9jdqolAnM9aK+p2Qp7q8NuoTI9gkK05gQtFHvc+zfvadDS5VOkakOGCwui8l7+DYb5AwE0vqbHMroY+mlvbOucrFgA+y7qmA0PNYpjb8zQGzI7XHSL7tbFRDBVwLQPVCX7dZ3EC6wz6kDJlaCzYitoLyc4rJO4wH/n1QjqlGzEgrhikDtfhk6U9gfncx7KERIT8TF6dshSZLGhqwYfBDEFsepISGqEA95/uqqEoK9q32WWfWvF9ch8d3KirOQAXvQRpZbUaAmDC9ZGIQ3asuYhXCWb7uDDpmWepoVjKV7XF659sIKYRDFC7S1HEQl6qiprOLjltK4HDuTXm65+h+njAskamQmLdcbgUnwpx+sKWzcH/LkqLgQ/JMPcDPrSRG+RbHYzF0XgoPtqcPg3XcGRin4i5YyvhuznUz0tPCs0c3g7EjYSpId7h1jKj3DaBD935O3BW6HqXL+B3C/GRkuq37clobC9tkoyLyV3Pcts1urorR1MINHHHZMMAS+Ye68ChqbH8PMUnTOZt1mD5HMWFagKZXUAldZ+FqMKi6DDIGOMs0Hb3H/tdbhW3EBVqx+vHHIjzHu0JUJetWSnNHp6EODk4Hoi6EPU/qnel0fsKkrfAtRJfRoZG6CzOb/PVf//+Xa3jkP2Fg9Ep26BD7z1syMzHq8reT1nXg6KSADINeaNCTpmpV8A77AybFVBo5i//Qo2oYFycGA7gj6/XjhlbjPCDT7EpYjkYyOinpfXgdi0ObHNJrDqUbNOIwGxzQN5bVOUyQ/MQ65bV2555oL8/iSEkXBZ2ENJY+e0Z16IZEU4zQM7IAj2aoQL+WOmI13jONUXOdhBNLNWHWLjdznvNYNqtH0z+FUpA+Xd5iJRQ3aVNi8dhXcwWfeZ MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9396.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6abddc71-f8ef-4917-6149-08dcf8cb6bb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2024 10:12:54.8334 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HvCp8LqvYVa0waN/Rcx3m6FktuE2nqApsNdzqKPQvkDn4FQCLdr9IeKuxAkMDS2sCqCCDsmqiu/S0nGci6/qEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10430 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241030_031305_412667_0A60B470 X-CRM114-Status: GOOD ( 11.68 ) X-Spam-Score: -1.1 (-) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From 222549f598502768ca6d72d2b1213a5c127f2d86 Mon Sep 17 00:00:00 2001 From: "Lo,Chin-Ran" Date: Wed, 30 Oct 2024 10:59:57 +0100 Subject: [PATCH] dbus: NAN USD, set the freq_list [...] Content analysis details: (-1.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a01:111:f403:2613:0:0:0:607 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 ARC_VALID Message has a valid ARC signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.0 FORGED_SPF_HELO No description available. X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From 222549f598502768ca6d72d2b1213a5c127f2d86 Mon Sep 17 00:00:00 2001 From: "Lo,Chin-Ran" Date: Wed, 30 Oct 2024 10:59:57 +0100 Subject: [PATCH] dbus: NAN USD, set the freq_list array from dbus to the member of params to take effect Set the freq_list array from dbus to the member of params to take effect Signed-off-by: Lo,Chin-Ran --- wpa_supplicant/dbus/dbus_new_handlers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c index 9c2bb773f..d01bc60be 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers.c +++ b/wpa_supplicant/dbus/dbus_new_handlers.c @@ -6602,6 +6602,7 @@ DBusMessage * wpas_dbus_handler_nan_publish(DBusMessage *message, for (i = 0; i < entry.array_len; i++) int_array_add_unique( &freq_list, entry.uint16array_value[i]); + params.freq_list=freq_list; } else { wpa_printf(MSG_DEBUG, "dbus: NANPublish - unsupported dict entry '%s'",