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