qcacmn: Optimize vdev host-fw handshake sequence

Send beacon_tx_rate_code in the vdev_start command.

Change-Id: I53ebdbc8dc4be4dad42eaad9188a231c5d9fb618
此提交包含在:
Debasis Das
2019-12-10 12:21:42 +05:30
提交者 nshrivas
父節點 2a5e76f0c6
當前提交 707b122764
共有 3 個檔案被更改,包括 17 行新增2 行删除

查看文件

@@ -168,7 +168,7 @@ static QDF_STATUS vdev_mgr_start_param_update(
param->channel.maxregpower = mlme_obj->mgmt.generic.maxregpower;
param->channel.antennamax = mlme_obj->mgmt.generic.antennamax;
param->channel.reg_class_id = mlme_obj->mgmt.generic.reg_class_id;
param->bcn_tx_rate_code = mlme_obj->mgmt.rate_info.bcn_tx_rate;
param->bcn_tx_rate_code = vdev_mgr_fetch_ratecode(mlme_obj);
param->ldpc_rx_enabled = mlme_obj->proto.generic.ldpc;
if (mlme_obj->mgmt.generic.type == WLAN_VDEV_MLME_TYPE_AP) {
param->hidden_ssid = mlme_obj->mgmt.ap.hidden_ssid;

查看文件

@@ -239,4 +239,15 @@ QDF_STATUS vdev_mgr_multiple_restart_send(
*/
QDF_STATUS vdev_mgr_peer_delete_all_send(struct vdev_mlme_obj *mlme_obj);
#ifdef WLAN_BCN_RATECODE_ENABLE
static inline uint32_t vdev_mgr_fetch_ratecode(struct vdev_mlme_obj *mlme_obj)
{
return mlme_obj->mgmt.rate_info.bcn_tx_rate_code;
}
#else
static inline uint32_t vdev_mgr_fetch_ratecode(struct vdev_mlme_obj *mlme_obj)
{
return mlme_obj->mgmt.rate_info.bcn_tx_rate;
}
#endif
#endif /* __VDEV_MGR_OPS_H__ */