Set proper sta.type in config_sta

For AP mode set sta.type to 1

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Configure AP in correct order

wcn36xx_smd_send_beacon and wcn36xx_smd_update_proberesp_tmpl
must be called in proper order otherwise it will cause FW crash.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Fix connection to AP mode

Set correct AID in config_sta and set stakey.
Also announce HW caps otherwise hostapd will
not bind to interface.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
ACK all packets

hostapd needs to know if ass_resp was sent

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>