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

Commit a5140924 authored by Maya Erez's avatar Maya Erez Committed by Lior David
Browse files

wil6210: increase PCP stop command timeout



In case there are connected stations, FW needs to disconnect
them before handling PCP stop. This flow can take several
seconds.
Increasing PCP stop timeout to 5 seconds to allow that.

Change-Id: I5bb42eabdd5995c3f8be1f02654a5046150368d9
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
Signed-off-by: default avatarLior David <liord@codeaurora.org>
parent 76078ca8
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@ MODULE_PARM_DESC(led_id,


#define WIL_WAIT_FOR_SUSPEND_RESUME_COMP 200
#define WIL_WAIT_FOR_SUSPEND_RESUME_COMP 200
#define WIL_WMI_CALL_GENERAL_TO_MS 100
#define WIL_WMI_CALL_GENERAL_TO_MS 100
#define WIL_WMI_PCP_STOP_TO_MS 5000


/**
/**
 * WMI event receiving - theory of operations
 * WMI event receiving - theory of operations
@@ -2231,7 +2232,8 @@ int wmi_pcp_stop(struct wil6210_vif *vif)
		return rc;
		return rc;


	return wmi_call(wil, WMI_PCP_STOP_CMDID, vif->mid, NULL, 0,
	return wmi_call(wil, WMI_PCP_STOP_CMDID, vif->mid, NULL, 0,
			WMI_PCP_STOPPED_EVENTID, NULL, 0, 20);
			WMI_PCP_STOPPED_EVENTID, NULL, 0,
			WIL_WMI_PCP_STOP_TO_MS);
}
}


int wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid)
int wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid)