qcacmn: Add WMI APIs to send and extract offchan data tx
Add API to send offchan data TX command and extract API to get offchan data tx completion params. Change-Id: I1e04d50810e43cec2c700476581e518b394db582
This commit is contained in:

committed by
Sandeep Puligilla

parent
e58fbc7c82
commit
25c4702998
@@ -1291,13 +1291,11 @@ struct seg_hdr_info {
|
||||
* @tx_frame: management tx frame
|
||||
* @frm_len: frame length
|
||||
* @vdev_id: vdev id
|
||||
* @tx_complete_cb: tx download callback handler
|
||||
* @tx_ota_post_proc_cb: OTA complition handler
|
||||
* @chanfreq: channel frequency
|
||||
* @pdata: frame data
|
||||
* @wmi_desc: command descriptor
|
||||
* @desc_id: descriptor id relyaed back by target
|
||||
* @macaddr - macaddr of peer
|
||||
* @qdf_ctx: qdf context for qdf_nbuf_map
|
||||
*/
|
||||
struct wmi_mgmt_params {
|
||||
void *tx_frame;
|
||||
@@ -1310,6 +1308,28 @@ struct wmi_mgmt_params {
|
||||
void *qdf_ctx;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wmi_offchan_data_tx_params - wmi offchan data tx cmd paramters
|
||||
* @tx_frame: management tx frame
|
||||
* @frm_len: frame length
|
||||
* @vdev_id: vdev id
|
||||
* @chanfreq: channel frequency
|
||||
* @pdata: frame data
|
||||
* @desc_id: descriptor id relyaed back by target
|
||||
* @macaddr: macaddr of peer
|
||||
* @qdf_ctx: qdf context for qdf_nbuf_map
|
||||
*/
|
||||
struct wmi_offchan_data_tx_params {
|
||||
void *tx_frame;
|
||||
uint16_t frm_len;
|
||||
uint8_t vdev_id;
|
||||
uint16_t chanfreq;
|
||||
void *pdata;
|
||||
uint16_t desc_id;
|
||||
uint8_t *macaddr;
|
||||
void *qdf_ctx;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct p2p_ps_params - P2P powersave related params
|
||||
* @opp_ps: opportunistic power save
|
||||
@@ -4981,6 +5001,7 @@ typedef enum {
|
||||
wmi_peer_delete_response_event_id,
|
||||
wmi_pdev_csa_switch_count_status_event_id,
|
||||
wmi_reg_chan_list_cc_event_id,
|
||||
wmi_offchan_data_tx_completion_event,
|
||||
|
||||
wmi_events_max,
|
||||
} wmi_conv_event_id;
|
||||
@@ -5833,6 +5854,18 @@ typedef struct {
|
||||
uint32_t pdev_id;
|
||||
} wmi_host_mgmt_tx_compl_event;
|
||||
|
||||
/**
|
||||
* struct wmi_host_offchan_data_tx_compl_event - TX completion event
|
||||
* @desc_id: from tx_send_cmd
|
||||
* @status: VWMI_MGMT_TX_COMP_STATUS_TYPE
|
||||
* @pdev_id: pdev_id
|
||||
*/
|
||||
struct wmi_host_offchan_data_tx_compl_event {
|
||||
uint32_t desc_id;
|
||||
uint32_t status;
|
||||
uint32_t pdev_id;
|
||||
};
|
||||
|
||||
#define WMI_HOST_TIM_BITMAP_ARRAY_SIZE 17
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user