qcacld-3.0: Pass session id of ongoing decr session

Currently locally generated vdev_id is passed to update
concurrency like to re-enable disabled sta link on one
p2p/sap down or handle concurrency on one ml sta link
down. This locally generated vdev id will be invalid/255
in case mode is non-sta, so hanlding will be done for non-sta
link down only.

Fix is to change vdev_id to session_id, so that session which
is deceremented due to session down can be provided and concurrency
handling can be done based on that.

Change-Id: Iaca9a339abbab3f5dab01e2224c3acd87df5bc0a
CRs-Fixed: 3212661
这个提交包含在:
Sheenam Monga
2022-06-03 14:29:46 +05:30
提交者 Madan Koyyalamudi
父节点 0a858d3de7
当前提交 7b7faf56ce

查看文件

@@ -319,8 +319,8 @@ out:
}
void policy_mgr_decr_session_set_pcl(struct wlan_objmgr_psoc *psoc,
enum QDF_OPMODE mode,
uint8_t session_id)
enum QDF_OPMODE mode,
uint8_t session_id)
{
QDF_STATUS qdf_status;
struct policy_mgr_psoc_priv_obj *pm_ctx;
@@ -391,7 +391,7 @@ void policy_mgr_decr_session_set_pcl(struct wlan_objmgr_psoc *psoc,
return;
policy_mgr_check_n_start_opportunistic_timer(psoc);
policy_mgr_handle_ml_sta_links_on_vdev_down(psoc, mode, vdev_id);
policy_mgr_handle_ml_sta_links_on_vdev_down(psoc, mode, session_id);
}
/**