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 <jouni@codeaurora.org>
This commit is contained in:
Naveen Rawat 2018-05-14 10:25:01 -07:00 committed by Jouni Malinen
parent 6bf7a54754
commit 4e47eec5a9
1 changed files with 17 additions and 0 deletions

View 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,