qcacmn: Add error handling in the Spectral control path
Add an attribute which describes the error code in the response to set config, start scan and stop scan. CRs-Fixed: 2500481 Change-Id: I491cd6e061d2d08ceb4d9af2a7de5223e229c280
This commit is contained in:

committed by
nshrivas

parent
ae946e39c7
commit
9217a212bb
@@ -218,12 +218,14 @@ enum spectral_capability_type {
|
||||
|
||||
/**
|
||||
* enum spectral_cp_error_code - Spectral control path response code
|
||||
* @SPECTRAL_SCAN_RESP_ERR_INVALID: Invalid error identifier
|
||||
* @SPECTRAL_SCAN_RESP_ERR_PARAM_UNSUPPORTED: parameter unsupported
|
||||
* @SPECTRAL_SCAN_RESP_ERR_MODE_UNSUPPORTED: mode unsupported
|
||||
* @SPECTRAL_SCAN_RESP_ERR_PARAM_INVALID_VALUE: invalid parameter value
|
||||
* @SPECTRAL_SCAN_RESP_ERR_PARAM_NOT_INITIALIZED: parameter uninitialized
|
||||
*/
|
||||
enum spectral_cp_error_code {
|
||||
SPECTRAL_SCAN_ERR_INVALID,
|
||||
SPECTRAL_SCAN_ERR_PARAM_UNSUPPORTED,
|
||||
SPECTRAL_SCAN_ERR_MODE_UNSUPPORTED,
|
||||
SPECTRAL_SCAN_ERR_PARAM_INVALID_VALUE,
|
||||
|
Reference in New Issue
Block a user