]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA NAN vendor attributes to provide IPv6 information
authorNaveen Rawat <naveenrawat@codeaurora.org>
Mon, 14 May 2018 17:25:01 +0000 (10:25 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 17 May 2018 19:10:15 +0000 (22:10 +0300)
Add NAN attributes to communicate IPv6 address, port, and protocol
between wifihal and host driver.

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

index 19f78b378d62cba0530be5a8d75d891af19be273..1a125ed9ddbc91f7db937fae342cbaecf9fad7eb 100644 (file)
@@ -4894,6 +4894,23 @@ enum qca_wlan_vendor_attr_ndp_params {
        QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_WIDTH,
        /* Array of channel/band width */
        QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO,
+       /* IPv6 address used by NDP (in network byte order), 16 bytes array.
+        * This attribute is used and optional for ndp request, ndp response,
+        * ndp indication, and ndp confirm.
+        */
+       QCA_WLAN_VENDOR_ATTR_NDP_IPV6_ADDR = 27,
+       /* Unsigned 16-bit value indicating transport port used by NDP.
+        * This attribute is used and optional for ndp response, ndp indication,
+        * and ndp confirm.
+        */
+       QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PORT = 28,
+       /* Unsigned 8-bit value indicating protocol used by NDP and assigned by
+        * the Internet Assigned Numbers Authority (IANA) as per:
+        * https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
+        * This attribute is used and optional for ndp response, ndp indication,
+        * and ndp confirm.
+        */
+       QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PROTOCOL = 29,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST,