Windows OS has a functionality that checks internet connection periodically, if DNS resolution and traffic begins to fail it changes to "limited connectivity" and resets the WIFI drivers.
I know that android checks connectivity when it associates an AP to test if it's behind a captive portal (famous "gen_204" requests), but i can't find any meaningful information about evaluating the wifi connection 'on the fly' or even reset the drivers to 'unstuck' the supplicant and/or drivers.
Does android has any connectivity check 'on the fly' ?