qcacmn: Add modules to handle and extract NAN events

As part of supporting NAN DBS, new WMI TLVs are defined so
that Host can maintain the status of NAN Discovery in sync
with the Firmware. Move the older handlers into the NAN
related files. Also add modules to extract information from
the new TLV's and fill up the event parameters to pass
them to the NAN component. add support for explicitly
disabling NAN due to concurrencies.

Add modules to handle and extract the info from NAN events.

Change-Id: Ic03baaaef45106353c211a813e11e33a90cd41ca
CRs-Fixed: 2338059
Este commit está contenido en:
Nachiket Kukade
2018-11-08 18:19:51 +05:30
cometido por nshrivas
padre 1e3cb514eb
commit c64e33df96
Se han modificado 9 ficheros con 361 adiciones y 144 borrados

Ver fichero

@@ -535,6 +535,7 @@ typedef enum {
* @QDF_BTAMP_MODE: BTAMP mode
* @QDF_AHDEMO_MODE: AHDEMO mode
* @QDF_TDLS_MODE: TDLS device mode
* @QDF_NAN_DISC_MODE: NAN Discovery device mode
* @QDF_MAX_NO_OF_MODE: Max place holder
*
* These are generic IDs that identify the various roles
@@ -557,6 +558,7 @@ enum QDF_OPMODE {
QDF_BTAMP_MODE,
QDF_AHDEMO_MODE,
QDF_TDLS_MODE,
QDF_NAN_DISC_MODE,
/* Add new OP Modes to qdf_opmode_str as well */