qcacld-3.0: Vote for high DDR bandwidth in FTM mode

In FTM mode, we are not voting for any DDR frequency,
which leads to uneven TX/RX duty cycle, since the DDR
frequency will entirely depends on any other subsytem's
vote.

Vote for VERY HIGH BW in FTM mode.

Change-Id: I7f85fb9889d9119c7224c9bcd9688327e78f15ff
CRs-Fixed: 2706143
This commit is contained in:
Rakesh Pillai 2020-06-10 10:30:43 +05:30 • committed by nshrivas
commit f316ead4db

View file

@ -15612,6 +15612,13 @@ static int __hdd_driver_mode_change(struct hdd_context *hdd_ctx,
con_mode = next_mode;
hdd_info("Driver mode successfully changed to %d", next_mode);
if (con_mode == QDF_GLOBAL_FTM_MODE)
pld_request_bus_bandwidth(hdd_ctx->parent_dev,
PLD_BUS_WIDTH_VERY_HIGH);
else if (con_mode == QDF_GLOBAL_MISSION_MODE)
pld_request_bus_bandwidth(hdd_ctx->parent_dev,
PLD_BUS_WIDTH_NONE);
return 0;
}