Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3819835rwb; Tue, 8 Nov 2022 08:43:17 -0800 (PST) X-Google-Smtp-Source: AMsMyM6VrGBPW55qKqVfLjAweRLllykhOgiVudEQPG8rfo5mibubmadAvLZeP7fjbPlMfgc/0j8O X-Received: by 2002:a17:907:6eab:b0:78d:4c16:a687 with SMTP id sh43-20020a1709076eab00b0078d4c16a687mr53848515ejc.392.1667925786130; Tue, 08 Nov 2022 08:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667925786; cv=none; d=google.com; s=arc-20160816; b=mPYid2vYjZfsHPJEDvCOZEfvThhtl23ZWOHBOBjAr1aKAW2gdIduRNBTYribHrtNt9 v84wi/B3P/Y6VBIFRLqWLx9Z2NzCLbqabz3zlhhud0aV/BfGBzoTzhXtvy5l/xVbzwn9 fjmgvuQ+TDLOiAz/4MwdnuK0W5AqdtVYMzz6Kp/3uU3MGTc94bYvbpPPzmBPNsa2jJ66 VuVIRZgXF/2VKtnm4TFqwlyvZTRivL8J824XHFxqDG9DuA72UNTOyvjymJifGhU8xVIu SlZ8otipQ+/T4A4CggN1lGkoehIkdM+hg/WUmWkWtDpB07XXPCyNfD1Pi4a6q/VONNlc ixfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=VotZNN5Gw0WVnBRCMkWf0MecMV/WJe6sDWAcSKi2dtk=; b=ZNOkdHS+th2NqWJupVRPuVnHu4JFl3wpvS+p66/WEG7RgLU5GOb2Uh0G8I3f6g5T7C D0jMe+AiR1aPayHLNdrbn4Qse9GiM92gBXNVHRwgLAUmLEiHYgO6+tcmejE5cmOgfh+C MD01GmBJsuON+w0LZWuC0v2PrD5Ok35DsDTAP0CaGwuC54ivFHeaZaJPFmA5nnvLnodT VNGjJF4Hps1f9jiC7bcwucLE0mew50kkwEVn8E+jVHHRVhMfHkosUj13hbxyoyngT8+c 8LO35F5vg5J/WNsUiT9g2Z0aym8fVeTszVJ41ybSZAEIEQK9xMiJCQElIuwfPYwWQBx5 hEvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ba10-20020a0564021aca00b0046168e49e6fsi10701175edb.80.2022.11.08.08.42.44; Tue, 08 Nov 2022 08:43:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234573AbiKHQSS (ORCPT + 67 others); Tue, 8 Nov 2022 11:18:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233665AbiKHQSR (ORCPT ); Tue, 8 Nov 2022 11:18:17 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4EFD4FFB1 for ; Tue, 8 Nov 2022 08:18:14 -0800 (PST) Received: from [141.14.220.45] (g45.guest.molgen.mpg.de [141.14.220.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 7CC6A61EA1929; Tue, 8 Nov 2022 17:18:11 +0100 (CET) Message-ID: <4899c9d3-acad-6cc0-e1ec-ab4b27754ecb@molgen.mpg.de> Date: Tue, 8 Nov 2022 17:18:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: rtlwifi: RTL8188EE: Unable to connect to Wifi network Content-Language: en-US From: Paul Menzel To: Ping-Ke Shih Cc: linux-wireless@vger.kernel.org, it+linux-wireless@molgen.mpg.de References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Dear Linux folks, Am 08.11.22 um 13:49 schrieb Paul Menzel: > Using Debian sid/unstable with Linux 6.1-rc3 [1] on an Intel Haswell > Haier laptop with a RTL8188EE, I am unable to connect to a wireless > network. > >     $ sudo lspci -k -s 08:00.0 >     08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01) >         Subsystem: AzureWave RTL8188EE Wireless Network Adapter >         Kernel driver in use: rtl8188ee >         Kernel modules: rtl8188ee > > ``` > [  262.822320] wlp8s0: authenticate with 6c:f3:7f:10:ae:12 > [  262.822341] wlp8s0: 80 MHz not supported, disabling VHT > [  262.832384] wlp8s0: send auth to 6c:f3:7f:10:ae:12 (try 1/3) > [  262.835124] wlp8s0: authenticated > [  262.839046] wlp8s0: associate with 6c:f3:7f:10:ae:12 (try 1/3) > [  262.850099] wlp8s0: RX AssocResp from 6c:f3:7f:10:ae:12 (capab=0x421 status=0 aid=1) > [  262.850331] wlp8s0: associated > [  262.850925] IPv6: ADDRCONF(NETDEV_CHANGE): wlp8s0: link becomes ready > […] > [  307.618423] wlp8s0: deauthenticating from 6c:f3:7f:10:ae:12 by local choice (Reason: 3=DEAUTH_LEAVING) > ``` > > wpa_supplicant 2:2.10-9+b2 logs: > > ``` > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: SME: Trying to authenticate with 6c:f3:7f:10:ae:12 (SSID='MPI Guest' freq=2437 MHz) > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: Trying to associate with 6c:f3:7f:10:ae:12 (SSID='MPI Guest' freq=2437 MHz) > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: Associated with 6c:f3:7f:10:ae:12 > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-CONNECTED - Connection to 6c:f3:7f:10:ae:12 completed [id=0 id_str=] > Nov 08 13:29:35 brecht wpa_supplicant[612]: bgscan simple: Failed to enable signal strength monitoring > Nov 08 13:29:35 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 > Nov 08 13:30:20 brecht wpa_supplicant[612]: wlp8s0: CTRL-EVENT-DISCONNECTED bssid=6c:f3:7f:10:ae:12 reason=3 locally_generated=1 > ``` > > With more debugging verbosity (`-d`) it shows: > > ``` > […] > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: State: ASSOCIATED -> COMPLETED > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Radio work 'sme-connect'@0x556b491b5a80 done in 0.026679 seconds > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: radio_work_free('sme-connect'@0x556b491b5a80): num_active_works --> 0 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: CTRL-EVENT-CONNECTED - Connection to 6c:f3:7f:10:ae:12 completed [id=0 > id_str=] > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Set wlp8s0 operstate 0->1 (UP) > Nov 08 13:42:13 brecht wpa_supplicant[3547]: netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Signal strength threshold -70  Short bgscan interval 30  Long bgscan interval 86400 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Signal monitor threshold=-70 hysteresis=4 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Failed to enable signal strength monitoring > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: Init scan interval: 86400 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan: Initialized module 'simple' with parameters '30:-70:86400' > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Received scan results (19 BSSes) > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Scan results indicate BSS status with 6c:f3:7f:10:ae:12 as associated > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: BSS: Start scan result update 5 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: bgscan simple: scan result notification > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Determining shared radio frequencies (max len 1) > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Shared frequencies (len=1): completed iteration > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: freq[0]: 2437, flags=0x1 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Add operating class 81 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Channels - hexdump(len=13): 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: Update channel list > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11,12,13 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: P2P: cli_channels: > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: Cancelling scan request > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: AC mandatory: AC_BE=0 AC_BK=0 AC_VI=0 AC_VO=0 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: U-APSD queues=0x0 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: WMM AC: Valid WMM association, WMM AC is enabled > Nov 08 13:42:13 brecht wpa_supplicant[3547]: wlp8s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: RTM_NEWLINK: ifi_index=3 ifname=wlp8s0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Drv Event 46 (NL80211_CMD_CONNECT) received for wlp8s0 > Nov 08 13:42:13 brecht wpa_supplicant[3547]: nl80211: Ignore connect event (cmd=46) when using userspace SME > Nov 08 13:42:58 brecht wpa_supplicant[3547]: nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlp8s0 > Nov 08 13:42:58 brecht wpa_supplicant[3547]: nl80211: Delete station 6c:f3:7f:10:ae:12 > Nov 08 13:42:58 brecht wpa_supplicant[3547]: nl80211: Drv Event 39 (NL80211_CMD_DEAUTHENTICATE) received for wlp8s0 > Nov 08 13:42:58 brecht wpa_supplicant[3547]: nl80211: Deauthenticate event > Nov 08 13:42:58 brecht wpa_supplicant[3547]: wlp8s0: Event DEAUTH (11) received > Nov 08 13:42:58 brecht wpa_supplicant[3547]: wlp8s0: Deauthentication notification > Nov 08 13:42:58 brecht wpa_supplicant[3547]: wlp8s0:  * reason 3 (DEAUTH_LEAVING) locally_generated=1 > Nov 08 13:42:58 brecht wpa_supplicant[3547]: wlp8s0:  * address 6c:f3:7f:10:ae:12 > Nov 08 13:42:58 brecht wpa_supplicant[3547]: Deauthentication frame IE(s) - hexdump(len=0): [NULL] > Nov 08 13:42:58 brecht wpa_supplicant[3547]: wlp8s0: CTRL-EVENT-DISCONNECTED bssid=6c:f3:7f:10:ae:12 reason=3 locally_generated=1 > ``` > > It’d be really great to get WLAN working on the device. I tested Debian 11 Live ISO with Linux 5.10 and wpa_supplicant 2.9, and it has the same problem. I configured iwd, and ran iwmon, which got a trace [2] (where I unplugged the Ethernet cable during the trace). Kind regards, Paul > [1]: https://packages.debian.org/experimental/linux-image-6.1.0-0-amd64 [2]: https://owww.molgen.mpg.de/~pmenzel/iwmon-rtl8188ee.txt