From 620e9cd325ac7b727b6f3580fede16802a150d00 Mon Sep 17 00:00:00 2001 From: Will Huang Date: Tue, 2 Nov 2021 14:01:03 +0800 Subject: [PATCH] qcacmn: 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. Change-Id: I976ed866272c7c82ff12593339bd2d551af6741b CRs-Fixed: 3620322 --- os_if/linux/qca_vendor.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 2508e3ace88a..0e2568cda2b2 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -4823,6 +4823,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 APR/NS offload Enable. + * + * This attribute can be set in disconncted and connected state, and + * will restore to default behavior if interface is closed. + */ + QCA_WLAN_VENDOR_ATTR_CONFIG_ARP_NS_OFFLOAD = 81, + /* 8-bit unsigned value, whenever wifi calling (wfc) begin or end, * Userspace sends this information to driver/firmware to configure * wfc state. Driver/Firmware uses this information to