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
This commit is contained in:

کامیت شده توسط
snandini

والد
2f5bf3e645
کامیت
0078b78f06
@@ -28,6 +28,8 @@ struct scan_req_params;
|
||||
struct scan_cancel_param;
|
||||
struct wlan_objmgr_psoc;
|
||||
|
||||
#define WLAN_MAX_ACTIVE_SCANS_ALLOWED 8
|
||||
|
||||
#ifdef FEATURE_WLAN_SCAN_PNO
|
||||
/**
|
||||
* target_if_nlo_match_event_handler() - nlo match event handler
|
||||
@@ -115,4 +117,16 @@ target_if_scan_cancel(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
QDF_STATUS
|
||||
target_if_register_scan_tx_ops(struct wlan_lmac_if_scan_tx_ops *scan);
|
||||
|
||||
/**
|
||||
* target_if_scan_set_max_active_scans() - lmac handler to set max active scans
|
||||
* @psoc: psoc object
|
||||
* @max_active_scans: maximum active scans allowed on underlying psoc
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
target_if_scan_set_max_active_scans(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t max_active_scans);
|
||||
|
||||
#endif
|
||||
|
مرجع در شماره جدید
Block a user