aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorArun Kumar Khandavalli <akhandav@codeaurora.org>2019-02-19 07:13:59 (GMT)
committerJouni Malinen <j@w1.fi>2019-02-21 10:18:19 (GMT)
commitd939a8cb493a6bed7faac4dd26d43f5bcee8c270 (patch)
tree7942db1e9cde39916b5519e9c522d8e7d6f3092b /src/common/qca-vendor.h
parentb1daf498a14934c5b0f85d5373998e5c9e7bbdb4 (diff)
downloadhostap-d939a8cb493a6bed7faac4dd26d43f5bcee8c270.zip
hostap-d939a8cb493a6bed7faac4dd26d43f5bcee8c270.tar.gz
hostap-d939a8cb493a6bed7faac4dd26d43f5bcee8c270.tar.bz2
Add a vendor attribute for specifying ethernet protocol type
This new QCA vendor attribute adds provision to specify the ethernet protocol id from userspace to the packets which are offloaded to the driver/firmware (e.g., IPv4, IPv6). Signed-off-by: Arun Kumar Khandavalli <akhandav@codeaurora.org>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 56e4acd..27ed03b 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -4908,6 +4908,10 @@ enum qca_wlan_vendor_attr_offloaded_packets {
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_DST_MAC_ADDR,
/* Unsigned 32-bit value, in milli seconds */
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_PERIOD,
+ /* This optional unsigned 16-bit attribute is used for specifying
+ * ethernet protocol type. If not specified ethertype defaults to IPv4.
+ */
+ QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_ETHER_PROTO_TYPE,
/* keep last */
QCA_WLAN_VENDOR_ATTR_OFFLOADED_PACKETS_AFTER_LAST,