From 49ad86b0cfe727f9f1d6b2c6ae20af90244504cd Mon Sep 17 00:00:00 2001 From: Mohammad Asaad Akram Date: Wed, 24 Mar 2021 20:03:02 +0530 Subject: [PATCH] Add vendor reason codes for TWT setup reject on roaming/channel switch The firmware rejects the TWT setup request when roaming and channel switch is in progress. Extend enum qca_wlan_vendor_twt_status to represent new reason codes for these cases. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 63aa46242..276335876 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -8515,6 +8515,10 @@ enum qca_wlan_vendor_attr_twt_setup { * @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. + * @QCA_WLAN_VENDOR_TWT_STATUS_ROAMING_IN_PROGRESS: FW rejected the TWT setup + * request due to roaming in progress. + * @QCA_WLAN_VENDOR_TWT_STATUS_CHANNEL_SWITCH_IN_PROGRESS: FW rejected the TWT + * setup request due to channel switch in progress. */ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_OK = 0, @@ -8536,6 +8540,8 @@ enum qca_wlan_vendor_twt_status { 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, + QCA_WLAN_VENDOR_TWT_STATUS_ROAMING_IN_PROGRESS = 19, + QCA_WLAN_VENDOR_TWT_STATUS_CHANNEL_SWITCH_IN_PROGRESS = 20, }; /**