|
@@ -5947,22 +5947,41 @@ enum qca_wlan_vendor_attr_rssi_monitoring {
|
|
* 2:80 MHz,
|
|
* 2:80 MHz,
|
|
* 3:160 MHz
|
|
* 3:160 MHz
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO: Array of channel/band width
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL_INFO: Array of channel/band width
|
|
- * @QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST: id after last valid attribute
|
|
|
|
- * @QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX: max value of this enum type
|
|
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_IPV6_ADDR: IPv6 address used by NDP, 16 bytes array
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_IPV6_ADDR: IPv6 address used by NDP, 16 bytes array
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PORT: Unsigned 16-bit value indicating
|
|
* @QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PORT: Unsigned 16-bit value indicating
|
|
* transport port used by NDP.
|
|
* transport port used by NDP.
|
|
- * QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PROTOCOL: Unsigned 8-bit value indicating
|
|
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PROTOCOL: Unsigned 8-bit value indicating
|
|
* protocol used by NDP and assigned by the Internet Assigned Numbers Authority
|
|
* protocol used by NDP and assigned by the Internet Assigned Numbers Authority
|
|
* as per: www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
|
|
* as per: www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
|
|
- * QCA_WLAN_VENDOR_ATTR_PEER_NDPE_SUPPORT: Unsigned 8-bit value indicating if
|
|
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_PEER_NDPE_SUPPORT: Unsigned 8-bit value indicating if
|
|
* NDP remote peer supports NAN NDPE. 1:support 0:not support
|
|
* NDP remote peer supports NAN NDPE. 1:support 0:not support
|
|
- * QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_ID: As per Wi-Fi Aware Specification v3.2
|
|
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_ID: As per Wi-Fi Aware Specification v3.2
|
|
* Service Id is the first 48 bits of the SHA-256 hash of the Service Name.
|
|
* Service Id is the first 48 bits of the SHA-256 hash of the Service Name.
|
|
* A lower-case representation of the Service Name shall be used to
|
|
* A lower-case representation of the Service Name shall be used to
|
|
* calculate the Service ID.
|
|
* calculate the Service ID.
|
|
* Array of u8: length is 6 bytes
|
|
* Array of u8: length is 6 bytes
|
|
* This attribute is used and optional for ndp indication.
|
|
* This attribute is used and optional for ndp indication.
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_CSIA_CAPABILITIES: Unsigned 8-bit value for Cipher
|
|
|
|
+ * Suite
|
|
|
|
+ * This attribute is used and optional in ndp request, ndp response, ndp
|
|
|
|
+ * indication, and ndp confirm.
|
|
|
|
+ * This attribute is used to indicate the Capabilities field of Cipher Suite
|
|
|
|
+ * Information attribute (CSIA) of NDP frames as defined in Wi-Fi Aware
|
|
|
|
+ * Specification v4.0, 9.5.21.2, Table 122.
|
|
|
|
+ * Firmware can accept or ignore any of the capability bits.
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_GTK_REQUIRED: Indicate if the GTK protection is
|
|
|
|
+ * required for NDP. NLA_FLAG attribute.
|
|
|
|
+ * This attribute can be used in ndp request, ndp response, ndp indication, and
|
|
|
|
+ * ndp confirm.
|
|
|
|
+ * GTK protection required is indicated in the NDPE attribute of NAN action
|
|
|
|
+ * frame (NAF) during NDP negotiation as defined in Wi-Fi Aware Specification
|
|
|
|
+ * v4.0, 9.5.16.2.
|
|
|
|
+ * If the device and peer supports GTKSA and if GTK protection required bit is
|
|
|
|
+ * set in NDPE IE, devices will share GTK to each other in SKDA of Data Path
|
|
|
|
+ * Security Confirm and Data Path Security Install frames of NDP negotiation to
|
|
|
|
+ * send and receive protected group addressed data frames from each other.
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST: id after last valid attribute
|
|
|
|
+ * @QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX: max value of this enum type
|
|
*/
|
|
*/
|
|
enum qca_wlan_vendor_attr_ndp_params {
|
|
enum qca_wlan_vendor_attr_ndp_params {
|
|
QCA_WLAN_VENDOR_ATTR_NDP_PARAM_INVALID = 0,
|
|
QCA_WLAN_VENDOR_ATTR_NDP_PARAM_INVALID = 0,
|
|
@@ -5997,6 +6016,8 @@ enum qca_wlan_vendor_attr_ndp_params {
|
|
QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PROTOCOL = 29,
|
|
QCA_WLAN_VENDOR_ATTR_NDP_TRANSPORT_PROTOCOL = 29,
|
|
QCA_WLAN_VENDOR_ATTR_PEER_NDPE_SUPPORT = 30,
|
|
QCA_WLAN_VENDOR_ATTR_PEER_NDPE_SUPPORT = 30,
|
|
QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_ID = 31,
|
|
QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_ID = 31,
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_NDP_CSIA_CAPABILITIES = 32,
|
|
|
|
+ QCA_WLAN_VENDOR_ATTR_NDP_GTK_REQUIRED = 33,
|
|
|
|
|
|
/* keep last */
|
|
/* keep last */
|
|
QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST,
|
|
QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST,
|