This should be enough for the AP to start sending beacons and appear in a passive scan.
Very basic WPA2-PSK only access point mode API with stubs of the start and stop functions.