1 #include "mp_precomp.h"
5 ex_hal8822b_wifi_only_hw_config(
6 IN struct wifi_only_cfg *pwifionlycfg
10 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x4c, 0x01800000, 0x2);
12 halwifionly_phy_set_bb_reg(pwifionlycfg, 0xcb4, 0xff, 0x77);
13 /*antenna mux switch */
14 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x974, 0x300, 0x3);
16 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x1990, 0x300, 0x0);
18 halwifionly_phy_set_bb_reg(pwifionlycfg, 0xcbc, 0x80000, 0x0);
19 /*switch to WL side controller and gnt_wl gnt_bt debug signal */
20 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x70, 0xff000000, 0x0e);
21 /*gnt_wl=1 , gnt_bt=0*/
22 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x1704, 0xffffffff, 0x7700);
23 halwifionly_phy_set_bb_reg(pwifionlycfg, 0x1700, 0xffffffff, 0xc00f0038);
27 ex_hal8822b_wifi_only_scannotify(
28 IN struct wifi_only_cfg *pwifionlycfg,
32 hal8822b_wifi_only_switch_antenna(pwifionlycfg, is_5g);
36 ex_hal8822b_wifi_only_switchbandnotify(
37 IN struct wifi_only_cfg *pwifionlycfg,
41 hal8822b_wifi_only_switch_antenna(pwifionlycfg, is_5g);
45 hal8822b_wifi_only_switch_antenna(IN struct wifi_only_cfg *pwifionlycfg,
51 halwifionly_phy_set_bb_reg(pwifionlycfg, 0xcbc, 0x300, 0x1);
53 halwifionly_phy_set_bb_reg(pwifionlycfg, 0xcbc, 0x300, 0x2);