aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorMoshe Benji <Moshe.Benji@intel.com>2014-10-22 12:03:57 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-16 19:07:08 (GMT)
commitd1f880013abe7b6ccb18ae62489ff523979ee6c1 (patch)
tree0c72c68a43cd801335cac18b0b3e26789561231f /wpa_supplicant/events.c
parent674f6c073f6f7cd9e04e5f117710f03d5e09ad63 (diff)
downloadhostap-d1f880013abe7b6ccb18ae62489ff523979ee6c1.zip
hostap-d1f880013abe7b6ccb18ae62489ff523979ee6c1.tar.gz
hostap-d1f880013abe7b6ccb18ae62489ff523979ee6c1.tar.bz2
WMM AC: Handle TSPEC action frames
Add the TSPEC to the driver on successful TSPEC ADDTS response. Delete the TSPEC when receiving DELTS action. Signed-off-by: Moshe Benji <moshe.benji@intel.com> Signed-off-by: Eliad Peller <eliad@wizery.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index e078c70..c404dd2 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2799,6 +2799,11 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s,
" Category=%u DataLen=%d freq=%d MHz",
MAC2STR(mgmt->sa), category, (int) plen, freq);
+ if (category == WLAN_ACTION_WMM) {
+ wmm_ac_rx_action(wpa_s, mgmt->da, mgmt->sa, payload, plen);
+ return;
+ }
+
#ifdef CONFIG_IEEE80211R
if (category == WLAN_ACTION_FT) {
ft_rx_action(wpa_s, payload, plen);