From 7831b10a897f61c5fef06ed893d6ac1f83065df9 Mon Sep 17 00:00:00 2001 From: Mohammad Asaad Akram Date: Wed, 17 Mar 2021 09:42:35 +0530 Subject: [PATCH] Introduce reason code for TWT teardown due to concurrency The firmware sends new reason codes to indicate TWT teardown due to single channel and multi channel concurrency. Update the enum qca_wlan_vendor_twt_status to represent new reason code. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 573e144a6..63aa46242 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -8512,6 +8512,9 @@ enum qca_wlan_vendor_attr_twt_setup { * @QCA_WLAN_VENDOR_TWT_STATUS_ROAM_INITIATED_TERMINATE: FW terminated the TWT * session due to roaming. Used on the TWT_TERMINATE notification from the * firmware. + * @QCA_WLAN_VENDOR_TWT_STATUS_SCC_MCC_CONCURRENCY_TERMINATE: FW terminated the + * TWT session due to SCC (Single Channel Concurrency) and MCC (Multi Channel + * Concurrency). Used on the TWT_TERMINATE notification from the firmware. */ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_OK = 0, @@ -8532,6 +8535,7 @@ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_PARAMS_NOT_IN_RANGE = 15, QCA_WLAN_VENDOR_TWT_STATUS_PEER_INITIATED_TERMINATE = 16, QCA_WLAN_VENDOR_TWT_STATUS_ROAM_INITIATED_TERMINATE = 17, + QCA_WLAN_VENDOR_TWT_STATUS_SCC_MCC_CONCURRENCY_TERMINATE = 18, }; /**