Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5998503rdb; Mon, 1 Jan 2024 05:12:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtmbFPXEoRB9A70cjhgVPvbub+vt9jowJlRzyUCzzlfMnu+YzIhKXPuSk5zktC0oCMVtyW X-Received: by 2002:a17:906:1603:b0:a23:62fd:e2f6 with SMTP id m3-20020a170906160300b00a2362fde2f6mr15978991ejd.30.1704114779351; Mon, 01 Jan 2024 05:12:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704114779; cv=none; d=google.com; s=arc-20160816; b=nq58Y4DEpUuqShMIp84jO5Gfl8SZIGaLBCWjCT0u0HDXg1bR+jUmaRryBstSFK76vd HBOmeb21lLWK9cuo1gjXZ1RRL60jcLLZjZqOy7UQmxZcY1FVpfGR0T1bi6ZW1vs/rx3h N2Y2MpWpz6zB+/hhul68hjTSM0kEOxJi51EZTQICfZdU4K5MtHsWD0DlzLWAvxkO0/ia qQ78PFrPeZuJ+dAmg4Uv5UaI3Nf1EOPRzJDm5UGi2+ywxRuzh9tWOBdd6FiQq/3HwpXs LCDfIXkH6kWAHNi7H/jieQf/nZ0U9T8ks2VIjE8iJBR3JMHHAWK7cayHhino0qp7a+SF Hdww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:from :dkim-signature; bh=bTG3f17CihfvfbIDINbqihad4dcL7yuRT3oxt0n+sHM=; fh=Qji2lwJubfK85Ib29Rs2/J6omD+uuFddSUCLyuJYgzg=; b=mOtWlxXnhWG/PKOMkfX+WvzLX3xEeP0LrRiMKDWtnjXeBuYLTOLw37LUUjgXPEQs4u s5yruyNwvEi5dbvMyT1Gs+PU/UxLTElnEqF+zaYD0WRXSQmSdEyi6wJLMAvjVGpQ/myj I/M8a1g/REniydTPkBVQlFrmsCJYrpyVNAD9BhHYN9dQ7aK7OsMnXLLh4ifSbupG/KhK BCgwjCC3kSOONAnCs8q8HQdT0aaSpXkjA5kv6TNYWnEHHeBHbMRwAGplzEeHck3orsCK ZF+Bgp1hY13MUEpIS2iK71dxSGcZRF92XbBiE/erGaT5TT/Xhc4lTcY+BGbjzFtnSrAO s0Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jVLHRYYy; spf=pass (google.com: domain of linux-wireless+bounces-1380-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 v16-20020a170906181000b00a280c4688e0si644945eje.402.2024.01.01.05.12.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 05:12:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1380-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=@gmail.com header.s=20230601 header.b=jVLHRYYy; spf=pass (google.com: domain of linux-wireless+bounces-1380-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 048931F2105C for ; Mon, 1 Jan 2024 13:12:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB3B73C39; Mon, 1 Jan 2024 13:12:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jVLHRYYy" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A3343C32 for ; Mon, 1 Jan 2024 13:12:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5534dcfdd61so14831398a12.0 for ; Mon, 01 Jan 2024 05:12:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704114771; x=1704719571; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=bTG3f17CihfvfbIDINbqihad4dcL7yuRT3oxt0n+sHM=; b=jVLHRYYyry7M5oayjiiUY0rH3/wg+VahRKV3DMIo7qZBKHgyyuwbWNEm6lwlUHwzSc ggdEbDb/naxbpFyQbLcqS4eVgLHrxk1epIij3N/61SU8k4OauJqFw8+r6HBJB66iFrkw jXJYLCiaEuy5PhMlm1ASDdsbOj+UtvJq6EkTvIldfAielu2YlG0Of1jb1QeYSQpaw0Ze bS8IfYbw/oGD3IfRNS730k7ymIJv7TnsCM4GcfjFtDkVOFYTh7nk+YlU9YaabdOapRbu dU/6PLcFl/3vZ7vml51V9jY0529WD+4d6ZTUl/fue4Dw0TBmN3+8Gw4/JzqFe6BjnkEo 0j1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704114771; x=1704719571; h=content-transfer-encoding:in-reply-to:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bTG3f17CihfvfbIDINbqihad4dcL7yuRT3oxt0n+sHM=; b=DHV76xL0fniHQkgg1iqWZ+BOcDtElofh0r2dkZDgtTP6VZx+kLWfDxYRttmN/TcMXw /3uvdsFLks/5CpLFAUIBMosm32kC6mfmSCfE/hoGYBzAK8aOKlsbC0LTOQ8S/zsCRcfe +IGjkpw2Z1wdB0G2txQjZ0Q2eAdv+Xp2+bQXdL+nCD10AZrdqo7eX3Ckf/TBv5OMfzeq yNBtlpjhevNEsyfP4F4jpgcpUHNThtO7pur3snYxKrNZK54MKFlaA2rHDuJZXJ99dWS6 xQX4rmVfUdr8FMo/MwqnAM2eSciqJHDUeGxzlmgmFMeCXSARqYX1ptl2AGknTqIXOEh9 7M1Q== X-Gm-Message-State: AOJu0YywJenF+fLB8lB7z30Tb6aF3utiaX0DnELUeEHte6R+MJbSE1Tl 4+0S9+MnpPdY4+pQKmNlOe0= X-Received: by 2002:a17:906:5303:b0:a27:4714:2c6f with SMTP id h3-20020a170906530300b00a2747142c6fmr5802818ejo.66.1704114771163; Mon, 01 Jan 2024 05:12:51 -0800 (PST) Received: from [192.168.4.109] (85.184.187.58.dynamic.dhcp.aura-net.dk. [85.184.187.58]) by smtp.gmail.com with ESMTPSA id p13-20020a170907910d00b00a26a63346ddsm10461583ejq.87.2024.01.01.05.12.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jan 2024 05:12:50 -0800 (PST) From: Jes Sorensen X-Google-Original-From: Jes Sorensen Message-ID: <16be98c1-3b64-f8e3-9350-e61dadb7f008@gmail.com> Date: Mon, 1 Jan 2024 08:12:50 -0500 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] wifi: rtl8xxxu: Fix off by one initial RTS rate Content-Language: en-US To: Bitterblue Smith , "linux-wireless@vger.kernel.org" Cc: Ping-Ke Shih References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/31/23 17:19, Bitterblue Smith wrote: > rtl8xxxu_set_basic_rates() sets the wrong initial RTS rate. It sets the > next higher rate than the one it should set, e.g. 36M instead of 24M. > > The while loop is supposed to find the index of the most significant > bit which is 1. > > Signed-off-by: Bitterblue Smith > --- > drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jes Sorensen