start and stop hostapd to set master mode