qcacmn: Add QCA vendor attributes for NDP setup
QCA vendor extension is used for NDP setup. This defines the new attributes QCA_WLAN_VENDOR_ATTR_NDP_CSIA_CAPABILITIES and QCA_WLAN_VENDOR_ATTR_NDP_GTK_REQUIRED to support GTKSA, IGTKSA, and BIGTKSA for NDP setup. Change-Id: Iddd9d0f88d1d5d66fd72dc158801ad16c14f39e2 CRs-Fixed: 3583158
This commit is contained in:

committed by
Rahul Choudhary

parent
a36af132e6
commit
56ee84d4e4
@@ -5947,22 +5947,41 @@ enum qca_wlan_vendor_attr_rssi_monitoring {
|
||||
* 2:80 MHz,
|
||||
* 3:160 MHz
|
||||
* @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_TRANSPORT_PORT: Unsigned 16-bit value indicating
|
||||
* 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
|
||||
* 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
|
||||
* 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.
|
||||
* A lower-case representation of the Service Name shall be used to
|
||||
* calculate the Service ID.
|
||||
* Array of u8: length is 6 bytes
|
||||
* 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 {
|
||||
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_PEER_NDPE_SUPPORT = 30,
|
||||
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 */
|
||||
QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST,
|
||||
|
Reference in New Issue
Block a user