mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
msm: ipa3: Enable dynamic switch between WDI2 and WDI3
Enable WDI2 and dynamic switching between WDI3 and WDI2 based on wlan input. Change-Id: Iaa23c78d8852fe12d9f9bc1133ee7c53f6755779 Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
This commit is contained in:
parent
f4e98f0cf5
commit
759bd95c83
2 changed files with 8 additions and 0 deletions
|
|
@ -166,6 +166,8 @@ struct ipa_wdi3_data {
|
|||
int (*ipa_wdi_bw_monitor)(struct ipa_wdi_bw_info *info);
|
||||
|
||||
int (*ipa_wdi_sw_stats)(struct ipa_wdi_tx_info *info);
|
||||
|
||||
int (*ipa_get_wdi_version)(void);
|
||||
};
|
||||
|
||||
struct ipa_gsb_data {
|
||||
|
|
|
|||
|
|
@ -371,6 +371,7 @@ int ipa_wdi_bw_monitor(struct ipa_wdi_bw_info *info);
|
|||
*
|
||||
*/
|
||||
int ipa_wdi_sw_stats(struct ipa_wdi_tx_info *info);
|
||||
int ipa_get_wdi_version(void);
|
||||
|
||||
#else /* IS_ENABLED(CONFIG_IPA3) */
|
||||
|
||||
|
|
@ -380,6 +381,11 @@ static inline int ipa_wdi_init(struct ipa_wdi_init_in_params *in,
|
|||
return -EPERM;
|
||||
}
|
||||
|
||||
static inline int ipa_get_wdi_version(void)
|
||||
{
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
static inline int ipa_wdi_cleanup(void)
|
||||
{
|
||||
return -EPERM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue