From: Veerendranath Jakkam Date: Thu, 10 Apr 2025 15:08:39 +0000 (+0530) Subject: Add new QCA vendor status codes for TWT session terminate event X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc3fd0414068a5b5716f5fe5a0e2f4acec696f9;p=thirdparty%2Fhostap.git Add new QCA vendor status codes for TWT session terminate event Add new status codes QCA_WLAN_VENDOR_TWT_STATUS_CHAN_SWITCH_24GHZ, QCA_WLAN_VENDOR_TWT_STATUS_MLO_LINK_INACTIVE, and extend QCA_WLAN_VENDOR_TWT_STATUS_SCAN_IN_PROGRESS to use with TWT session terminate event. Signed-off-by: Veerendranath Jakkam --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index f8130009c..23eb91cd7 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -11466,7 +11466,9 @@ enum qca_wlan_vendor_attr_twt_setup { * @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. + * request due to scan in progress. This is also used in TWT_TERMINATE + * notification from the driver to indicate TWT session termination is due to + * scan in progress. * QCA_WLAN_VENDOR_TWT_STATUS_POWER_SAVE_EXIT_TERMINATE: The driver requested to * terminate an existing TWT session on power save exit request from userspace. * Used on the TWT_TERMINATE notification from the driver/firmware. @@ -11484,6 +11486,12 @@ enum qca_wlan_vendor_attr_twt_setup { * driver/firmware. * @QCA_WLAN_VENDOR_TWT_STATUS_TIMEOUT: Requested TWT operation has timed out. * Used on the TWT_SET, TWT_TERMINATE notification from the driver/firmware. + * @QCA_WLAN_VENDOR_TWT_STATUS_CHAN_SWITCH_24GHZ: FW terminated the TWT + * session due to channel switch triggered to a 2.4 GHz channel. Used on the + * TWT_TERMINATE notification from the driver. + * @QCA_WLAN_VENDOR_TWT_STATUS_MLO_LINK_INACTIVE: FW terminated the TWT session + * due to the link inactivation triggered on the TWT session established + * link. Used on the TWT_TERMINATE notification from the driver. */ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_OK = 0, @@ -11515,6 +11523,8 @@ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_TWT_ALREADY_RESUMED = 26, QCA_WLAN_VENDOR_TWT_STATUS_PEER_REJECTED = 27, QCA_WLAN_VENDOR_TWT_STATUS_TIMEOUT = 28, + QCA_WLAN_VENDOR_TWT_STATUS_CHAN_SWITCH_24GHZ = 29, + QCA_WLAN_VENDOR_TWT_STATUS_MLO_LINK_INACTIVE = 30, }; /**