From e63d456905083372cbe19db50cf764a872a771dd Mon Sep 17 00:00:00 2001 From: Mohammad Asaad Akram Date: Wed, 14 Apr 2021 11:12:44 +0530 Subject: [PATCH] Add vendor reason code for TWT setup reject due to scan in progress The firmware rejects the TWT setup request when scan is in progress. Extend enum qca_wlan_vendor_twt_status to represent new reason code for it. Signed-off-by: Mohammad Asaad Akram --- src/common/qca-vendor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 36e62f62a..e88b95f8a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -8578,6 +8578,8 @@ enum qca_wlan_vendor_attr_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. + * @QCA_WLAN_VENDOR_TWT_STATUS_SCAN_IN_PROGRESS: FW rejected the TWT setup + * request due to scan in progress. */ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_OK = 0, @@ -8601,6 +8603,7 @@ enum qca_wlan_vendor_twt_status { 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, + QCA_WLAN_VENDOR_TWT_STATUS_SCAN_IN_PROGRESS = 21, }; /**