Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp446194lqp; Tue, 11 Jun 2024 08:57:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPkWG2+7RjruaqMtYXNfeJPx+wXLnnR4wcTyPy5l0l8cVfdsQF1LDZOUpKmlsOlnoOM0qX7Sy2FNF3RvfLuKBfCUNm/BUawp7eXa8Xog== X-Google-Smtp-Source: AGHT+IF40pW2GWSmGPUkdMd++zysoZYHixNWSi/yu6KiMheynFROcRbHrA9vAzGDGSrRCZ/KHhTT X-Received: by 2002:a05:6a00:189b:b0:6f3:f5e8:31f7 with SMTP id d2e1a72fcca58-7040c615cf6mr15971079b3a.7.1718121428938; Tue, 11 Jun 2024 08:57:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718121428; cv=pass; d=google.com; s=arc-20160816; b=YOJwPnEQhn3pziYN2hTRT+NmkmJlsn7uskL4ui1We1YeSH2Fjmha1p1trpn+q5HMEZ ChvTSgzceDHYzyutkviZVg4MtbkgFKZ0NhmO8NfVDvwsrjuz8nYoZ6/vh7vK1xr9wCv0 n/JxJ3rsrT7EnELVfABd7bi9VvNX7cDO34BSUSMPimSbEdnEgR9vNkjwNvlnmqwXd5iO rGQvcA14T2pBXwSmFk3XTegysoPCzAkR2OnhH8V1PJ2h7ISv2dUlZBh2n62IzBee07xz ShnhEbiLh5xkw0aI99jcBekyh83V9pcBzAdzqjCvw4zn2AiO+3Zh9C5U1RESwez8UWUu mg5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:dkim-signature:dkim-signature:message-id; bh=IfakeLpXBgh4eOEoo/KB2bFACI8Pm/SnAE7UOpqrB70=; fh=98qg6CqOnNUF5NFKnHRMNRneHF6VozTAg7TOkFfQtdo=; b=b2pb3zDPMaCyXCSwSxQvPCIYcmpvYMb6LHfhs3NOWrXlrFJwNc/gkaEXUqf7IQXDat rbWQDyenpWldhFtCw3sDL2W9cark0phGxpCjVRuQUwsR7k+mOeCgK3cvzbBarR4PLTSg afFCqDX4yOCDMyf9PPMXp15xz18bN3bae0VGTLsV+kQJG01IS6XecYg8Fxqq5V0D7cFc wL08nPvfNlL50AsOOICb5ttVsaFdDIxqzUQMK2cXpdqh5SGyNEuxvL+6FMqGj13E8R7+ WMRGGZhVnVLdi3xLBzWvgihWcxJw+uoJjCbuKufzO5V1Mg9aSoSi4xZ2RYoh+2BFD2cg wKcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=aVSyvUen; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KsY3D4US; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-wireless+bounces-8802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-705a3055ab5si2466288b3a.320.2024.06.11.08.57.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 08:57:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=aVSyvUen; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KsY3D4US; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-wireless+bounces-8802-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8802-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7B4B7B24B03 for ; Tue, 11 Jun 2024 15:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D395383B2; Tue, 11 Jun 2024 15:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aVSyvUen"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KsY3D4US" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 4D53E3839C for ; Tue, 11 Jun 2024 15:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718121256; cv=none; b=pVO/yjPosN0hH1YEXH6+UFKdySTyf5Mwc4TqcVY8RktO1NLa5rWncXlTYIjckV9BMEyi7LB60QFmeS03GRsjS448F7ZNSI7PMIb2AaXvtS/yG1slOFYslc1dLY0zMRPusVRMUjTJhLpThJUPnUm/tYLdcoHsLODx5u7hbu0vRuM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718121256; c=relaxed/simple; bh=rqtYafVQvUsVK/tCtTwRbdRqcxbkSR9hFIz8Q4R+tbo=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=dZvFsHQ1seGE7TEndawBFYaH2pydTjvaZ5lk1rUVHAD6b9uwr0Mdh9bP+RrLXC96P7EQAy9AroCy/ANTDZq3nH8yHjAJ94cqe7o+qQAYTU55JSeXq3eJ4QRxUvQJ7Ow+ymZZ8gRQeFZJ8ksK9BZ7GvVrUqExwDMNZ1PkNaiQDAI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aVSyvUen; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=KsY3D4US; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718121250; 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; bh=IfakeLpXBgh4eOEoo/KB2bFACI8Pm/SnAE7UOpqrB70=; b=aVSyvUen+JVvYSI6l0Waj05dnu8U3ltYQzJ/rd0TtJqaUw0NbMaZsVNUxWMpoxhgdDB1ND 0y28YFCnjRlJGSVucr5DMKqtabxjZDSStX1sjD6wfvz8IJDM4ZxYCl3ZT79ksmJxpRhvHq Y3fdIkDKXaohiCy8CLwBPCd4cbzx+9q1WxvurAkb6qZA/F3pTMMUwr73wrwq5REk2i6nyk 10KO1MIQiBB9447c1qqtD/2xdRBfaaaYlFvSu18hFOsGUQG/rOIM3yfiM9vjHW18VvUhse hjOWakrzM7Aah140LEeDCyJZeEXL6hlduZ6Si/mmi4JLynAfwh/+Zg3Z+57VhA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718121250; 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; bh=IfakeLpXBgh4eOEoo/KB2bFACI8Pm/SnAE7UOpqrB70=; b=KsY3D4USwq5XUcnpS3qd/dDcZesgcErUKctZvF0XYzVn0jXT/jjGFbyioAW5xSZS2Klrtw mlv4fzCtRqk0D3Ag== Date: Tue, 11 Jun 2024 17:54:09 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Language: de-DE To: Ping-Ke Shih , Bitterblue Smith Cc: linux-wireless@vger.kernel.org From: Martin Kaistra Subject: ETIMEDOUT with rtl8xxxu Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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