qcacld-3.0: Send the vdev ini params before vdev start
For fw to store the dynamic config, the host needs to send
the vdev params to fw before vdev start.
Send the vdev ini params to the fw before vdev start.
Change-Id: I83a93481bae8452eb47f9a14d1978e8d8dd02f03
CRs-Fixed: 2347498
This commit is contained in:
parent
748c7274d3
commit
5836acff3e
@ -2776,6 +2776,13 @@ QDF_STATUS wma_vdev_start(tp_wma_handle wma,
|
|||||||
struct wma_target_req *req_msg;
|
struct wma_target_req *req_msg;
|
||||||
uint32_t chan_mode;
|
uint32_t chan_mode;
|
||||||
enum phy_ch_width ch_width;
|
enum phy_ch_width ch_width;
|
||||||
|
struct wlan_mlme_nss_chains *ini_cfg;
|
||||||
|
|
||||||
|
ini_cfg = mlme_get_ini_vdev_config(iface->vdev);
|
||||||
|
if (!ini_cfg) {
|
||||||
|
wma_err("nss chain ini config NULL");
|
||||||
|
return QDF_STATUS_E_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
mac_ctx = cds_get_context(QDF_MODULE_ID_PE);
|
mac_ctx = cds_get_context(QDF_MODULE_ID_PE);
|
||||||
if (mac_ctx == NULL) {
|
if (mac_ctx == NULL) {
|
||||||
@ -3021,6 +3028,10 @@ QDF_STATUS wma_vdev_start(tp_wma_handle wma,
|
|||||||
wma_vdev_update_pause_bitmap(params.vdev_id, 0);
|
wma_vdev_update_pause_bitmap(params.vdev_id, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Send the dynamic nss chain params before vdev start to fw */
|
||||||
|
if (wma->dynamic_nss_chains_support)
|
||||||
|
wma_vdev_nss_chain_params_send(params.vdev_id, ini_cfg);
|
||||||
|
|
||||||
return wma_send_vdev_start_to_fw(wma, ¶ms);
|
return wma_send_vdev_start_to_fw(wma, ¶ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user