소스 검색

qcacmn: Support to enable/disable SWBA events in beacon offload

When SWBA event is enabled, the FW will sent an event to the
host on every TBTT beacon.
Note that, unlike the legacy offload chips, this event is not
used by the host to send out the beacon frame itself.

Change-Id: Icf4440d79f7dbfb544f9d98c4de0e84bdb150459
CRs-Fixed: 2200805
Vinay Adella 7 년 전
부모
커밋
4c217bf5af
1개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 9 2
      wmi_unified_param.h

+ 9 - 2
wmi_unified_param.h

@@ -8098,14 +8098,21 @@ struct wmi_host_ready_ev_param {
 	bool agile_capability;
 };
 
+enum bcn_offload_control_param {
+	BCN_OFFLD_CTRL_TX_DISABLE = 0,
+	BCN_OFFLD_CTRL_TX_ENABLE,
+	BCN_OFFLD_CTRL_SWBA_DISABLE,
+	BCN_OFFLD_CTRL_SWBA_ENABLE,
+};
+
 /**
  * struct bcn_offload_control - Beacon offload control params
  * @vdev_id: vdev identifer of VAP to control beacon tx
- * @bcn_tx_enable: Enable or Disable beacon TX in offload mode
+ * @bcn_ctrl_op: values from enum bcn_offload_control_param
  */
 struct bcn_offload_control {
 	uint32_t vdev_id;
-	bool bcn_tx_enable;
+	enum bcn_offload_control_param bcn_ctrl_op;
 };
 
 /**