]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute for specifying ethernet protocol type
authorArun Kumar Khandavalli <akhandav@codeaurora.org>
Tue, 19 Feb 2019 07:13:59 +0000 (12:43 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 21 Feb 2019 10:18:19 +0000 (12:18 +0200)
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>
src/common/qca-vendor.h

index 56e4acd16dff78c31139ce7ed5f245da4dc97bd8..27ed03b81d437942bbe762cf5aec77f5d59cad38 100644 (file)
@@ -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,