]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Extend QCA vendor command for early TWT SP termination for AP mode
authorShailendra Pratap Singh <shasing@qti.qualcomm.com>
Tue, 25 Nov 2025 06:16:51 +0000 (11:46 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 4 Dec 2025 15:33:01 +0000 (17:33 +0200)
Add vendor attribute QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_PEER_MAC_ADDR
to specify the peer MAC address for operation
QCA_WLAN_TWT_EARLY_TERMINATION_IND for AP mode.

Signed-off-by: Shailendra Singh <shasing@qti.qualcomm.com>
src/common/qca-vendor.h

index 910b598a18725506af721ff0f5d79dc7ca6e7b46..c8ec3a7b09926265fb635724fc56cf643e17ce3e 100644 (file)
@@ -12430,10 +12430,17 @@ enum qca_wlan_vendor_twt_setup_req_type {
  * Flow ID is the unique identifier for the TWT session.
  * Flow ID values from 0 to 254 represent a single TWT session.
  * Flow ID value of 255 represents all TWT sessions.
+ *
+ * @QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_PEER_MAC_ADDR: Optional, 6-byte
+ * MAC address.
+ * Represents the MAC address of the peer for which the TWT Flow ID is
+ * provided. This is a mandatory attribute in AP mode to represent the
+ * respective client.
  */
 enum qca_wlan_vendor_attr_twt_early_termination_ind {
        QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_FLOW_INVALID = 0,
        QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_FLOW_ID = 1,
+       QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_PEER_MAC_ADDR = 2,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_TWT_EARLY_TERM_FLOW_AFTER_LAST,