aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest_ctrl.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-12-16 14:11:54 (GMT)
committerJouni Malinen <j@w1.fi>2010-12-16 14:11:54 (GMT)
commitb3a6d9d40064e15720c3bbd6cfbfbf970a770a03 (patch)
treec96ab043c722a2e5c82c2307e800ded3ceda2867 /wlantest/wlantest_ctrl.h
parentb993e77b5b9c3f2c6a42aa76e0d5a0ef0cf34f54 (diff)
downloadhostap-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.zip
hostap-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.tar.gz
hostap-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.tar.bz2
wlantest: Add send command for injecting raw frames
This can be used by external programs (e.g., wlantest_cli) to inject raw frames (hex dump of the frame header and body). The data can be requested to be sent as-is or protected with the current key.
Diffstat (limited to 'wlantest/wlantest_ctrl.h')
-rw-r--r--wlantest/wlantest_ctrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wlantest/wlantest_ctrl.h b/wlantest/wlantest_ctrl.h
index 911ffaf..cd13c1c 100644
--- a/wlantest/wlantest_ctrl.h
+++ b/wlantest/wlantest_ctrl.h
@@ -38,6 +38,7 @@ enum wlantest_ctrl_cmd {
WLANTEST_CTRL_ADD_PASSPHRASE,
WLANTEST_CTRL_INFO_STA,
WLANTEST_CTRL_INFO_BSS,
+ WLANTEST_CTRL_SEND,
};
enum wlantest_ctrl_attr {
@@ -54,6 +55,7 @@ enum wlantest_ctrl_attr {
WLANTEST_ATTR_STA_INFO,
WLANTEST_ATTR_BSS_INFO,
WLANTEST_ATTR_INFO,
+ WLANTEST_ATTR_FRAME,
};
enum wlantest_bss_counter {