Today I upgraded my FP2 from LineageOS 15.1 to 16. Since then, I have to tap several times on the hotspot icon to start it; I had no issue before.
When it’s started, it works fine.
I’m wondering if I’m the only in this case, and if someone already has a solution or a workaround.
I made some researches, but found nothing.
Cheers!
PS: I’m not sure that the topic title is very well descriptive, I will perhaps change it if a better idea comes to me.
Can not confirm this with LineageOS 16.0 for microG (build 20190513).
Starting Hotspot takes one tap, Hotspot starts without a problem.
I didn’t upgrade though, I installed from scratch.
I used logcat to have more informations about what’s hapenning under the wood. I spotted some interesting lines:
05-30 23:36:14.681 902 902 I hostapd : Add interface 'wlan0'
05-30 23:36:14.728 793 3079 D EthernetNetworkFactory: updateCapabilityFilter: []
05-30 23:36:14.757 902 902 I hostapd : rfkill: Cannot open RFKILL control device
05-30 23:36:14.767 902 902 I hostapd : Channel 56 (primary) not allowed for AP mode
05-30 23:36:14.768 902 902 I hostapd : wlan0: IEEE 802.11 Configured channel (56) not found from the channel list of current mode (2) IEEE 802.11a
05-30 23:36:14.768 902 902 W hostapd : wlan0: IEEE 802.11 Configured channel (56) not found from the channel list of current mode (2) IEEE 802.11a
05-30 23:36:14.768 902 902 I hostapd : wlan0: IEEE 802.11 Hardware does not support configured channel
05-30 23:36:14.768 902 902 W hostapd : wlan0: IEEE 802.11 Hardware does not support configured channel
05-30 23:36:14.768 902 902 E hostapd : Could not select hw_mode and channel. (-3)
05-30 23:36:14.768 902 902 I hostapd : wlan0: interface state UNINITIALIZED->DISABLED
05-30 23:36:14.768 902 902 I hostapd : wlan0: AP-DISABLED
05-30 23:36:14.768 902 902 E hostapd : wlan0: Unable to setup interface.
05-30 23:36:14.768 902 902 I hostapd : nl80211: deinit ifname=wlan0 disabled_11b_rates=0
05-30 23:36:14.793 345 901 I WifiHAL : event received NL80211_CMD_VENDOR, vendor_id = 0x1374, subcmd = 0xa
05-30 23:36:14.794 902 902 E hostapd : Enabling interface wlan0 failed
05-30 23:36:14.795 793 2855 E HostapdHal: IHostapd.addAccessPoint failed: 1,
05-30 23:36:14.795 793 2855 E WifiNative: Failed to add acccess point
05-30 23:36:14.795 793 2855 E SoftApManager: Soft AP start failed
I’m not a Wi-Fi expert, but it seems to me that reserved frequencies reflect those I can find on other devices, and the country matches mine. As root, iw reg get and iw list outputs: https://paste.swordarmor.fr/raw/hQdK
5 GHz WLAN shouldn’t be used outdoors. It is for indoor usage only. Of course, it could be possible you are setting up the hotspot whilst being indoor. If your 2.4 GHz WLAN is saturated try to move your client closer to the hotspot server (FP2).