ath10k: WMI add AP PS

Add AP power save (UAPSD) structures, enums.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
ath10k: add AP UAPSD support

Add support for AP (P2P_GO) UAPSD.

To test this functionality you can use
wpa_supplicant, and enable AP UAPSD:
- p2p_set go_apsd 1
- p2p_group_add (or configure SoftAP)
After that our P2P_GO/AP will indicate support
for UAPSD in beacon/probe_resp WME IE.
Now you can connect UAPSD capable station with
configured UAPSD AC trigger/delivery bits.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
ath10k: enable STA UAPSD support

Enable UAPSD support for STA mode.

By default mac80211 enable UAPSD for
Voice AC. So, to test this functionality
we need AP with enable UAPSD and run traffic
using VO AC (eg. ping -Q 0xFF). After sending
such ping from AP->STA, HW/FW should not get this
data after AP indicate this in beacon->pvb.
Instead should wait host will send trigger frame
(could be ping STA->AP). For non-UAPSD ACs standard
PS should be used (NULL frames, PSPOLL).

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>