aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorTamizh chelvam <tamizhr@codeaurora.org>2018-03-09 12:49:08 (GMT)
committerJouni Malinen <j@w1.fi>2018-03-19 17:57:25 (GMT)
commite8ada1600f7fb4f6e2fe72ec206c3caa7b014b98 (patch)
tree05d744986e976a0813e2ab9cbfdf845dd9bc553c /src/drivers/driver_common.c
parent72123a84cb004bf5f93dbaf86feb847636e99c22 (diff)
downloadhostap-e8ada1600f7fb4f6e2fe72ec206c3caa7b014b98.zip
hostap-e8ada1600f7fb4f6e2fe72ec206c3caa7b014b98.tar.gz
hostap-e8ada1600f7fb4f6e2fe72ec206c3caa7b014b98.tar.bz2
nl80211: Add support for STA opmode change events
The nl80211 driver can report STA_OPMODE notification event as soon as it receives an HT/VHT Action frame about modification of station's SMPS mode/bandwidth/RX NSS. Add support to parse such events. Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index e4806ad..9de9693 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -84,6 +84,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(DFS_PRE_CAC_EXPIRED);
E2S(EXTERNAL_AUTH);
E2S(PORT_AUTHORIZED);
+ E2S(STATION_OPMODE_CHANGED);
}
return "UNKNOWN";