Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp586440rdb; Mon, 15 Jan 2024 07:06:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFNozCsbdAdFifaUt3WUsUQY3zbzH3nl1/9XtqTOBREcP3aqaLZM3akn5DPulHbiKKZU8y X-Received: by 2002:a17:907:918a:b0:a28:c89b:6f68 with SMTP id bp10-20020a170907918a00b00a28c89b6f68mr2067263ejb.125.1705331214481; Mon, 15 Jan 2024 07:06:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705331214; cv=none; d=google.com; s=arc-20160816; b=j9P/hcITSOnDuog8VtUd47OHVJK+5YxXvtr4PDmLk4KBn92zQoqlDwiYhA45FgDkHd J6ms19nz3dYOvHKe6PmXUGJvrqOMMbNRLCy138zAqAGEtSAdLBUu/6wapjBhEHHOmDMm BswNMdPqmNc2FvWqw86S8LFJBdokfIySiRe57fGZZcTjVAnM860WPwYyzTl4VgWNmG9r EeUbwsxb2nYoc0Ezb9opvWY2CbeZB1EcSZkyS+4SDmBz55ZCe7+TkGC/dgzTy3tIY5DS 2IMxknH188v0bXNaBvUmuajWgT3TaAJIpDz+ttZRQ8/EtA/30hwYzTLxO0vQA1pNbSU5 cSOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=f53Zp5Ie7SvA/urVLBu9knCFVK7DSFZQ8gZToRBEIg4=; fh=fVWNSIr8Vd5WRJo6LslfqG3nFGLhcHDnKbQ0ZKCs5kk=; b=p/LtJfbBA2HHlC4h0nLndSDJlB4iaBAqWUsjDEurhYY8QkvXKaubttr+JbDCmqeln/ KWQ6zKHN5NaSX+cwybl6+k60a89orBXGWLYu+aVjXED743K5nEmOUuwLy/YpA5NCOXRx ejML9ICbNmFp6oEVv6z7QkLJUfMmtVeM2Rs9zB5pJg0JG2nAspRANCxj61K3YBuHbB5L JhoabbI5Wu98MaPk+h0bDGp2iQFzHxsPK+IECi6oji9E76AjG/lAC4fRCgA0oKjYMgAc uleFdeFFTXJKyreMreKJoL4P5wTkcPWYXWQqSQytpE3KQhVult7VWkao8Lo6O0+vXDn7 2bSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OF5Itzhq; spf=pass (google.com: domain of linux-kernel+bounces-26155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26155-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w14-20020a170906b18e00b00a26b06c521fsi3867777ejy.364.2024.01.15.07.06.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 07:06:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=OF5Itzhq; spf=pass (google.com: domain of linux-kernel+bounces-26155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26155-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3D4E91F22A4E for ; Mon, 15 Jan 2024 15:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD20D17BB2; Mon, 15 Jan 2024 15:06:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="OF5Itzhq" Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (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 53FAD179B5; Mon, 15 Jan 2024 15:06:14 +0000 (UTC) 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: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow1.mail.gandi.net (Postfix) with ESMTP id D9714C646B; Mon, 15 Jan 2024 14:59:20 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 905CAFF80E; Mon, 15 Jan 2024 14:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1705330753; 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=f53Zp5Ie7SvA/urVLBu9knCFVK7DSFZQ8gZToRBEIg4=; b=OF5ItzhqFaamgBezgWVg9/B2KXGRP9tnRoLiz7gqbObeTDOch0oAdJ1BN+ou03qFQWa03k YGosK7D0zkB51PkdUbRgQ6tRuJFjFxurKykh5by0HzrwIVrePxv4xeGMBq0ONpz3m4sXBN AeY7aYS8FnHqm0HrgA2HhyZJpzO/blLF3vGgaYPef1/zXxvA9dmcJ28LeAr37QRDHNrc93 9pF48Da9UoZ4T6Lb0hdvtzZyoBTzrlkKUIfk3QnQ0eu9or2866oFKneEsTfLboFmKCaker ttH58df2vTQ7QK1565WiKtrLJOZoxad1TBYuhxHSjrBfcJ495VBfq7GQCfJTUQ== From: =?utf-8?q?Alexis_Lothor=C3=A9?= Date: Mon, 15 Jan 2024 15:56:30 +0100 Subject: [PATCH 1/5] wifi: wilc1000: set preamble size to auto as default in wilc_init_fw_config() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240115-wilc_1000_fixes-v1-1-54d29463a738@bootlin.com> References: <20240115-wilc_1000_fixes-v1-0-54d29463a738@bootlin.com> In-Reply-To: <20240115-wilc_1000_fixes-v1-0-54d29463a738@bootlin.com> To: linux-wireless@vger.kernel.org Cc: Ajay Singh , Claudiu Beznea , Kalle Valo , David Mosberger-Tang , Thomas Petazzoni , linux-kernel@vger.kernel.org, =?utf-8?q?Alexis_Lothor=C3=A9?= X-Mailer: b4 0.12.4 X-GND-Sasl: alexis.lothore@bootlin.com From: Ajay Singh Changed the default value preamble to WILC_FW_PREAMBLE_AUTO in wilc_init_fw_config(). Signed-off-by: Ajay Singh Signed-off-by: Alexis Lothoré --- drivers/net/wireless/microchip/wilc1000/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/microchip/wilc1000/netdev.c b/drivers/net/wireless/microchip/wilc1000/netdev.c index 91d71e0f7ef2..8923eb64c964 100644 --- a/drivers/net/wireless/microchip/wilc1000/netdev.c +++ b/drivers/net/wireless/microchip/wilc1000/netdev.c @@ -284,7 +284,7 @@ static int wilc_init_fw_config(struct net_device *dev, struct wilc_vif *vif) if (!wilc_wlan_cfg_set(vif, 0, WID_11G_OPERATING_MODE, &b, 1, 0, 0)) goto fail; - b = WILC_FW_PREAMBLE_SHORT; + b = WILC_FW_PREAMBLE_AUTO; if (!wilc_wlan_cfg_set(vif, 0, WID_PREAMBLE, &b, 1, 0, 0)) goto fail; -- 2.42.1