Number of improvement and fixes for network and wifi AP