aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest_ctrl.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-12-16 17:08:49 (GMT)
committerJouni Malinen <j@w1.fi>2010-12-16 17:08:49 (GMT)
commit0e42fff3de28cfd458319e73f2c18555a37b097a (patch)
treed53b3e7210de37c7df2b435d8a9fa61f9adff996 /wlantest/wlantest_ctrl.h
parent29ec7457195ad3a59aa3e1a8b1f70364af139696 (diff)
downloadhostap-0e42fff3de28cfd458319e73f2c18555a37b097a.zip
hostap-0e42fff3de28cfd458319e73f2c18555a37b097a.tar.gz
hostap-0e42fff3de28cfd458319e73f2c18555a37b097a.tar.bz2
wlantest: Add counters and AP/direct path validation for TDLS
These can be used to write automated test scripts for verifying that TDLS STAs are using correct data path.
Diffstat (limited to 'wlantest/wlantest_ctrl.h')
-rw-r--r--wlantest/wlantest_ctrl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/wlantest/wlantest_ctrl.h b/wlantest/wlantest_ctrl.h
index cd13c1c..c8a066e 100644
--- a/wlantest/wlantest_ctrl.h
+++ b/wlantest/wlantest_ctrl.h
@@ -39,6 +39,8 @@ enum wlantest_ctrl_cmd {
WLANTEST_CTRL_INFO_STA,
WLANTEST_CTRL_INFO_BSS,
WLANTEST_CTRL_SEND,
+ WLANTEST_CTRL_CLEAR_TDLS_COUNTERS,
+ WLANTEST_CTRL_GET_TDLS_COUNTER,
};
enum wlantest_ctrl_attr {
@@ -56,6 +58,8 @@ enum wlantest_ctrl_attr {
WLANTEST_ATTR_BSS_INFO,
WLANTEST_ATTR_INFO,
WLANTEST_ATTR_FRAME,
+ WLANTEST_ATTR_TDLS_COUNTER,
+ WLANTEST_ATTR_STA2_ADDR,
};
enum wlantest_bss_counter {
@@ -95,6 +99,14 @@ enum wlantest_sta_counter {
NUM_WLANTEST_STA_COUNTER
};
+enum wlantest_tdls_counter {
+ WLANTEST_TDLS_COUNTER_VALID_DIRECT_LINK,
+ WLANTEST_TDLS_COUNTER_INVALID_DIRECT_LINK,
+ WLANTEST_TDLS_COUNTER_VALID_AP_PATH,
+ WLANTEST_TDLS_COUNTER_INVALID_AP_PATH,
+ NUM_WLANTEST_TDLS_COUNTER
+};
+
enum wlantest_inject_frame {
WLANTEST_FRAME_AUTH,
WLANTEST_FRAME_ASSOCREQ,