Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp839330rdb; Thu, 18 Jan 2024 23:43:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWLzR7AfHcUthJrJ+g+0suLMThsXJ1mYEJHdVblga0HQHvmrRBMM9Lsj5RjwpFB3RdztXc X-Received: by 2002:a05:6808:e8d:b0:3bd:940b:16a with SMTP id k13-20020a0568080e8d00b003bd940b016amr2069318oil.41.1705650219220; Thu, 18 Jan 2024 23:43:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705650219; cv=pass; d=google.com; s=arc-20160816; b=UGU/9rGKMF8QgwW/VgSCrMlQDojlxAXRKOgYkA2c2Z+/6l8ihnytw1CdqauX4W1X5h 7R9QlymkdY9dCpyL7cIsvvDC5FRzYemCnikvq+A5j4hCvq1N5zRz7WPD5M4K4dsNEkhX pVYtRkh6CmzoGw/JOdvlFeL56EvfPDK0sW7uGnEI063E9AF6gFWZCXbsWi7C6QwXMn7A KUYjJ2h0RnSNLfiZFOwhACLMAWMCZJGWFCGg59vopqbyi9ta9UvXRTSoyTBp88+1LomO +XZI7692cO70mxD2NHp8JAPe/BHAXZ+HlC85E0G3p9zdNRXHhaWSaVuM7s7EkqfbVz9z QKMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Sp/N1KdzR2MNa38QunQH9spzza45w0SOUgEyKGyCiTA=; fh=d86FByiPvCbm6lBJXnezv2wOTd8jgj8UKblmedvze/U=; b=gDl2nDKPYyO9NqKPYArS2c2w1buZR08PoLtS25bua4YNOmbLCUiHr2CEvcvnX3vIZO lqGXeheiodZtmyO7rE/ca5pftgOn27GjkwiNC1/wgR/Hl/z1e1sqvj7rAHCy+jEC/Zcs yOWYptqmkdqa6hvz0ATHse+P+HsxXySlYWuh0JEgsEfg8czu7GDBGpzXaPfeNdZDJWhC ABF80ZFQOT7L2AgPtEKevZBrBDUXvVGVu0RJGiNUi9NYE9NGvoHZIwPM3RoiaI0E2ctY /amCW5f3m8XXw6EfPTVK47RffqRJq6EQ6p4QAMFY6PIfMMVzYLbjXh92pBDXrWObxqCW QTXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AJx4gYh0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-wireless+bounces-2221-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2221-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k9-20020aa788c9000000b006d99f3bc0f4si5344862pff.248.2024.01.18.23.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 23:43:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2221-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=AJx4gYh0; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-wireless+bounces-2221-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2221-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AADE2286585 for ; Fri, 19 Jan 2024 07:43:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4E57ACA4E; Fri, 19 Jan 2024 07:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="AJx4gYh0" X-Original-To: linux-wireless@vger.kernel.org Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 51633CA4A; Fri, 19 Jan 2024 07:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705650214; cv=none; b=tq0kwUmBUI3xsPcp9U3xWirhoqCZ62lMpkOBIBr/hycdyfiSIW1LJM4RJWP8yWkRzEts+8sxLwjc9qcGKhLtVJxxft7GePDHgH0BPJPcpdbMimU8upgQ5RAYdHlFC/qtciRPIJJJiug33HrTcqjUkmXpGezk0UdTGOzkghyB2qI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705650214; c=relaxed/simple; bh=UXct//2LTvT2yJMrTc9ACPg53/+fA+whXWelCkJIV1U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=fvAbIqWMK7y3CRAzW9YWsnyVhIcige1zOzfJFoty0mtKlWOqV4pMf85gfYMF0lCiYXEcdbIKJ/uIK8+UorEY+GhCd597LUemx+4i+Ar+0EUMqjOgKkiLqz4T6pvjTwIou1UQ0U4mBVi7XYU3zpsPljtljuVgCoDmDocHXMna11M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=AJx4gYh0; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 52D1E240004; Fri, 19 Jan 2024 07:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1705650207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sp/N1KdzR2MNa38QunQH9spzza45w0SOUgEyKGyCiTA=; b=AJx4gYh0TjvoblphphF5x5k6WcFPXwElwfTjTWO9oXn4vYALIOThdI+XavI4wlpcv8PbYf ewEYMKiRigr+coIeN0TKCByFBiqcAYmXfzOOB3SHu9iuqFSPnFfhy+R19We+OLvdzkpoWG LvoROM/SoopGQG9peRpfrEXgIDHrkJnUB0bQnOJh7n1qapZW6i0eekchG56bqz5EdIBB3N Ns8tcPawTezHlKF8DQefOQFWtzpjS8jHsB5QtLxh9Ct4InKNisqtdIrXxz/Ya+Z31F6OUY 9tSRWrzPSPyL5N2Iha4FJVZ4r5Pq7t0+YxmQvLZT//ihthx5YkL8ttTJgz/pMg== Message-ID: Date: Fri, 19 Jan 2024 08:43:26 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] wifi: wilc1000: set preamble size to auto as default in wilc_init_fw_config() To: Ajay.Kathat@microchip.com, kvalo@kernel.org Cc: linux-wireless@vger.kernel.org, claudiu.beznea@tuxon.dev, davidm@egauge.net, thomas.petazzoni@bootlin.com, linux-kernel@vger.kernel.org References: <20240115-wilc_1000_fixes-v1-1-54d29463a738@bootlin.com> <170557027237.2797779.2354857290141885659.kvalo@kernel.org> <000e823e-ede1-408b-b8e1-fd9c1c73fd6e@bootlin.com> <5c5e1332-39de-4d6b-9646-661c78cee900@microchip.com> Content-Language: en-US From: =?UTF-8?Q?Alexis_Lothor=C3=A9?= In-Reply-To: <5c5e1332-39de-4d6b-9646-661c78cee900@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: alexis.lothore@bootlin.com On 1/18/24 17:52, Ajay.Kathat@microchip.com wrote: > On 1/18/24 08:08, Alexis Lothoré wrote: [...] >> "WILC driver currently applies some default configuration whenever the firmware >> is initialized, and sets the default preamble size to short. However, despite >> this passed option, firmware is also able to successfully connect to access >> points only using long preamble, so this setting does not really enforce short >> preambles and is misleading regarding applied configuration. >> >> Update default configuration and make it match the firmware behavior by passing >> the existing WILC_FW_PREAMBLE_AUTO value (2 instead of 0). The updated setting >> does not really alter firmware behavior since it is still capable to connect to >> both short preamble and long preamble access points, but at list the setting now >> expresses for real the corresponding firmware behavior" >> >> To give a bit of context around this one: I do not have access to the firmware >> internals, I just took the patch from Ajay and I merely did some tests around it >> with multiple APs (basically, making a WILC STA connect and ping the AP), and >> ensured with wireshark to get at least one AP be really "locked" with long >> preamble, with WILC managing to connect to it. >> > > Here are some more details about this change. It have been implemented > to address the transmission(Tx) blackout issue observed in the 802.11b > mode. The modification has no impact on the other modes, which will > continue to work as they did in the previous implementation. This change > will allow the 802.11b transmission(2, 5.5, 11Mbps) to use long preamble. Ah, so it fixes a specific bug (and makes parts of my suggested description wrong). Has there been any report about this "TX blackout issue" on the mailing lists ? If so, we could enrich the message with some details from the report and add some missing Reported-By/Fixes/Closes tags. Alexis -- Alexis Lothoré, Bootlin Embedded Linux and Kernel engineering https://bootlin.com