mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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:
parent
6fe1bde368
commit
f316ead4db
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue