summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-05-26 00:10:31 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-26 00:10:30 -0700
commitbd5238c5e7224a228519cdf6ca2bd24294b0b296 (patch)
treeda3c65b48e8b5a4a2ea1d79ecc9e44b5d900725a /include/soc
parentc5a3a7fe4632f7d30a3f60fa99de7b3a1c22b6ca (diff)
parente184fd8d1558c4bd5d9ea71650d73b2cdeb504f3 (diff)
Merge "cnss: save the cc source to platform driver"
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/icnss.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/soc/qcom/icnss.h b/include/soc/qcom/icnss.h
index 7ef984afc442..b434da092b8e 100644
--- a/include/soc/qcom/icnss.h
+++ b/include/soc/qcom/icnss.h
@@ -23,6 +23,12 @@ enum icnss_uevent {
ICNSS_UEVENT_FW_DOWN,
};
+enum cnss_cc_src {
+ CNSS_SOURCE_CORE,
+ CNSS_SOURCE_11D,
+ CNSS_SOURCE_USER
+};
+
struct icnss_uevent_fw_down_data {
bool crashed;
};
@@ -144,5 +150,6 @@ extern bool icnss_is_fw_ready(void);
extern int icnss_set_wlan_mac_address(const u8 *in, const uint32_t len);
extern u8 *icnss_get_wlan_mac_address(struct device *dev, uint32_t *num);
extern int icnss_trigger_recovery(struct device *dev);
-
+extern void cnss_set_cc_source(enum cnss_cc_src cc_source);
+extern enum cnss_cc_src cnss_get_cc_source(void);
#endif /* _ICNSS_WLAN_H_ */