mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-03 17:27:25 -05:00
qcacmn: Enable support for Coldboot calibration in IPQ8074 platform
This changes checks the con_mode value and passes corresponding PLD mode value Change-Id: I08a8f87c3dc92b7af02c36851b27eec800b7f4a7
This commit is contained in:
parent
175539f1fe
commit
1666dd32aa
2 changed files with 3 additions and 0 deletions
|
|
@ -2240,6 +2240,8 @@ int hif_wlan_enable(struct hif_softc *scn)
|
|||
|
||||
if (QDF_GLOBAL_FTM_MODE == con_mode)
|
||||
mode = PLD_FTM;
|
||||
else if (QDF_GLOBAL_COLDBOOT_CALIB_MODE == con_mode)
|
||||
mode = PLD_COLDBOOT_CALIBRATION;
|
||||
else if (QDF_IS_EPPING_ENABLED(con_mode))
|
||||
mode = PLD_EPPING;
|
||||
else
|
||||
|
|
|
|||
|
|
@ -507,6 +507,7 @@ enum tQDF_GLOBAL_CON_MODE {
|
|||
QDF_GLOBAL_MONITOR_MODE = 4,
|
||||
QDF_GLOBAL_FTM_MODE = 5,
|
||||
QDF_GLOBAL_IBSS_MODE = 6,
|
||||
QDF_GLOBAL_COLDBOOT_CALIB_MODE = 7,
|
||||
QDF_GLOBAL_EPPING_MODE = 8,
|
||||
QDF_GLOBAL_QVIT_MODE = 9,
|
||||
QDF_GLOBAL_MAX_MODE
|
||||
|
|
|
|||
Loading…
Reference in a new issue