mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacmn: Add new TWT teardown status code
Add new TWT teardown status code to indicate firmware teared down the TWT session due to concurrent connection established. Change-Id: I9b0fb5c5179355f34bd07e91a996da3ade1c9ce8 CRs-Fixed: 2899575
This commit is contained in:
parent
f584ea6455
commit
9b4bbfc115
2 changed files with 5 additions and 0 deletions
|
|
@ -405,6 +405,8 @@ struct wmi_twt_del_dialog_param {
|
|||
* unknown reason
|
||||
* @WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN: Peer initiated TWT teardown
|
||||
* @WMI_HOST_DEL_TWT_STATUS_ROAMING: TWT teardown due to roaming.
|
||||
* @WMI_HOST_DEL_TWT_STATUS_CONCURRENCY: TWT session teardown due to
|
||||
* concurrent session comming up.
|
||||
*/
|
||||
enum WMI_HOST_DEL_TWT_STATUS {
|
||||
WMI_HOST_DEL_TWT_STATUS_OK,
|
||||
|
|
@ -416,6 +418,7 @@ enum WMI_HOST_DEL_TWT_STATUS {
|
|||
WMI_HOST_DEL_TWT_STATUS_UNKNOWN_ERROR,
|
||||
WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN,
|
||||
WMI_HOST_DEL_TWT_STATUS_ROAMING,
|
||||
WMI_HOST_DEL_TWT_STATUS_CONCURRENCY,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -599,6 +599,8 @@ wmi_get_converted_twt_del_dialog_status(WMI_DEL_TWT_STATUS_T tgt_status)
|
|||
return WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN;
|
||||
case WMI_DEL_TWT_STATUS_ROAMING:
|
||||
return WMI_HOST_DEL_TWT_STATUS_ROAMING;
|
||||
case WMI_DEL_TWT_STATUS_CONCURRENCY:
|
||||
return WMI_HOST_DEL_TWT_STATUS_CONCURRENCY;
|
||||
default:
|
||||
return WMI_HOST_DEL_TWT_STATUS_UNKNOWN_ERROR;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue