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>
This commit is contained in:
Johannes Berg 2014-04-09 11:53:16 +02:00 committed by Jouni Malinen
parent bacb984b2d
commit 30476e4fe7
3 changed files with 20 additions and 7 deletions

View file

@ -18,6 +18,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
*