qcacmn: Configure agile preCAC timeout values

Send proper minimum and maximum agile preCAC timeout values to the target
as part of starting agile DFS detector. Add a common agile preCAC
parameter structure with the timeout values, channel and width fields
which are to be sent as part of configuring agile detector.

Change-Id: If5f5b179aa12a6c549cb9a4402aa10e957129d78
CRs-Fixed: 2482929
This commit is contained in:
Vignesh Mohan
2019-07-16 03:06:58 +05:30
committato da nshrivas
parent 41e5f80e2f
commit a1a1945c1c
5 ha cambiato i file con 52 aggiunte e 20 eliminazioni

Vedi File

@@ -124,4 +124,18 @@ struct dfs_radar_found_params {
u_int32_t sidx_min;
u_int32_t sidx_max;
};
/**
* struct dfs_agile_cac_params - Agile DFS-CAC parameters.
* @precac_chan: Agile preCAC channel.
* @precac_chwidth: Agile preCAC channel width.
* @min_precac_timeout: Minimum agile preCAC timeout.
* @max_precac_timeout: Maximum agile preCAC timeout.
*/
struct dfs_agile_cac_params {
uint8_t precac_chan;
enum phy_ch_width precac_chwidth;
uint32_t min_precac_timeout;
uint32_t max_precac_timeout;
};
#endif