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
This commit is contained in:
Vinay Adella
2018-04-27 14:49:53 +05:30
committed by nshrivas
parent 42ce0e4c2f
commit 4c217bf5af

View File

@@ -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;
};
/**