qcacmn: Move retrieval of wmi_handle to target_if layer
Remove inconsistent API for scan start and stop, where pdev_wmi_handle is derived from psoc_handle at the WMI layer instead of using the wmi_handle passed from the above layer i.e target_if Change-Id: If259260e6f8cf77bf68748a8130db4440b88588a CRs-Fixed: 2203048
This commit is contained in:
@@ -86,25 +86,25 @@ target_if_scan_unregister_event_handler(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
/**
|
||||
* target_if_scan_start() - lmac handler API to start scan
|
||||
* @psoc: psoc object
|
||||
* @pdev: pdev object
|
||||
* @req: scan_req_params object
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
|
||||
QDF_STATUS
|
||||
target_if_scan_start(struct wlan_objmgr_psoc *psoc,
|
||||
target_if_scan_start(struct wlan_objmgr_pdev *pdev,
|
||||
struct scan_start_request *req);
|
||||
|
||||
/**
|
||||
* target_if_scan_cancel() - lmac handler API to cancel a previous active scan
|
||||
* @psoc: psoc object
|
||||
* @pdev: pdev object
|
||||
* @req: scan_cancel_param object
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
target_if_scan_cancel(struct wlan_objmgr_psoc *psoc,
|
||||
target_if_scan_cancel(struct wlan_objmgr_pdev *pdev,
|
||||
struct scan_cancel_param *req);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user