From: Kashish Awasthi Date: Tue, 29 Oct 2024 13:26:47 +0000 (+0530) Subject: Add new QCA vendor TWT status values X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6742284dc63cfc6668e14ffa092692928c9076c5;p=thirdparty%2Fhostap.git Add new QCA vendor TWT status values Add the following new status values in enum qca_wlan_vendor_twt_status to enhance TWT session and operation handling, to cover various scenarios such as peer rejections, timeouts and local teardown requests. - QCA_WLAN_VENDOR_TWT_STATUS_TWT_ALREADY_RESUMED - QCA_WLAN_VENDOR_TWT_STATUS_PEER_REJECTED - QCA_WLAN_VENDOR_TWT_STATUS_TIMEOUT Signed-off-by: Kashish Awasthi --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index ed46d27d1..77a9f9d3a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -11156,6 +11156,13 @@ enum qca_wlan_vendor_attr_twt_setup { * @QCA_WLAN_VENDOR_TWT_STATUS_MULTIPLE_LINKS_ACTIVE_TERMINATE: FW terminated * the TWT session due to more than one MLO link becoming active. Used on the * TWT_TERMINATE notification from the driver/firmware. + * @QCA_WLAN_VENDOR_TWT_STATUS_TWT_ALREADY_RESUMED: TWT session already in + * resumed state. Used on the TWT_RESUME notification from the driver/firmware. + * @QCA_WLAN_VENDOR_TWT_STATUS_PEER_REJECTED: Requested TWT operation is + * rejected by the peer. Used on the TWT_SET notification from the + * 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. */ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_OK = 0, @@ -11184,6 +11191,9 @@ enum qca_wlan_vendor_twt_status { QCA_WLAN_VENDOR_TWT_STATUS_TWT_REQUIRED = 23, QCA_WLAN_VENDOR_TWT_STATUS_TWT_NOT_REQUIRED = 24, QCA_WLAN_VENDOR_TWT_STATUS_MULTIPLE_LINKS_ACTIVE_TERMINATE = 25, + QCA_WLAN_VENDOR_TWT_STATUS_TWT_ALREADY_RESUMED = 26, + QCA_WLAN_VENDOR_TWT_STATUS_PEER_REJECTED = 27, + QCA_WLAN_VENDOR_TWT_STATUS_TIMEOUT = 28, }; /**