qcacmn: Add WMI interface support for Direct Buffer Rx module
Direct Buffer Receive provides the driver with a mechanism by which target can transfer information directly into host memory via DMA. Add support for the following service/events/commands - 1. WMI_SERVICE_SUPPORT_DMA 2. WMI_DMA_CAPABILITIES as part of WMI_SERVICE_READY_EXT_EVENTID 3. WMI_PDEV_DMA_RING_CFG_REQ_CMDID 4. WMI_PDEV_DMA_RING_BUF_RELEASE_EVENTID 5. WMI_DMA_BUF_RELEASE_ENTRY Change-Id: I3949026b4542565c49bb538b9545ea607690c793 CRs-Fixed: 2158304
This commit is contained in:
@@ -628,6 +628,9 @@ QDF_STATUS (*send_oem_dma_cfg_cmd)(wmi_unified_t wmi_handle,
|
||||
wmi_oem_dma_ring_cfg_req_fixed_param *cfg);
|
||||
#endif
|
||||
|
||||
QDF_STATUS (*send_dbr_cfg_cmd)(wmi_unified_t wmi_handle,
|
||||
struct direct_buf_rx_cfg_req *cfg);
|
||||
|
||||
QDF_STATUS (*send_start_oem_data_cmd)(wmi_unified_t wmi_handle,
|
||||
uint32_t data_len,
|
||||
uint8_t *data);
|
||||
@@ -1354,6 +1357,21 @@ QDF_STATUS (*extract_reg_cap_service_ready_ext)(
|
||||
uint8_t *evt_buf, uint8_t phy_idx,
|
||||
struct wlan_psoc_host_hal_reg_capabilities_ext *param);
|
||||
|
||||
QDF_STATUS (*extract_dbr_ring_cap_service_ready_ext)(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf, uint8_t idx,
|
||||
struct wlan_psoc_host_dbr_ring_caps *param);
|
||||
|
||||
QDF_STATUS (*extract_dbr_buf_release_fixed)(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf,
|
||||
struct direct_buf_rx_rsp *param);
|
||||
|
||||
QDF_STATUS (*extract_dbr_buf_release_entry)(
|
||||
wmi_unified_t wmi_handle,
|
||||
uint8_t *evt_buf, uint8_t idx,
|
||||
struct direct_buf_rx_entry *param);
|
||||
|
||||
QDF_STATUS (*extract_pdev_utf_event)(wmi_unified_t wmi_hdl,
|
||||
uint8_t *evt_buf,
|
||||
struct wmi_host_pdev_utf_event *param);
|
||||
|
Reference in New Issue
Block a user