• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2012 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef __WFC_UTIL_QCOM_H__
18 #define __WFC_UTIL_QCOM_H__
19 
20 #ifdef CONFIG_LGE_WLAN_QCOM_PATCH
21 /*
22  * wfc_util_qcom_check_config
23  *
24  * check the qcom wlan driver config file
25  *
26  * return : it will return 0 if procedure is success
27  *          or will return -1 if not.
28  */
29 extern int wfc_util_qcom_check_config(unsigned char *nv_mac_addr);
30 
31 /*
32  * wfc_util_qcom_reset_mac
33  *
34  * reset the mac address of config file
35  *
36  * return : void
37  */
38 extern void wfc_util_qcom_reset_mac(void);
39 
40 /*
41  * wfc_util_qcom_ota_enable/disable
42  *
43  * enable OTA mode for Wi-Fi related certificiation
44  *
45  * return : int (boolean)
46  */
47 extern int wfc_util_qcom_ota_enable(void);
48 extern int wfc_util_qcom_ota_disable(void);
49 extern int wfc_util_qcom_checkt_roaming_off(void);
50 #endif /* CONFIG_LGE_WLAN_QCOM_PATCH */
51 #endif
52 
53