Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365e8163 authored by Sharath Chandra Vurukala's avatar Sharath Chandra Vurukala
Browse files

soc:qcom:dfc: change the default call bringup grant to 20k



In case of data call setup immediately after the power save disable,
the flow indications may get ignored, if the flow addition happens
after the indications are received.

This will block the initial address configuration procedure.
Having the default grant of 20K during flow addition, will avoid this
issue. Further flow indication's will keep parity between modem and
APPS with respect to grants.

Change-Id: Ib6264c6024a658e3de309ab7f52dd3d801114b8d
Signed-off-by: default avatarSharath Chandra Vurukala <sharathv@codeaurora.org>
parent 6f0fe27e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ static struct rmnet_bearer_map *__qmi_rmnet_bearer_get(

		bearer->bearer_id = bearer_id;
		bearer->flow_ref = 1;
		bearer->grant_size = DEFAULT_GRANT;
		bearer->grant_size = DEFAULT_CALL_GRANT;
		bearer->grant_thresh = qmi_rmnet_grant_per(bearer->grant_size);
		bearer->mq_idx = INVALID_MQ;
		bearer->ack_mq_idx = INVALID_MQ;
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
#define MAX_CLIENT_NUM 2
#define MAX_FLOW_NUM 32
#define DEFAULT_GRANT 1
#define DEFAULT_CALL_GRANT 20480
#define DFC_MAX_BEARERS_V01 16
#define DEFAULT_MQ_NUM 0
#define ACK_MQ_OFFSET (MAX_MQ_NUM - 1)