From: Arun Kumar Khandavalli Date: Tue, 19 Feb 2019 07:13:59 +0000 (+0530) Subject: Add a vendor attribute for specifying ethernet protocol type X-Git-Tag: hostap_2_8~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d939a8cb493a6bed7faac4dd26d43f5bcee8c270;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 56e4acd16..27ed03b81 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,