Explorar el Código

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 hace 7 años
padre
commit
4c217bf5af
Se han modificado 1 ficheros con 9 adiciones y 2 borrados
  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;
 };
 
 /**