Ver Fonte

qcacmn: Added new parameter in TWT context

Added new "is_ps_disabled" parameter in twt_psoc_priv_obj
and twt_work_params structure.

CRs-Fixed: 3606623
Change-Id: I2210251b1a96ffe39b152e73d6d82dddde80653d
Deeksha Gupta há 1 ano atrás
pai
commit
4aa45fd033

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

@@ -77,12 +77,14 @@ struct twt_psoc_priv_obj {
  * @twt_wait_for_notify: wait for notify
  * @dialog_id: TWT dialog id
  * @peer_macaddr: Peer mac address
+ * @is_ps_disabled: Whether power save is disabled or not
  * @next_action: next action of TWT worker queue
  */
 struct twt_vdev_priv_obj {
 	bool twt_wait_for_notify;
 	uint32_t dialog_id;
 	struct qdf_mac_addr peer_macaddr;
+	bool is_ps_disabled;
 	enum HOST_TWT_NEXT_WORK_ACTION next_action;
 };
 

+ 2 - 0
umac/twt/dispatcher/inc/wlan_twt_public_structs.h

@@ -915,10 +915,12 @@ enum HOST_TWT_NEXT_WORK_ACTION {
  * struct twt_work_params
  * @peer_macaddr: peer mac address
  * @dialog_id: Dialog ID
+ * @is_ps_disabled: Whether power save is disabled or not.
  */
 struct twt_work_params {
 	struct qdf_mac_addr peer_macaddr;
 	uint32_t dialog_id;
+	bool is_ps_disabled;
 };
 #ifdef WLAN_SUPPORT_BCAST_TWT
 /**