qcacld-3.0: Refactor VDEV opmode config during create

Refactor the hdd_vdev_create() API to move device mode
based VDEV config to a new API.
The new API calls required configuration functions
based on the device mode.

Change-Id: I54c5412577b70d92652cb16fcfb10e4d69e6f6fd
CRs-Fixed: 3445149
This commit is contained in:
Vinod Kumar Pirla
2022-09-19 18:38:28 +05:30
committed by Madan Koyyalamudi
parent 7ff7bac480
commit 528031916a
6 changed files with 132 additions and 105 deletions

View File

@@ -3251,15 +3251,18 @@ void hdd_update_macaddr(struct hdd_context *hdd_ctx,
/**
* hdd_store_nss_chains_cfg_in_vdev() - Store the per vdev ini cfg in vdev_obj
* @adapter: Current HDD adapter passed from caller
* @hdd_ctx: HDD context passed from caller
* @vdev: VDEV passed with caller holding reference.
*
* This function will store the per vdev nss params to the particular mlme
* vdev obj.
* Caller shall acquire the reference for vdev objmgr and release on return.
*
* Return: None
*/
void
hdd_store_nss_chains_cfg_in_vdev(struct hdd_adapter *adapter);
hdd_store_nss_chains_cfg_in_vdev(struct hdd_context *hdd_ctx,
struct wlan_objmgr_vdev *vdev);
/**
* wlan_hdd_disable_roaming() - disable roaming on all STAs except the input one