Jelajahi Sumber

qcacmn: Add wake_dur & wake_interval in twt_peer_priv_obj struct

Add wake_dur & wake_interval in twt_peer_priv_obj struct to store
TWT wake duration and wake interval. This info is needed to
decide LL_SAP CSA path indication (either via GATT message or
ECSA action frame)

Change-Id: I0b3ead0567dc69a7c8e53e9c45f51637609ade7c
CRs-Fixed: 3522643
Jyoti Kumari 2 tahun lalu
induk
melakukan
5e9c54ba84
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      umac/twt/core/src/wlan_twt_priv.h

+ 4 - 0
umac/twt/core/src/wlan_twt_priv.h

@@ -91,6 +91,8 @@ struct twt_vdev_priv_obj {
  * @setup_done: setup done
  * @active_cmd: active command
  * @twt_ack_ctx: twt ack context
+ * @wake_dur: TWT wake duration
+ * @wake_interval: TWT wake interval
  */
 struct twt_session {
 	uint8_t dialog_id;
@@ -98,6 +100,8 @@ struct twt_session {
 	bool setup_done;
 	enum wlan_twt_commands active_cmd;
 	void *twt_ack_ctx;
+	uint32_t wake_dur;
+	uint32_t wake_interval;
 };
 
 /**