I'm using an esp8266 with wifimanager for a battery powered project.
When the esp8266 boots up it connects to wifi sends data using an api and then goes to deepsleep for 5minutes.
When the wifi credentials are gathered by the wifimanager it still takes 3seconds to connect to wifi.
Since this draws a lot of current from my battery , i would like to reduce the wifi connection time.
Reducing this from 3sec to 1sec could prolong batterylife from 2mos to about 6mos.
It is normal and you can't speed it up. If you use WiFi network without password (open network), it will be faster, I know at ESP32 it is like 160 ms, so I think with ESP8266 u will get same or lightly higher time, but still under second.
Also if you use ESP32 u should have faster connection time on WPA/WPA2 networks because of higher CPU frequency and cryptographics accelerators onboard.