Browse Source

qcacmn: Add messaging interface to support NAN data path

This is qcacmn portion of qcacld-2.0 to qcacld-3.0 propagation
Add commonly used definitions for NAN datapath, like QDF_NDI_MODE.

CRs-Fixed: 962367
Change-Id: I1f42c8dab17b3a300db61756c29fc02d3d3bc504
Deepak Dhamdhere 8 years ago
parent
commit
987c1fa61b
2 changed files with 4 additions and 0 deletions
  1. 2 0
      dp/inc/cdp_txrx_cmn.h
  2. 2 0
      qdf/inc/qdf_types.h

+ 2 - 0
dp/inc/cdp_txrx_cmn.h

@@ -97,6 +97,7 @@ typedef struct ol_osif_vdev_t *ol_osif_vdev_handle;
  * @wlan_op_mode_sta: STA (client) mode
  * @wlan_op_mode_monitor: Monitor mode
  * @wlan_op_mode_ocb: OCB mode
+ * @wlan_op_mode_ndi: NAN datapath mode
  */
 enum wlan_op_mode {
 	wlan_op_mode_unknown,
@@ -105,6 +106,7 @@ enum wlan_op_mode {
 	wlan_op_mode_sta,
 	wlan_op_mode_monitor,
 	wlan_op_mode_ocb,
+	wlan_op_mode_ndi,
 };
 
 /**

+ 2 - 0
qdf/inc/qdf_types.h

@@ -285,6 +285,7 @@ typedef enum {
  * @QDF_OCB_MODE: OCB device mode
  * @QDF_EPPING_MODE: EPPING device mode
  * @QDF_QVIT_MODE: QVIT device mode
+ * @QDF_NDI_MODE: NAN datapath mode
  * @QDF_MAX_NO_OF_MODE: Max place holder
  *
  * These are generic IDs that identify the various roles
@@ -302,6 +303,7 @@ enum tQDF_ADAPTER_MODE {
 	QDF_OCB_MODE,
 	QDF_EPPING_MODE,
 	QDF_QVIT_MODE,
+	QDF_NDI_MODE,
 	QDF_MAX_NO_OF_MODE
 };