Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1493277ybi; Sun, 30 Jun 2019 17:19:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIRYmIZGW65z+j9Zh7jEtBIp6jfEq6pDuagVAviBaLsBSiFrzJ3eVC3N8ADqdhE6tzwAh1 X-Received: by 2002:a63:d53:: with SMTP id 19mr22145335pgn.453.1561940385276; Sun, 30 Jun 2019 17:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561940385; cv=none; d=google.com; s=arc-20160816; b=DDrH5yLJHGX1lDoqL5qP+LGKaEtqQYzRvzA8rbg4AWHG8oRilS3im/WRRLItIoR6Vv tWYT0Re4fYUDwRBbN3vidKEpojHlU7OPfxhGFexDpvOqI9oNnuJlftcQKNCGS2ZKpxZb L7Jw2cToDYTmYDjWiLEbMRu65xE2OvdbCcHUXoXfgkWz1yLCPwophHu6MRYceCL3/klH 4oS80e3LgEyfmjKSAXfFuMjlvKb1QaOP5RBClMalHZngxfSVlSwLROVOwU5fJI6G7hL7 aVQm+C7SqDIxlYKz271RznorZoAj9FHtygy47kEzD3GpYh2O68Twb8XjRcstaQMyu9ph nVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=txuRTylzO9HtqJ05wnC3L8NyCMNOBefcP6c96hmVIc0=; b=DbAXltLRv5aGyp7QljXHSg+uyPt5gjKoVm5fu8fQLE6rjvFhukNkkEpmM2RjTIsjkL Ee1E8cHX0jcGLmPG+QPmB8TOa892PrPedhUgPz/bWptbJ1CoEWdE7Re0O/VCwY5fkaes J/19MHUwHlKUK6eM/dUdJzEeIKOvxfGoGtCCsTgEhI19CQVzwWLR1VQzFKhZ8fELuXys FdEXLiMCLFT/h4SHhw01jJBFr+bw1ZJSmMtFh/hemXEsqSnzDdgH+5EyOAGDyMxAcc6e 81ve4t1fka7B5zZ8xidgbj/HH9sX3u61IkNnZqLBn73TazfWoadWgem801axHd9TUeQX 9KzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iYDuBFwl; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si9805927pfc.54.2019.06.30.17.19.30; Sun, 30 Jun 2019 17:19:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iYDuBFwl; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbfF3V4q (ORCPT + 99 others); Sun, 30 Jun 2019 17:56:46 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:36047 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbfF3V4q (ORCPT ); Sun, 30 Jun 2019 17:56:46 -0400 Received: by mail-qt1-f194.google.com with SMTP id p15so12652574qtl.3 for ; Sun, 30 Jun 2019 14:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=txuRTylzO9HtqJ05wnC3L8NyCMNOBefcP6c96hmVIc0=; b=iYDuBFwlgSIM4o8Gs9dF5EPe3xx4UD2AEDnpMMyKHpjvhniiKH/kGgoa+dmX9wWHyT k1tTYSjB+/a1bz3Ujl8RzAZUEUn7kPkC6HZrzSjvmGgnYLVc5/La12JiVUttkRiVQSLl 8RYahrVREc94zRvBWwKWc7DCUzNS0EjYhrHTFStLDXoIMqh7Zw7WGe7s54GvtG9QjbPw vPiX5pGYjQUrLofd9FnyTGSHzoajk+SXvfpzDWt3HeMjdVNpFl+nqtpus/JSVvgumVzB ARjvc+RQZyaJNZ1XU4UYmQgv/GGUSfKopZEo16QIbbrZp/OL1mP9ETpKXsYTm/QlxtBR IBfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=txuRTylzO9HtqJ05wnC3L8NyCMNOBefcP6c96hmVIc0=; b=tqrydy6g5Yoqvi0TgQqIiYBkIVimPEw1vjzpyZSzILPwpeav6NyFtEMPcASAQh/g+F Tj9Tbh1hMG6UdGADEVXTX3kHzklhCK8U2q817ydxDsKKVnYrj+IASYwGCR6h0ZqQZLPC dAK/p1EORr1yOKv61Z+dTAXRFcBqdG37GLiqMQTcpscFSN2zxgS1AxRFXRGzIlEpDdkt E8+8TLBzBcZMmkbSkfgEAlbCD61dSPExbz2fnRja2rQK3XilQjiL79cp6/mzL6DtLci3 NKA1ykgUFCwQvxw22vdMlxgYRivWO2wgzVFZJTD6XLjye0JUEdMbaqGgxiE8Mus2Sjn5 ZXLQ== X-Gm-Message-State: APjAAAWoBqYmmbV8ybUH5WkhLF23vzbESttqrkkoq4fky8s4oDWP7/qW JCzB2mEE1zargUks7tzFIcjrF4OoSjQa/jQoTjlmZ4gt X-Received: by 2002:ac8:34c6:: with SMTP id x6mr17786931qtb.353.1561931805131; Sun, 30 Jun 2019 14:56:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Lenski Date: Sun, 30 Jun 2019 14:56:09 -0700 Message-ID: Subject: Fwd: rtl8723au: WiFi scanning stops working shortly after driver loads? To: linux-wireless@vger.kernel.org Cc: Jes Sorensen Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, I recently started to use an older laptop with RTL8723AU WiFi/Bluetooth again for the first time in a couple years. I've noticed a strange behavior of this device/driver (rtl8xxxu with 4.4.0 kernel): the ability to do a WiFi scan *while associated with an access point* somehow disappears ~30 seconds after the driver is loaded. That is, right after loading the module and connecting to a WiFi network, I can successfully do `iwlist wlan0 scan`; but after a short period of time, the scan stops returning any results other than for the AP that I'm already connected to. Disconnecting from the AP "resets" this behavior, but once I reconnect to a network, my ability to scan disappears again shortly thereafter. Steps to reproduce: # rmmod rtl8xxxu # modprobe rtl8xxxu debug=99 # while true; do sudo iwlist wlan0 scan | grep ESSID | wc -l ; sleep 2; done 13 13 13 13 1 # only my current AP 1 ... Is this a known issue with the hardware, or with the driver? Any advice on how to debug it? I've looked through the debug messages, and found nothing that seems to indicate a state change around the time that the scan stops working. Thanks, Dan ps: I'm using the "standard" rtl8723aufw_B_NoBT.bin firmware (https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtlwifi/rtl8723aufw_B_NoBT.bin) and have loaded *only* the WiFi driver, *not* the Bluetooth driver. [ 3110.201258] usb 1-1.4: Vendor: Realtek [ 3110.201267] usb 1-1.4: Product: 802.11n WLAN Adapter [ 3110.201274] usb 1-1.4: RTL8723AU rev B (TSMC) 1T1R, TX queues 2, WiFi=1, BT=1, GPS=0, HI PA=0 [ 3110.201279] usb 1-1.4: RTL8723AU MAC: 20:16:d8:ce:5e:29 [ 3110.201284] usb 1-1.4: rtl8xxxu: Loading firmware rtlwifi/rtl8723aufw_B_NoBT.bin [ 3110.201355] usb 1-1.4: Firmware revision 31.0 (signature 0x2302)