Lines Matching refs:GLBtCoexist
138 struct btc_coexist GLBtCoexist; variable
3171 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_BindBtCoexWithAdapter()
3215 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_AntInfoSetting()
3246 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_InitlizeVariables()
5123 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_StackUpdateProfileInfo()
5175 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_UpdateMinBtRssi()
5185 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_SetHciVersion()
5195 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in EXhalbtcoutsrc_SetBtPatchVersion()
5207 GLBtCoexist.boardInfo.bBtExist = bBtExist;
5218 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_UNDEF; in EXhalbtcoutsrc_SetChipType()
5221 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_CSR_BC4; in EXhalbtcoutsrc_SetChipType()
5224 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_CSR_BC8; in EXhalbtcoutsrc_SetChipType()
5227 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8723A; in EXhalbtcoutsrc_SetChipType()
5230 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8821; in EXhalbtcoutsrc_SetChipType()
5233 GLBtCoexist.board_info.bt_chip_type = BTC_CHIP_RTL8723B; in EXhalbtcoutsrc_SetChipType()
5241 GLBtCoexist.board_info.pg_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5242 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5247 if ((GLBtCoexist.board_info.pg_ant_num == 2) && (GLBtCoexist.board_info.btdm_ant_num == 1)) in EXhalbtcoutsrc_SetAntNum()
5248 GLBtCoexist.board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in EXhalbtcoutsrc_SetAntNum()
5250 GLBtCoexist.board_info.btdm_ant_pos = BTC_ANTENNA_AT_MAIN_PORT; in EXhalbtcoutsrc_SetAntNum()
5253 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5256 GLBtCoexist.board_info.btdm_ant_num = antNum; in EXhalbtcoutsrc_SetAntNum()
5266 GLBtCoexist.board_info.single_ant_path = singleAntPath; in EXhalbtcoutsrc_SetSingleAntPath()
5408 GLBtCoexist.board_info.rfe_type= type; in EXhalbtcoutsrc_set_rfe_type()
5414 GLBtCoexist.rf4ce_info.link_state = state; in EXhalbtcoutsrc_set_rf4ce_link_state()
5419 return GLBtCoexist.rf4ce_info.link_state; in EXhalbtcoutsrc_get_rf4ce_link_state()
5774 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsBtDisabled()
5802 _rtw_memset(&GLBtCoexist, 0, sizeof(GLBtCoexist)); in hal_btcoex_Initialize()
5811 EXhalbtcoutsrc_PowerOnSetting(&GLBtCoexist); in hal_btcoex_PowerOnSetting()
5834 EXhalbtcoutsrc_PreLoadFirmware(&GLBtCoexist); in hal_btcoex_PreLoadFirmware()
5842 EXhalbtcoutsrc_init_hw_config(&GLBtCoexist, bWifiOnly); in hal_btcoex_InitHwConfig()
5843 EXhalbtcoutsrc_init_coex_dm(&GLBtCoexist); in hal_btcoex_InitHwConfig()
5848 EXhalbtcoutsrc_ips_notify(&GLBtCoexist, type); in hal_btcoex_IpsNotify()
5853 EXhalbtcoutsrc_lps_notify(&GLBtCoexist, type); in hal_btcoex_LpsNotify()
5858 EXhalbtcoutsrc_scan_notify(&GLBtCoexist, type); in hal_btcoex_ScanNotify()
5881 EXhalbtcoutsrc_connect_notify(&GLBtCoexist, assoType); in hal_btcoex_ConnectNotify()
5886 EXhalbtcoutsrc_media_status_notify(&GLBtCoexist, mediaStatus); in hal_btcoex_MediaStatusNotify()
5891 EXhalbtcoutsrc_specific_packet_notify(&GLBtCoexist, pktType); in hal_btcoex_SpecialPacketNotify()
5904 EXhalbtcoutsrc_bt_info_notify(&GLBtCoexist, tmpBuf, length); in hal_btcoex_BtInfoNotify()
5954 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP); in hal_btcoex_SuspendNotify()
5959 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP_KEEP_ANT); in hal_btcoex_SuspendNotify()
5961 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP); in hal_btcoex_SuspendNotify()
5962 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_SLEEP_KEEP_ANT); in hal_btcoex_SuspendNotify()
5968 rtw_hal_set_wifi_btc_port_id_cmd(GLBtCoexist.Adapter); in hal_btcoex_SuspendNotify()
5970 EXhalbtcoutsrc_pnp_notify(&GLBtCoexist, BTC_WIFI_PNP_WAKE_UP); in hal_btcoex_SuspendNotify()
5978 EXhalbtcoutsrc_halt_notify(&GLBtCoexist); in hal_btcoex_HaltNotify()
5980 GLBtCoexist.bBinded = _FALSE; in hal_btcoex_HaltNotify()
5981 GLBtCoexist.Adapter = NULL; in hal_btcoex_HaltNotify()
5986 EXhalbtcoutsrc_SwitchBtTRxMask(&GLBtCoexist); in hal_btcoex_SwitchBtTRxMask()
5993 EXhalbtcoutsrc_periodical(&GLBtCoexist); in hal_btcoex_Hanlder()
5995 if (GLBtCoexist.bt_info.bt_get_fw_ver == 0) { in hal_btcoex_Hanlder()
5996 GLBtCoexist.btc_get(&GLBtCoexist, BTC_GET_U4_BT_PATCH_VER, &bt_patch_ver); in hal_btcoex_Hanlder()
5997 GLBtCoexist.bt_info.bt_get_fw_ver = bt_patch_ver; in hal_btcoex_Hanlder()
6003 return (s32)GLBtCoexist.bt_info.reject_agg_pkt; in hal_btcoex_IsBTCoexRejectAMPDU()
6008 return (s32)GLBtCoexist.bt_info.bt_ctrl_agg_buf_size; in hal_btcoex_IsBTCoexCtrlAMPDUSize()
6013 return (u32)GLBtCoexist.bt_info.agg_buf_size; in hal_btcoex_GetAMPDUSize()
6018 GLBtCoexist.manual_control = bmanual; in hal_btcoex_SetManualControl()
6025 GLBtCoexist.coex_sta.force_freerun = _FALSE; in hal_btcoex_set_policy_control()
6026 GLBtCoexist.coex_sta.force_tdd = _FALSE; in hal_btcoex_set_policy_control()
6029 GLBtCoexist.coex_sta.force_freerun = _TRUE; in hal_btcoex_set_policy_control()
6030 GLBtCoexist.coex_sta.force_tdd = _FALSE; in hal_btcoex_set_policy_control()
6033 GLBtCoexist.coex_sta.force_freerun = _FALSE; in hal_btcoex_set_policy_control()
6034 GLBtCoexist.coex_sta.force_tdd = _TRUE; in hal_btcoex_set_policy_control()
6044 if (GLBtCoexist.board_info.btdm_ant_num == 1) in hal_btcoex_1Ant()
6052 if (GLBtCoexist.bdontenterLPS == _TRUE) in hal_btcoex_IsBtControlLps()
6058 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsBtControlLps()
6061 if (GLBtCoexist.bt_info.bt_ctrl_lps) in hal_btcoex_IsBtControlLps()
6069 if (GLBtCoexist.bdontenterLPS == _TRUE) in hal_btcoex_IsLpsOn()
6075 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_IsLpsOn()
6078 if (GLBtCoexist.bt_info.bt_lps_on) in hal_btcoex_IsLpsOn()
6086 return GLBtCoexist.bt_info.rpwm_val; in hal_btcoex_RpwmVal()
6091 return GLBtCoexist.bt_info.lps_val; in hal_btcoex_LpsVal()
6099 if (GLBtCoexist.bt_info.bt_disabled) in hal_btcoex_GetRaMask()
6108 return GLBtCoexist.bt_info.ra_mask; in hal_btcoex_GetRaMask()
6113 return GLBtCoexist.coex_dm.cur_wl_pwr_lvl; in hal_btcoex_query_reduced_wl_pwr_lvl()
6118 GLBtCoexist.coex_dm.cur_wl_pwr_lvl = val; in hal_btcoex_set_reduced_wl_pwr_lvl()
6123 halbtcoutsrc_reduce_wl_tx_power(&GLBtCoexist, 0); in hal_btcoex_do_reduce_wl_pwr_lvl()
6129 _rtw_memcpy(GLBtCoexist.pwrModeVal, pCmdBuf, cmdLen); in hal_btcoex_RecordPwrMode()
6139 EXhalbtcoutsrc_DisplayBtCoexInfo(&GLBtCoexist); in hal_btcoex_DisplayBtCoexInfo()
6288 if (GLBtCoexist.bt_info.increase_scan_dev_num) in hal_btcoex_IncreaseScanDeviceNum()
6296 if (GLBtCoexist.bt_link_info.bt_link_exist) in hal_btcoex_IsBtLinkExist()
6319 ex_halbtcoutsrc_pta_off_on_notify(&GLBtCoexist, bBTON); in hal_btcoex_pta_off_on_notify()
6337 PBTC_COEXIST pBtCoexist = &GLBtCoexist; in hal_btcoex_SetAntIsolationType()
6491 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btreg_read()
6493 ret = halbtcoutsrc_GetBtReg_with_status(&GLBtCoexist, type, addr, data); in hal_btcoex_btreg_read()
6495 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btreg_read()
6504 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btreg_write()
6506 ret = halbtcoutsrc_SetBtReg(&GLBtCoexist, type, addr, val); in hal_btcoex_btreg_write()
6508 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btreg_write()
6535 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_24G); in hal_btcoex_switchband_notify()
6537 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_24G_NOFORSCAN); in hal_btcoex_switchband_notify()
6540 EXhalbtcoutsrc_switchband_notify(&GLBtCoexist, BTC_SWITCH_TO_5G); in hal_btcoex_switchband_notify()
6550 EXhalbtcoutsrc_WlFwDbgInfoNotify(&GLBtCoexist, tmpBuf, length); in hal_btcoex_WlFwDbgInfoNotify()
6555 …EXhalbtcoutsrc_rx_rate_change_notify(&GLBtCoexist, is_data_frame, EXhalbtcoutsrc_rate_id_to_btc_ra… in hal_btcoex_rx_rate_change_notify()
6562 halbtcoutsrc_LeaveLowPower(&GLBtCoexist); in hal_btcoex_btset_testode()
6564 ret = halbtcoutsrc_setbttestmode(&GLBtCoexist, type); in hal_btcoex_btset_testode()
6566 halbtcoutsrc_NormalLowPower(&GLBtCoexist); in hal_btcoex_btset_testode()