qcacmn: Use INI configured WMI credit count

Use INI configured WMI credit for exchanging WMI messages.
Make sure INI configured value is less than FW advertised capability.
This credit configuration should be non zero.

Change-Id: I26b2dfbee0fc095aca3d37f21cd22c974189bb49
CRs-Fixed: 2411028
Šī revīzija ir iekļauta:
Manjunathappa Prakash
2019-03-27 15:23:38 -07:00
revīziju iesūtīja nshrivas
vecāks eee26f7b76
revīzija 0159f81bca
2 mainīti faili ar 15 papildinājumiem un 3 dzēšanām

Parādīt failu

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2014, 2016-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -50,6 +50,7 @@ struct htc_init_info {
void (*TargetSendSuspendComplete)(void *ctx, bool is_nack);
void (*target_initial_wakeup_cb)(void *cb_ctx);
void *target_psoc;
uint32_t cfg_wmi_credit_cnt;
};
/* Struct for HTC layer packet stats*/