From 1eeae2213ecaabea13524eadc6e2469d5f8df5fb Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Wed, 14 Apr 2021 16:29:57 +0530 Subject: [PATCH] qcacmn: 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. Change-Id: I8576d8cce2fac62d9e3cf020a3dadee06ec14d5c CRs-Fixed: 2923272 --- os_if/linux/qca_vendor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 294f8641439f..dffe303ee154 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -8655,6 +8655,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, @@ -8678,6 +8680,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, }; /**