Lines Matching refs:GLBtCoexist
138 struct btc_coexist GLBtCoexist; variable
3228 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_BindBtCoexWithAdapter()
3280 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_AntInfoSetting()
3311 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_InitlizeVariables()
5198 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_StackUpdateProfileInfo()
5250 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_UpdateMinBtRssi()
5260 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_SetHciVersion()
5270 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_SetBtPatchVersion()
5282 GLBtCoexist.boardInfo.bBtExist = bBtExist;
5293 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_UNDEF; in EXhalbtcoutsrc_SetChipType()
5296 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_CSR_BC4; in EXhalbtcoutsrc_SetChipType()
5299 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_CSR_BC8; in EXhalbtcoutsrc_SetChipType()
5302 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8723A; in EXhalbtcoutsrc_SetChipType()
5305 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8821; in EXhalbtcoutsrc_SetChipType()
5308 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8723B; in EXhalbtcoutsrc_SetChipType()
5316 GLBtCoexist.board_info.pg_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5317 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5322 if ((GLBtCoexist.board_info.pg_ant_num == 2) && (GLBtCoexist.board_info.btdm_ant_num == 1)) in EXhalbtcoutsrc_SetAntNum()
5323 GLBtCoexist.board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in EXhalbtcoutsrc_SetAntNum()
5325 GLBtCoexist.board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in EXhalbtcoutsrc_SetAntNum()
5328 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5331 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5341 GLBtCoexist.board_info.single_ant_path = singleAntPath; in EXhalbtcoutsrc_SetSingleAntPath()
5483 GLBtCoexist.board_info.rfe_type= type; in EXhalbtcoutsrc_set_rfe_type()
5489 GLBtCoexist.rf4ce_info.link_state = state; in EXhalbtcoutsrc_set_rf4ce_link_state()
5494 return GLBtCoexist.rf4ce_info.link_state; in EXhalbtcoutsrc_get_rf4ce_link_state()
5849 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsBtDisabled()
5877 _rtw_memset(&GLBtCoexist, 0, sizeof(GLBtCoexist)); in hal_btcoex_Initialize()
5886 EXhalbtcoutsrc_PowerOnSetting(&GLBtCoexist); in hal_btcoex_PowerOnSetting()
5909 EXhalbtcoutsrc_PreLoadFirmware(&GLBtCoexist); in hal_btcoex_PreLoadFirmware()
5917 EXhalbtcoutsrc_init_hw_config(&GLBtCoexist, bWifiOnly); in hal_btcoex_InitHwConfig()
5918 EXhalbtcoutsrc_init_coex_dm(&GLBtCoexist); in hal_btcoex_InitHwConfig()
5923 EXhalbtcoutsrc_ips_notify(&GLBtCoexist, type); in hal_btcoex_IpsNotify()
5928 EXhalbtcoutsrc_lps_notify(&GLBtCoexist, type); in hal_btcoex_LpsNotify()
5933 EXhalbtcoutsrc_scan_notify(&GLBtCoexist, type); in hal_btcoex_ScanNotify()
5956 EXhalbtcoutsrc_connect_notify(&GLBtCoexist, assoType); in hal_btcoex_ConnectNotify()
5961 EXhalbtcoutsrc_media_status_notify(&GLBtCoexist, mediaStatus); in hal_btcoex_MediaStatusNotify()
5966 EXhalbtcoutsrc_specific_packet_notify(&GLBtCoexist, pktType); in hal_btcoex_SpecialPacketNotify()
5976 EXhalbtcoutsrc_WL_RFK_Notify(&GLBtCoexist, path, type, state); in hal_btcoex_WLRFKNotify()
5984 EXhalbtcoutsrc_bt_info_notify(&GLBtCoexist, tmpBuf, length); in hal_btcoex_BtInfoNotify()
6034 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP); in hal_btcoex_SuspendNotify()
6039 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP_KEEP_ANT); in hal_btcoex_SuspendNotify()
6041 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP); in hal_btcoex_SuspendNotify()
6042 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP_KEEP_ANT); in hal_btcoex_SuspendNotify()
6048 rtw_hal_set_wifi_btc_port_id_cmd(GLBtCoexist.Adapter); in hal_btcoex_SuspendNotify()
6050 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_WAKE_UP); in hal_btcoex_SuspendNotify()
6058 EXhalbtcoutsrc_halt_notify(&GLBtCoexist); in hal_btcoex_HaltNotify()
6060 GLBtCoexist.bBinded = _FALSE; in hal_btcoex_HaltNotify()
6061 GLBtCoexist.Adapter = NULL; in hal_btcoex_HaltNotify()
6066 EXhalbtcoutsrc_SwitchBtTRxMask(&GLBtCoexist); in hal_btcoex_SwitchBtTRxMask()
6073 EXhalbtcoutsrc_periodical(&GLBtCoexist); in hal_btcoex_Hanlder()
6075 if (GLBtCoexist.bt_info.bt_get_fw_ver == 0) { in hal_btcoex_Hanlder()
6076 GLBtCoexist.btc_get(&GLBtCoexist, BTC_GET_U4_BT_PATCH_VER, &bt_patch_ver); in hal_btcoex_Hanlder()
6077 GLBtCoexist.bt_info.bt_get_fw_ver = bt_patch_ver; in hal_btcoex_Hanlder()
6083 return (s32)GLBtCoexist.bt_info.reject_agg_pkt; in hal_btcoex_IsBTCoexRejectAMPDU()
6088 return (s32)GLBtCoexist.bt_info.bt_ctrl_agg_buf_size; in hal_btcoex_IsBTCoexCtrlAMPDUSize()
6093 return (u32)GLBtCoexist.bt_info.agg_buf_size; in hal_btcoex_GetAMPDUSize()
6098 GLBtCoexist.manual_control = bmanual; in hal_btcoex_SetManualControl()
6105 GLBtCoexist.coex_sta.force_freerun = _FALSE; in hal_btcoex_set_policy_control()
6106 GLBtCoexist.coex_sta.force_tdd = _FALSE; in hal_btcoex_set_policy_control()
6109 GLBtCoexist.coex_sta.force_freerun = _TRUE; in hal_btcoex_set_policy_control()
6110 GLBtCoexist.coex_sta.force_tdd = _FALSE; in hal_btcoex_set_policy_control()
6113 GLBtCoexist.coex_sta.force_freerun = _FALSE; in hal_btcoex_set_policy_control()
6114 GLBtCoexist.coex_sta.force_tdd = _TRUE; in hal_btcoex_set_policy_control()
6124 if (GLBtCoexist.board_info.btdm_ant_num == 1) in hal_btcoex_1Ant()
6132 if (GLBtCoexist.bdontenterLPS == _TRUE) in hal_btcoex_IsBtControlLps()
6138 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsBtControlLps()
6141 if (GLBtCoexist.bt_info.bt_ctrl_lps) in hal_btcoex_IsBtControlLps()
6149 if (GLBtCoexist.bdontenterLPS == _TRUE) in hal_btcoex_IsLpsOn()
6155 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsLpsOn()
6158 if (GLBtCoexist.bt_info.bt_lps_on) in hal_btcoex_IsLpsOn()
6166 return GLBtCoexist.bt_info.rpwm_val; in hal_btcoex_RpwmVal()
6171 return GLBtCoexist.bt_info.lps_val; in hal_btcoex_LpsVal()
6179 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_GetRaMask()
6188 return GLBtCoexist.bt_info.ra_mask; in hal_btcoex_GetRaMask()
6193 return GLBtCoexist.coex_dm.cur_wl_pwr_lvl; in hal_btcoex_query_reduced_wl_pwr_lvl()
6198 GLBtCoexist.coex_dm.cur_wl_pwr_lvl = val; in hal_btcoex_set_reduced_wl_pwr_lvl()
6203 halbtcoutsrc_reduce_wl_tx_power(&GLBtCoexist, 0); in hal_btcoex_do_reduce_wl_pwr_lvl()
6209 _rtw_memcpy(GLBtCoexist.pwrModeVal, pCmdBuf, cmdLen); in hal_btcoex_RecordPwrMode()
6219 EXhalbtcoutsrc_DisplayBtCoexInfo(&GLBtCoexist); in hal_btcoex_DisplayBtCoexInfo()
6368 if (GLBtCoexist.bt_info.increase_scan_dev_num) in hal_btcoex_IncreaseScanDeviceNum()
6376 if (GLBtCoexist.bt_link_info.bt_link_exist) in hal_btcoex_IsBtLinkExist()
6399 ex_halbtcoutsrc_pta_off_on_notify(&GLBtCoexist, bBTON); in hal_btcoex_pta_off_on_notify()
6417 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in hal_btcoex_SetAntIsolationType()
6571 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btreg_read()
6573 ret = halbtcoutsrc_GetBtReg_with_status(&GLBtCoexist, type, addr, data); in hal_btcoex_btreg_read()
6575 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btreg_read()
6584 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btreg_write()
6586 ret = halbtcoutsrc_SetBtReg(&GLBtCoexist, type, addr, val); in hal_btcoex_btreg_write()
6588 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btreg_write()
6615 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_24G); in hal_btcoex_switchband_notify()
6617 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_24G_NOFORSCAN); in hal_btcoex_switchband_notify()
6620 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_5G); in hal_btcoex_switchband_notify()
6630 EXhalbtcoutsrc_WlFwDbgInfoNotify(&GLBtCoexist, tmpBuf, length); in hal_btcoex_WlFwDbgInfoNotify()
6635 …EXhalbtcoutsrc_rx_rate_change_notify(&GLBtCoexist, is_data_frame, EXhalbtcoutsrc_rate_id_to_btc_ra… in hal_btcoex_rx_rate_change_notify()
6642 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btset_testode()
6644 ret = halbtcoutsrc_setbttestmode(&GLBtCoexist, type); in hal_btcoex_btset_testode()
6646 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btset_testode()