Browse Source

qcacmn: Add a new status code to represent an already suspended TWT session

The firmware sends a new status code to indicate an already suspended
TWT session. Update the status code enum to represent this state.

CRs-Fixed: 2784214
Change-Id: I7663ae1e1477919b7e93b0dcebd5287dc3e87263
Rajasekaran Kalidoss 4 years ago
parent
commit
3c4ca49728
1 changed files with 3 additions and 0 deletions
  1. 3 0
      os_if/linux/qca_vendor.h

+ 3 - 0
os_if/linux/qca_vendor.h

@@ -8232,6 +8232,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,
@@ -8247,6 +8249,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,
 };
 
 /**