aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-04-09 09:53:16 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-13 20:54:25 (GMT)
commit30476e4fe7fc3e721f2d6023d2b7d304a8da480c (patch)
tree74e9f088b904c47a53c19a23ecacb6e5428acdfa /src/common/qca-vendor.h
parentbacb984b2d10c0dccb3b05b7779d5d4c5662e8b2 (diff)
downloadhostap-30476e4fe7fc3e721f2d6023d2b7d304a8da480c.zip
hostap-30476e4fe7fc3e721f2d6023d2b7d304a8da480c.tar.gz
hostap-30476e4fe7fc3e721f2d6023d2b7d304a8da480c.tar.bz2
wlantest: Tag and ignore generated packets
Rather than ignoring packets with a minimal 8-byte radiotap header, which may occur elsewhere, tag generated (decrypted) packets with an empty vendor namespace tag and ignore those. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index cea4701..0e292e6 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -19,6 +19,13 @@
#define OUI_QCA 0x001374
/**
+ * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs
+ */
+enum qca_radiotap_vendor_ids {
+ QCA_RADIOTAP_VID_WLANTEST = 0,
+};
+
+/**
* enum qca_nl80211_vendor_subcmds - QCA nl80211 vendor command identifiers
*
* @QCA_NL80211_VENDOR_SUBCMD_UNSPEC: Reserved value 0