summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-05-03 13:09:05 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-24 04:41:43 -0700
commit9e5835025b74a8b3d66135fe1a8a2ebf6bf631f5 (patch)
tree0b4dbabf31edb22d88c39db2993a307fe164c18b /include/net
parentec79695605b6ba27190d9f74bc9febf2f7042b56 (diff)
cnss: Expose Power Up/Down API to WLAN Functional Driver
Dynamic Mode Change Feature Request, needs to power ON QCA Chip during system bootup to get Firmware Capabilities. Today the implementation is only during driver load, platform driver power up the chip and call the device driver probe and call device driver remove and cut the chip power during driver unload. As part of this feature request, driver needs API to power down and power up chip after ifconfig down and before ifconfig up. CRs-Fixed: 1009901 Change-Id: I8e964c6bb8d6d8fb6f4bfba17a6b24b97509953c Signed-off-by: Komal Kumar <kseelam@codeaurora.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cnss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cnss.h b/include/net/cnss.h
index ab9b50100504..3206b8d23bae 100644
--- a/include/net/cnss.h
+++ b/include/net/cnss.h
@@ -242,4 +242,6 @@ extern void cnss_common_schedule_recovery_work(struct device *dev);
extern int cnss_common_set_wlan_mac_address(struct device *dev, const u8 *in,
uint32_t len);
extern u8 *cnss_common_get_wlan_mac_address(struct device *dev, uint32_t *num);
+extern int cnss_power_up(struct device *dev);
+extern int cnss_power_down(struct device *dev);
#endif /* _NET_CNSS_H_ */