qcacmn: Add internal stop send event

In current code, EV_DOWN event in stop-progress sub state sends
stop command to FW, As EV_DOWN is generic, it is casuing multiple
stop commands to FW. To avoid, for internal transitions added new
event STOP_REQ, which send stop command to FW

EV_DOWN event is not honored in STOP state, as it is not initial state

Change-Id: I5a3b44ab6e12f6d1c2d10ad55954c6a0510e5f9e
CRS-Fixed: 2401298
This commit is contained in:
Srinivas Pitla
2019-02-19 14:42:56 +05:30
committed by nshrivas
父節點 38a0c9fe44
當前提交 ae6c9ee9d1
共有 2 個文件被更改,包括 8 次插入4 次删除

查看文件

@@ -101,6 +101,7 @@ enum wlan_vdev_state {
* @WLAN_VDEV_SM_EV_MLME_DOWN_REQ: Invoke DOWN command operation
* @WLAN_VDEV_SM_EV_DOWN_COMPLETE: Notification of DOWN complete
* @WLAN_VDEV_SM_EV_ROAM: Notifiction on ROAMING
* @WLAN_VDEV_SM_EV_STOP_REQ: Invoke API to initiate STOP handshake
*/
enum wlan_vdev_sm_evt {
WLAN_VDEV_SM_EV_START = 0,
@@ -132,6 +133,7 @@ enum wlan_vdev_sm_evt {
WLAN_VDEV_SM_EV_MLME_DOWN_REQ = 26,
WLAN_VDEV_SM_EV_DOWN_COMPLETE = 27,
WLAN_VDEV_SM_EV_ROAM = 28,
WLAN_VDEV_SM_EV_STOP_REQ = 29,
};
#else