From f969bd22d7769ab31ce9899686eafc0fe2459ad2 Mon Sep 17 00:00:00 2001 From: Will Huang Date: Tue, 2 Nov 2021 15:01:19 +0800 Subject: [PATCH] Add QCA vendor attribute to configure ARP/NS offload feature Add a QCA vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_ARP_NS_OFFLOAD to configure ARP/NS offload feature. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a69593e53..48db01e99 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -2548,6 +2548,19 @@ enum qca_wlan_vendor_attr_config { */ QCA_WLAN_VENDOR_ATTR_CONFIG_FT_OVER_DS = 80, + /* + * 8-bit unsigned value. This attribute can be used to configure the + * firmware to enable/disable ARP/NS offload feature. Possible values + * for this attribute are 0-Disable and 1-Enable. + * + * This attribute is only applicable for STA/P2P-Client interface, + * and is optional, default behavior is ARP/NS offload enabled. + * + * This attribute can be set in disconnected and connected state, and + * will restore to the default behavior if the interface is closed. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_ARP_NS_OFFLOAD = 81, + /* keep last */ QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_CONFIG_MAX = -- 2.47.2