summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>2016-02-27 19:42:35 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:02 -0700
commitb29bc2ad437ea1f7554e8dd62db32e9d7ca4e134 (patch)
treef74438affa6bb1a35454f8536b29bfd99a54de8a /include/net
parentebca83b30e75246636f338a072eabbeceb7092a7 (diff)
net: cnss: add PM QoS support for dual WiFi
PM QoS adds support to improve the wlan throughput. The cnss platform driver export PM QoS API to wlan host driver. Refactor PM QoS wrapper APIs to avoid the name space collision in cnss platform driver compilation in dual WiFi mode. CRs-Fixed: 983653 Change-Id: Id7a486f2f111476e73d5707eba36611a3530e9cf Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cnss.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/cnss.h b/include/net/cnss.h
index cfda3cdfa128..71b8d9a27f46 100644
--- a/include/net/cnss.h
+++ b/include/net/cnss.h
@@ -122,6 +122,8 @@ extern void cnss_wlan_unregister_driver(struct cnss_wlan_driver *driver);
extern int cnss_get_fw_files(struct cnss_fw_files *pfw_files);
extern int cnss_get_fw_files_for_target(struct cnss_fw_files *pfw_files,
u32 target_type, u32 target_version);
+extern int cnss_pci_request_bus_bandwidth(int bandwidth);
+extern int cnss_sdio_request_bus_bandwidth(int bandwidth);
extern int cnss_request_bus_bandwidth(int bandwidth);
extern int cnss_get_sha_hash(const u8 *data, u32 data_len,
@@ -140,6 +142,15 @@ extern void cnss_release_pm_sem(void);
extern void cnss_request_pm_qos_type(int latency_type, u32 qos_val);
extern void cnss_request_pm_qos(u32 qos_val);
extern void cnss_remove_pm_qos(void);
+
+extern void cnss_pci_request_pm_qos_type(int latency_type, u32 qos_val);
+extern void cnss_pci_request_pm_qos(u32 qos_val);
+extern void cnss_pci_remove_pm_qos(void);
+
+extern void cnss_sdio_request_pm_qos_type(int latency_type, u32 qos_val);
+extern void cnss_sdio_request_pm_qos(u32 qos_val);
+extern void cnss_sdio_remove_pm_qos(void);
+
extern int cnss_get_platform_cap(struct cnss_platform_cap *cap);
extern void cnss_set_driver_status(enum cnss_driver_status driver_status);