]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add new QCA vendor TWT status values
authorKashish Awasthi <quic_kawasthi@quicinc.com>
Tue, 29 Oct 2024 13:26:47 +0000 (18:56 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2024 21:01:26 +0000 (23:01 +0200)
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 <quic_kawasthi@quicinc.com>
src/common/qca-vendor.h

index ed46d27d11c3ad9b1b6fa1902780bc2786f98fdf..77a9f9d3aa11284836af27405fa413eb2fb1d0ed 100644 (file)
@@ -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,
 };
 
 /**