qcacmn: Spectral control path changes

Add a new request structure for Specteral control path.
This structure packages all the commands and their
required inputs. Response to the commands are filled
in this structure by the command handlers in lower
layers.

CRs-Fixed: 2446466
Change-Id: I3113e8721382d284b4e03e0f8fdab1e68d5cfaa1
This commit is contained in:
Edayilliam Jayadev
2019-05-03 14:30:54 +05:30
committed by nshrivas
parent 327257e9dd
commit 14f9bd4194
9 changed files with 426 additions and 343 deletions

View File

@@ -37,12 +37,8 @@ void *tgt_get_target_handle(struct wlan_objmgr_pdev *pdev);
/**
* tgt_spectral_control()- handler for demultiplexing requests from higher layer
* @pdev: reference to global pdev object
* @id: spectral config command id
* @indata: reference to input data
* @insize: input data size
* @outdata: reference to output data
* @outsize: output data size
* @pdev: reference to global pdev object
* @sscan_req: pointer to Spectral scan request
*
* This function processes the spectral config command
* and appropriate handlers are invoked.
@@ -50,8 +46,7 @@ void *tgt_get_target_handle(struct wlan_objmgr_pdev *pdev);
* Return: 0 success else failure
*/
int tgt_spectral_control(struct wlan_objmgr_pdev *pdev,
u_int id, void *indata, u_int32_t insize,
void *outdata, u_int32_t *outsize);
struct spectral_cp_request *sscan_req);
/**
* tgt_pdev_spectral_init() - implementation for spectral init