]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add new QCA vendor status codes for TWT session terminate event
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Thu, 10 Apr 2025 15:08:39 +0000 (20:38 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 17 Apr 2025 20:32:03 +0000 (23:32 +0300)
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 <quic_vjakkam@quicinc.com>
src/common/qca-vendor.h

index f8130009c05b029bdb8635449e1be6d61a6df87f..23eb91cd741c229bf771c807f45480a0e4fcc5d9 100644 (file)
@@ -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,
 };
 
 /**