From: Naveen Rawat Date: Mon, 14 May 2018 17:25:01 +0000 (-0700) Subject: Add QCA NAN vendor attributes to provide IPv6 information X-Git-Tag: hostap_2_7~329 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e47eec5a955a82f0c5783e966a9806d772f7482;p=thirdparty%2Fhostap.git Add QCA NAN vendor attributes to provide IPv6 information Add NAN attributes to communicate IPv6 address, port, and protocol between wifihal and host driver. Signed-off-by: Jouni Malinen --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 19f78b378..1a125ed9d 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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,