Re: Sub optimal wifi connection after upgrade today?
Reply #6 –
wpa_supplicant is an optional dependency for connman, unless you set it as the wireless backend for connman this is probably a different issue, there were several other threads with random disconnection problems using various network managers that appeared at the same time. I am using only wpa_supplicant and dhclient (or dhcpcd instead if I want) in a script to bring up the wireless, which probably few people on here do.
wpa_supplicant sends commands directly to the kernel and it's wireless driver interface, in the newer version it looks like those commands have changed and new ones have been added according to the "dd" debug output:
-wpa_supplicant v2.10
+wpa_supplicant v2.11-hostap_2_11+
-nl80211: key_mgmt=0x1ff0f enc=0xfef auth=0x7 flags=0x40005115b03d0e0 rrm_flags=0x10 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=4
+nl80211: key_mgmt=0x1ff0f enc=0xfef auth=0x7 flags=0x40005115b03d0e0 flags2=0x8103 rrm_flags=0x10 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=4
-wpa_driver_nl80211_set_key: ifindex=4 (wlp5s0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 key_flag=0x10
+wpa_driver_nl80211_set_key: ifindex=4 (wlp5s0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
Quite likely this is what is causing my problems because it seems like the wifi adapter is trying to connect in low power mode, when the connection is established the adapter and router agree on a power setting between themselves so it doesn't matter then.
Whether changes have been made to the wireless backend of connman I don't know, that's something that could be investigated I suppose. Also because I'm some distance from the router 5GHz doesn't work reliably and disconnects frequently if I am connected to that, so I only use 2.4GHz. There was some mention in the new wpa_supplicant release notes about introducing a new "soft connection mode" too.