Added support for set_ap_scan