qcacld-3.0: Route the legacy NAN commands through NAN component

NAN component has been moved to CLD. It includes implementation
of the new NAN command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT.
Change the legacy NAN implementation of vendor cmd
QCA_NL80211_VENDOR_SUBCMD_NAN so that the requests go
through the NAN component. Clean up the legacy path.
Functionality remains unchanged for legacy command.

Route the legacy NAN commands through the NAN component.

Change-Id: I542e5afe832619f8c088220cc4456aa7fe4416fd
CRs-Fixed: 2356772
This commit is contained in:
Nachiket Kukade
2018-11-08 18:30:08 +05:30
committed by nshrivas
parent b15a31d372
commit 754f781659
2 changed files with 11 additions and 2 deletions

View File

@@ -89,4 +89,13 @@ QDF_STATUS target_if_nan_register_events(struct wlan_objmgr_psoc *psoc);
*/
QDF_STATUS target_if_nan_deregister_events(struct wlan_objmgr_psoc *psoc);
/**
* target_if_nan_rsp_handler() - Target IF handler for NAN Discovery events
* @scn: target handle
* @data: event buffer
* @len: event buffer length
*
* Return: 0 for success or error code
*/
int target_if_nan_rsp_handler(ol_scn_t scn, uint8_t *data, uint32_t len);
#endif /* _WIFI_POS_TGT_IF_H_ */