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

Commit c3e24c63 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Add API to expose QMI timeout value



Expose QMI timeout value so that WLAN host driver or other driver
modules can adjust QMI related timeouts accordingly.

Change-Id: I7f758a1ccb5363376222f253353606628200ae6b
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 8fdea91c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -709,6 +709,12 @@ static void cnss_wlfw_clnt_ind(struct qmi_handle *handle,
	}
}

unsigned int cnss_get_qmi_timeout(void)
{
	return qmi_timeout;
}
EXPORT_SYMBOL(cnss_get_qmi_timeout);

int cnss_wlfw_server_arrive(struct cnss_plat_data *plat_priv)
{
	int ret = 0;
+1 −0
Original line number Diff line number Diff line
@@ -179,5 +179,6 @@ extern int cnss_wlan_enable(struct device *dev,
			    enum cnss_driver_mode mode,
			    const char *host_version);
extern int cnss_wlan_disable(struct device *dev, enum cnss_driver_mode mode);
extern unsigned int cnss_get_qmi_timeout(void);

#endif /* _NET_CNSS2_H */