qcacld-3.0: wma to target_if migration of roam_stats_event
Currently, wmi_roam_stats_event_id data is extracted and processing is also done in wma. This is not inline with component model where target_if takes care of data extraction and handover the extracted data to corresponding component(connection mgr in this case). Add changes to support the same. Change-Id: I5e336b01e1a2183e49b3e6eeb125c7c9fd0fd73c CRs-Fixed: 3003125
This commit is contained in:

committed by
Madan Koyyalamudi

parent
b60d36df43
commit
b35419136e
@@ -326,6 +326,61 @@ QDF_STATUS
|
||||
wmi_extract_roam_scan_chan_list(wmi_unified_t wmi_handle,
|
||||
uint8_t *event, uint32_t data_len,
|
||||
struct cm_roam_scan_ch_resp **data);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_roam_btm_response() - Extract BTM response
|
||||
* @wmi: wmi handle
|
||||
* @evt_buf: Pointer to the event buffer
|
||||
* @dst: Pointer to destination structure to fill data
|
||||
* @idx: TLV id
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_extract_roam_btm_response(wmi_unified_t wmi, void *evt_buf,
|
||||
struct roam_btm_response_data *dst,
|
||||
uint8_t idx);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_roam_initial_info() - Extract initial info
|
||||
* @wmi: wmi handle
|
||||
* @evt_buf: Pointer to the event buffer
|
||||
* @dst: Pointer to destination structure to fill data
|
||||
* @idx: TLV id
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_extract_roam_initial_info(wmi_unified_t wmi, void *evt_buf,
|
||||
struct roam_initial_data *dst,
|
||||
uint8_t idx);
|
||||
|
||||
/**
|
||||
* wmi_unified_extract_roam_msg_info() - Extract roam msg info
|
||||
* @wmi: wmi handle
|
||||
* @evt_buf: Pointer to the event buffer
|
||||
* @dst: Pointer to destination structure to fill data
|
||||
* @idx: TLV id
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_extract_roam_msg_info(wmi_unified_t wmi, void *evt_buf,
|
||||
struct roam_msg_info *dst, uint8_t idx);
|
||||
|
||||
/**
|
||||
* wmi_extract_roam_stats_event - Extract roam stats event
|
||||
* @wmi_handle: WMI handle
|
||||
* @event: Event data received from firmware
|
||||
* @data_len: Event data length received from firmware
|
||||
* @stats_info: Extract the event and fill in stats_info
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_extract_roam_stats_event(wmi_unified_t wmi_handle,
|
||||
uint8_t *event, uint32_t data_len,
|
||||
struct roam_stats_event **stats_info);
|
||||
#endif /* ROAM_TARGET_IF_CONVERGENCE */
|
||||
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
||||
|
||||
|
Reference in New Issue
Block a user