From: Will Huang Date: Tue, 2 Nov 2021 07:01:19 +0000 (+0800) Subject: Add QCA vendor attribute to configure ARP/NS offload feature X-Git-Tag: hostap_2_10~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f969bd22d7769ab31ce9899686eafc0fe2459ad2;p=thirdparty%2Fhostap.git 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 --- 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 =