fn ap_run(globals: &mut VpGlobals)
Runs the command dispatch loop for an AP until a remove request is received.