init: update wpa and p2p