]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a new status code to represent an already suspended TWT session
authorRajasekaran Kalidoss <rkalidos@codeaurora.org>
Tue, 22 Sep 2020 05:22:42 +0000 (10:52 +0530)
committerJouni Malinen <j@w1.fi>
Wed, 23 Sep 2020 20:14:53 +0000 (23:14 +0300)
The firmware sends a new status code to indicate an already suspended
TWT session. Update the status code enum to represent this state.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/qca-vendor.h

index af682202044be0932fff5c4f6e2a049559d91428..d42d31fa463071fed2b5b35809e1850787eef16e 100644 (file)
@@ -8048,6 +8048,8 @@ enum qca_wlan_vendor_attr_twt_setup {
  * @QCA_WLAN_VENDOR_TWT_STATUS_DENIED: AP did not accept the request
  * @QCA_WLAN_VENDOR_TWT_STATUS_UNKNOWN_ERROR: Adding TWT dialog failed due to an
  * unknown reason
+ * @QCA_WLAN_VENDOR_TWT_STATUS_ALREADY_SUSPENDED: TWT session already in
+ * suspend state
  */
 enum qca_wlan_vendor_twt_status {
        QCA_WLAN_VENDOR_TWT_STATUS_OK = 0,
@@ -8063,6 +8065,7 @@ enum qca_wlan_vendor_twt_status {
        QCA_WLAN_VENDOR_TWT_STATUS_NO_RESPONSE = 10,
        QCA_WLAN_VENDOR_TWT_STATUS_DENIED = 11,
        QCA_WLAN_VENDOR_TWT_STATUS_UNKNOWN_ERROR = 12,
+       QCA_WLAN_VENDOR_TWT_STATUS_ALREADY_SUSPENDED = 13,
 };
 
 /**