Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp24809lqp; Tue, 11 Jun 2024 13:15:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8iX9yrang2eh/POoAamxH222tlxl61DE9fO/r5VI5A83poIcnDud2wfmRO/1PDBHxXQWVmLObcMRc1ric1OuEwSahkV+eGO3UlTzErw== X-Google-Smtp-Source: AGHT+IF0/a4kFzlqva2vv5ESIdlUjTDSjWl9mVtX50C4fROtNCzMGmCtSQGnyeW0txPNzAV6Mgsf X-Received: by 2002:a05:6830:1e48:b0:6f9:a850:dd49 with SMTP id 46e09a7af769-6f9a850dda8mr7760503a34.30.1718136939240; Tue, 11 Jun 2024 13:15:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718136939; cv=pass; d=google.com; s=arc-20160816; b=d6Z2qEJKgf5hmuuaFK3nr8/j8spJnPUECTfaqZSXU72mHTGLd9UNvnLmKahYdkhyl9 w3poFdEErpPZwN/fMfdpx+3e8DHBeQCEr2RCMH9v1YIu+6LsiaqRnn/TkjaxldyeDG0f GO2oe9SGqGTRxNUQMCZ5I+wggMZl0BG5RXCtC8qKyXJwiA6FmcRAymbvu5i6zgkrgZjy 8+0XxP9xDoUmIKnZclPhF6VPgUaA2+vZxaOoIgykOTIqEOU7zdUZpbpWEgYoa+Qb9YNg QveIAjuBtwLVhFSll/l6dAKd2OPp9SkCQvZ7j47gmCNi3tvUYBLYMBH36Y9hl2b//YsP amJA== 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=TkIPX3CRDTofzOKhBx3sX+Lmw4cSLxPYnCj2uhd9bFY=; fh=ux1tyg+buL+rgOeXa8GQuLOwo1VeTWgF7UAUhrD9S6Q=; b=gXzClGb0KHQKySF4JkzwbAcKzFP50H6sqWNMvogjkQhKYDNjCxIJGgcKRC8CIHzgpi scVM3wAqdLvcGbCA8KNgnAXZWeENf8nW/dpNAsT3deVQoK37//zZWqccJUEBAxKsmm6p adO8F7QJm5dgMvd8nALReN8ljMdCFJ4YPPr8hgMrBPDpt39yZHvsl7GjdcliA9L4K2vg IU8FVazKSrri0qroQZ9XyAqwSadRQG6n/L1BugAMGnaXlW6ix6ueeUjfa7bc5447ll2+ DpvktaQwRGi/PIZs1/EqXyjXF+QX3W7QCRp790XXSXJZRktK89bnf/vAqQKz/deAeGHq 78qQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=figL5BFc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-79532850fb7si1461955585a.32.2024.06.11.13.15.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 13:15:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=figL5BFc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-8816-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8816-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E90FD1C20FAF for ; Tue, 11 Jun 2024 20:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 192D52B9DB; Tue, 11 Jun 2024 20:15:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="figL5BFc" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 6362112E61 for ; Tue, 11 Jun 2024 20:15:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718136936; cv=none; b=eqGFBpEVG7bTsQdYyrW/oWVz3h7EVadhSjAMWjEMGyWXSnLhgjPT/k7du0+Mh9MF7vvG0JL+D6JGrrPs3ojLBPLQEWk51NU3CgRzWIdKsPZqmjjvXqpl/VWQuw7T18M+FhTz6qseE0325jYozPQmaOVFhS5xwXlYvN12OJ46iwQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718136936; c=relaxed/simple; bh=VvRZ7KVnOr57kEiFSY3cZGQGBGGhh8cwFIlSCmUXg/U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CVwX5kVNEPR7zNeVn3jntvO7peGfPGsMjJs/z8A4cNZDVQThZG3+emKbMEhuR76ojHM2KdRaq7MGEN946Qn6n1dPbxPs3PA1G4MyFRjpUNxuWWFRdT8aL+f2adNZOntNZ2aqK3XQ82vHM2BDuj6C/5bIhPSlfqw0k5m2UcaqHIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=figL5BFc; arc=none smtp.client-ip=209.85.208.177 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-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ebe40673e8so30307941fa.3 for ; Tue, 11 Jun 2024 13:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718136932; x=1718741732; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TkIPX3CRDTofzOKhBx3sX+Lmw4cSLxPYnCj2uhd9bFY=; b=figL5BFcRVc4KqbP+NRBIBdrOKsQjZ7UmQzAFER4jP/u6oEqV6LsTJLN3Moj/nZYqo mxZI9eLZchvb2ijoEc0QyOPAZnX6y8sXYde/guZZ5eV1fv4CKIKZJegAcHLLLaZgI/Bv zn/0Lyx2yOrL85VNtfvkJtw4LvxAcUvOmyY58UL4EotKvC2EB7oDepzGmON4J06vg8KV DvSJTejBrOO35qVSMBqv3YMbnpQVoquNWgQ1nlWoIzwI1SUCDlfXZZb5JaPe3ObI2h2D glFOukoMYSKZhsct40F6gsSTG7y1LinLb5Iz0tff8+SxAFqSprxs1WIjGP9blnk2liKd Cv2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718136932; x=1718741732; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TkIPX3CRDTofzOKhBx3sX+Lmw4cSLxPYnCj2uhd9bFY=; b=L4EcHQ7Y66Tculbt97DtabBhV6dsWHpiBKPo5LJdt48yArL0NX6yH9x/IjxBEv3Jw8 tpeliS58a8mrwcNC2aoTplwE656yG3Eq3l+S7ZNiO2jVqudzqRBYIJEkGrvLOY5WgMFu lSsI1KBEMiKfkijGptUz2WeHCyUw7tDGZFkiosobO6fly6H0UPI4iz32spVelLdByTl3 gZYle+WT0Z/XlSusXy6FXp9SO6eawCyX0NJcnGeXPfEfJE1+YWk7yDUbqFB10MdDmVph R+m0VpD3dAjicSpRhuCeibVTrtkntYal/PXx78jiTPIh9h9uVNKzzo4W4H77QHJawqvT LkVQ== X-Gm-Message-State: AOJu0Yx+rkLr4xyGddl/+iesH9PXWQtsbHwyCWXRzgkoQVB4ftZ5c6wx Xap6Hl/kUIZYKK+e9QvUvc0skr5Tyt9ZXd8K42dPDkec2rVsCPBm X-Received: by 2002:a2e:a7c4:0:b0:2eb:eb23:6cda with SMTP id 38308e7fff4ca-2ebeb2371ebmr36469191fa.49.1718136932099; Tue, 11 Jun 2024 13:15:32 -0700 (PDT) Received: from [192.168.1.50] ([79.119.240.235]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae0c9f88sm9802491a12.21.2024.06.11.13.15.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Jun 2024 13:15:31 -0700 (PDT) Message-ID: Date: Tue, 11 Jun 2024 23:15:30 +0300 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: ETIMEDOUT with rtl8xxxu To: Martin Kaistra , Ping-Ke Shih Cc: linux-wireless@vger.kernel.org References: Content-Language: en-US From: Bitterblue Smith In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 11/06/2024 18:54, Martin Kaistra wrote: > Hi Ping-Ke, hi Bitterblue, > > I have a problem with the rtl8xxxu driver and 8188f, but only on some boards. More specifically, I can see that during the second channel switch (which happens when I do "iw dev wlan0 scan"),  the rtl8xxxu_read32(0e08) returns -110 (ETIMEDOUT) and after that no reads or writes work anymore until I unload and reload the driver. > > The strange thing now is, that even though it seems to be hardware dependent the vendor driver does not have this problem. > > I tried to change the probe and start functions, so that they behaved exactly as their vendor driver equivalents, but so far I don't see any improvement. > > I was hoping, that one of you maybe has an idea, what could be causing such an issue and how to avoid it. > > Martin Does it still die if you do a passive scan? I wonder what vendor driver you are using? Is it loading the same v4.0 firmware as rtl8xxxu? Why reloading rtl8xxxu makes it work again? A USB reset? Or something in the disconnect function? To avoid the problem, obviously you have to make rtl8xxxu even more like the vendor driver. :)