• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright(c) 2016 - 2017 Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  *****************************************************************************/
15 #include "mp_precomp.h"
16 
17 
18 VOID
ex_hal8822c_wifi_only_hw_config(IN struct wifi_only_cfg * pwifionlycfg)19 ex_hal8822c_wifi_only_hw_config(
20 	IN struct wifi_only_cfg *pwifionlycfg
21 	)
22 {
23 	halwifionly_phy_set_bb_reg(pwifionlycfg, 0x70, 0xff000000, 0x0e);
24 	/*gnt_wl=1 , gnt_bt=0*/
25 	halwifionly_phy_set_bb_reg(pwifionlycfg, 0x1704, 0xffffffff, 0x7700);
26 	halwifionly_phy_set_bb_reg(pwifionlycfg, 0x1700, 0xffffffff, 0xc00f0038);
27 
28 	halwifionly_phy_set_bb_reg(pwifionlycfg, 0x6c0, 0xffffffff, 0xaaaaaaaa);
29 	halwifionly_phy_set_bb_reg(pwifionlycfg, 0x6c4, 0xffffffff, 0xaaaaaaaa);
30 }
31 
32 VOID
ex_hal8822c_wifi_only_scannotify(IN struct wifi_only_cfg * pwifionlycfg,IN u1Byte is_5g)33 ex_hal8822c_wifi_only_scannotify(
34 	IN struct wifi_only_cfg *pwifionlycfg,
35 	IN u1Byte  is_5g
36 	)
37 {
38 }
39 
40 VOID
ex_hal8822c_wifi_only_switchbandnotify(IN struct wifi_only_cfg * pwifionlycfg,IN u1Byte is_5g)41 ex_hal8822c_wifi_only_switchbandnotify(
42 	IN struct wifi_only_cfg *pwifionlycfg,
43 	IN u1Byte  is_5g
44 	)
45 {
46 }
47 
48 VOID
ex_hal8822c_wifi_only_connectnotify(IN struct wifi_only_cfg * pwifionlycfg,IN u1Byte is_5g)49 ex_hal8822c_wifi_only_connectnotify(
50 	IN struct wifi_only_cfg *pwifionlycfg,
51 	IN u1Byte  is_5g
52 	)
53 {
54 }
55 
56 
57 VOID
hal8822c_wifi_only_switch_antenna(IN struct wifi_only_cfg * pwifionlycfg,IN u1Byte is_5g)58 hal8822c_wifi_only_switch_antenna(
59 	IN struct wifi_only_cfg *pwifionlycfg,
60 	IN u1Byte  is_5g
61 	)
62 {
63 }
64