qcacld-3.0: Define WMA callback to update NDI conn info

Unlike other connection types, vdev start parameters for NDI
do not reflect the correct connection information for the
datapath. Once an NDP is established on NDI this info in WMA
needs to be updated accordingly. Define a WMA callback and
use it after NDP confirm and NDP End to update the connection
info for NDI.

Use WMA callback for updating NDI connection info.

Change-Id: Iefb515a751bd3fb5e10610d191bdadaf3a01f59a
CRs-Fixed: 2407153
This commit is contained in:
Nachiket Kukade
2019-02-19 17:30:50 +05:30
committed by nshrivas
parent 61a2df90a8
commit aecc94966e
4 changed files with 40 additions and 3 deletions

View File

@@ -265,6 +265,15 @@ void ucfg_nan_set_tgt_caps(struct wlan_objmgr_psoc *psoc,
*/
void ucfg_nan_disable_concurrency(struct wlan_objmgr_psoc *psoc);
/**
* ucfg_nan_register_wma_callbacks: ucfg API to register WMA callbacks
* @psoc: pointer to psoc object
* @cb_obj: Pointer to NAN callback structure
*
* Return: status of operation
*/
int ucfg_nan_register_wma_callbacks(struct wlan_objmgr_psoc *psoc,
struct nan_callbacks *cb_obj);
#else /* WLAN_FEATURE_NAN */
static inline