qcacld-3.0: Store the nss, chain config in vdev priv obj

Store the ini and dynamic configurations in the
respective vdev's mlme priv obj.

Change-Id: Ib7a90937799a188dd729c91e7ee248d3287951c5
CRs-Fixed: 2349201
此提交包含在:
gaurank kathpalia
2018-11-12 21:48:06 +05:30
提交者 nshrivas
父節點 e7795eda86
當前提交 6164b86ec6
共有 2 個檔案被更改,包括 83 行新增0 行删除

查看文件

@@ -82,8 +82,12 @@ struct mlme_legacy_priv {
/**
* struct vdev_mlme_obj - VDEV MLME component object
* @dynamic_cfg: current configuration of nss, chains for vdev.
* @ini_cfg: Max configuration of nss, chains supported for vdev.
*/
struct vdev_mlme_priv_obj {
struct wlan_mlme_nss_chains dynamic_cfg;
struct wlan_mlme_nss_chains ini_cfg;
};
/**
@@ -115,6 +119,24 @@ mlme_vdev_object_destroyed_notification(struct wlan_objmgr_vdev *vdev,
#endif
/**
* mlme_get_dynamic_vdev_config() - get the vdev dynamic config params
* @vdev: vdev pointer
*
* Return: pointer to the dynamic vdev config structure
*/
struct wlan_mlme_nss_chains *mlme_get_dynamic_vdev_config(
struct wlan_objmgr_vdev *vdev);
/**
* mlme_get_ini_vdev_config() - get the vdev ini config params
* @vdev: vdev pointer
*
* Return: pointer to the ini vdev config structure
*/
struct wlan_mlme_nss_chains *mlme_get_ini_vdev_config(
struct wlan_objmgr_vdev *vdev);
/**
* mlme_psoc_object_created_notification(): mlme psoc create handler
* @psoc: psoc which is going to created by objmgr