hostapd: add switch_chan and set_vendor_elements ubus methods