mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: disable mailbox swap for FTM mode
It shouldn't swap mailbox in FTM mode, or WMI commands will be stuck. Change-Id: I5d3760100f3c8e1d2c3bfbe88fd5a84deb0bc1ff CRs-Fixed: 2208876
This commit is contained in:
parent
aa714a1f94
commit
2741c7afbf
1 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -164,8 +164,11 @@ QDF_STATUS ol_sdio_extra_initialization(struct ol_context *ol_ctx)
|
|||
goto exit;
|
||||
}
|
||||
|
||||
param |= (HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_SET |
|
||||
HI_ACS_FLAGS_ALT_DATA_CREDIT_SIZE);
|
||||
param |= HI_ACS_FLAGS_ALT_DATA_CREDIT_SIZE;
|
||||
|
||||
/* disable swap mailbox for FTM */
|
||||
if (cds_get_conparam() != QDF_GLOBAL_FTM_MODE)
|
||||
param |= HI_ACS_FLAGS_SDIO_SWAP_MAILBOX_SET;
|
||||
|
||||
if (!cds_is_ptp_tx_opt_enabled())
|
||||
param |= HI_ACS_FLAGS_SDIO_REDUCE_TX_COMPL_SET;
|
||||
|
|
|
|||
Loading…
Reference in a new issue