]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to configure ARP/NS offload feature
authorWill Huang <wilhuang@codeaurora.org>
Tue, 2 Nov 2021 07:01:19 +0000 (15:01 +0800)
committerJouni Malinen <j@w1.fi>
Thu, 4 Nov 2021 18:35:33 +0000 (20:35 +0200)
Add a QCA vendor attribute QCA_WLAN_VENDOR_ATTR_CONFIG_ARP_NS_OFFLOAD to
configure ARP/NS offload feature.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index a69593e53e0f01ca665226fa92b84664344cc25b..48db01e9992c2c6b7df9d6357b26512e5f8f6b59 100644 (file)
@@ -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 =