qcacmn: Update comments in scm_req_update_concurrency_params

Update the commment sections in function
scm_req_update_concurrency_params and
wlan_util_get_mode_specific_peer_count.

Change-Id: I076beddacb6efa10f78a1d850f9b74886e9cdcdc
CRs-Fixed: 2439552
This commit is contained in:
Bala Venkatesh 2019-04-22 16:55:18 +05:30 • committed by nshrivas
commit 2864718af8
3 changed files with 8 additions and 9 deletions

View file

@ -309,12 +309,12 @@ QDF_STATUS wlan_util_is_pdev_scan_allowed(struct wlan_objmgr_pdev *pdev,
wlan_objmgr_ref_dbgid dbg_id);
/**
* wlan_util_get_mode_specific_peer_coun - This api gives vdev mode specific
* wlan_util_get_peer_count_for_mode - This api gives vdev mode specific
* peer count`
* @pdev: PDEV object
* @mode: Operation mode.
*
* Return: int- peer count
* Return: int- peer count for operating mode
*/
uint16_t wlan_util_get_peer_count_for_mode(struct wlan_objmgr_pdev *pdev,
enum QDF_OPMODE mode);

View file

@ -547,10 +547,9 @@ uint16_t wlan_util_get_peer_count_for_mode(struct wlan_objmgr_pdev *pdev,
count.opmode = mode;
count.peer_count = 0;
wlan_objmgr_pdev_iterate_obj_list(pdev,
WLAN_VDEV_OP,
wlan_util_get_mode_specific_peer_count,
&count, 0, WLAN_OBJMGR_ID);
wlan_objmgr_pdev_iterate_obj_list(pdev, WLAN_VDEV_OP,
wlan_util_get_mode_specific_peer_count, &count,
0, WLAN_OBJMGR_ID);
return count.peer_count;
}

View file

@ -611,9 +611,9 @@ static void scm_req_update_concurrency_params(struct wlan_objmgr_vdev *vdev,
req->scan_req.adaptive_dwell_time_mode =
scan_obj->scan_def.adaptive_dwell_time_mode_nc;
/*
* If AP is active set min rest time same as max rest time, so that
* firmware spends more time on home channel which will increase the
* probability of sending beacon at TBTT
* If AP/GO is active and has connected clients set min rest time
* same as max rest time, so that firmware spends more time on home
* channel which will increase the probability of sending beacon at TBTT
*/
if ((ap_present && sap_peer_count) ||
(go_present && go_peer_count)) {