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
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index c725b40..8fef652 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -8098,14 +8098,21 @@
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;
};
/**