qcacmn: add set/get APIs for max active scans
Add set/get API for max parallel active scans supported. Max active scans allowed is set from ext service ready event handler(8 as of now). Once FW announces this capability, FW announce value must be used instead of hardcoded value 8. Change-Id: I2af3a34c9f55f92c47aebbd12838a8d8fc6e3ba7 CRs-Fixed: 1095299
Šī revīzija ir iekļauta:

revīziju iesūtīja
snandini

vecāks
2f5bf3e645
revīzija
0078b78f06
@@ -36,6 +36,7 @@
|
||||
#include "wmi_unified_param.h"
|
||||
#include "wlan_objmgr_psoc_obj.h"
|
||||
#include "target_if.h"
|
||||
#include "target_if_scan.h"
|
||||
|
||||
/**
|
||||
* init_deinit_service_ready_event_handler() - service ready handler
|
||||
|
@@ -319,6 +319,8 @@ int init_deinit_service_ext_ready_event_handler(ol_scn_t scn_handle,
|
||||
|
||||
wlan_objmgr_populate_ext_service_ready_data(psoc, service_param);
|
||||
|
||||
target_if_scan_set_max_active_scans(psoc,
|
||||
WLAN_MAX_ACTIVE_SCANS_ALLOWED);
|
||||
free_param_and_exit:
|
||||
qdf_mem_free(service_param);
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user