Lines Matching refs:btcoexist
1856 if (rtlpriv->btcoexist.eeprom_bt_coexist != 0 && in _rtl88ee_read_adapter_info()
1857 rtlpriv->btcoexist.eeprom_bt_ant_num == ANT_X1) in _rtl88ee_read_adapter_info()
2022 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl88ee_update_hal_rate_table()
2023 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl88ee_update_hal_rate_table()
2024 (rtlpriv->btcoexist.bt_cur_state) && in rtl88ee_update_hal_rate_table()
2025 (rtlpriv->btcoexist.bt_ant_isolation) && in rtl88ee_update_hal_rate_table()
2026 ((rtlpriv->btcoexist.bt_service == BT_SCO) || in rtl88ee_update_hal_rate_table()
2027 (rtlpriv->btcoexist.bt_service == BT_BUSY))) in rtl88ee_update_hal_rate_table()
2401 rtlpriv->btcoexist.bt_coexistence = in rtl8188ee_bt_var_init()
2402 rtlpriv->btcoexist.eeprom_bt_coexist; in rtl8188ee_bt_var_init()
2403 rtlpriv->btcoexist.bt_ant_num = rtlpriv->btcoexist.eeprom_bt_ant_num; in rtl8188ee_bt_var_init()
2404 rtlpriv->btcoexist.bt_coexist_type = rtlpriv->btcoexist.eeprom_bt_type; in rtl8188ee_bt_var_init()
2406 if (rtlpriv->btcoexist.reg_bt_iso == 2) in rtl8188ee_bt_var_init()
2407 rtlpriv->btcoexist.bt_ant_isolation = in rtl8188ee_bt_var_init()
2408 rtlpriv->btcoexist.eeprom_bt_ant_isol; in rtl8188ee_bt_var_init()
2410 rtlpriv->btcoexist.bt_ant_isolation = in rtl8188ee_bt_var_init()
2411 rtlpriv->btcoexist.reg_bt_iso; in rtl8188ee_bt_var_init()
2413 rtlpriv->btcoexist.bt_radio_shared_type = in rtl8188ee_bt_var_init()
2414 rtlpriv->btcoexist.eeprom_bt_radio_shared; in rtl8188ee_bt_var_init()
2416 if (rtlpriv->btcoexist.bt_coexistence) { in rtl8188ee_bt_var_init()
2417 if (rtlpriv->btcoexist.reg_bt_sco == 1) in rtl8188ee_bt_var_init()
2418 rtlpriv->btcoexist.bt_service = BT_OTHER_ACTION; in rtl8188ee_bt_var_init()
2419 else if (rtlpriv->btcoexist.reg_bt_sco == 2) in rtl8188ee_bt_var_init()
2420 rtlpriv->btcoexist.bt_service = BT_SCO; in rtl8188ee_bt_var_init()
2421 else if (rtlpriv->btcoexist.reg_bt_sco == 4) in rtl8188ee_bt_var_init()
2422 rtlpriv->btcoexist.bt_service = BT_BUSY; in rtl8188ee_bt_var_init()
2423 else if (rtlpriv->btcoexist.reg_bt_sco == 5) in rtl8188ee_bt_var_init()
2424 rtlpriv->btcoexist.bt_service = BT_OTHERBUSY; in rtl8188ee_bt_var_init()
2426 rtlpriv->btcoexist.bt_service = BT_IDLE; in rtl8188ee_bt_var_init()
2428 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl8188ee_bt_var_init()
2429 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl8188ee_bt_var_init()
2430 rtlpriv->btcoexist.bt_rssi_state = 0xff; in rtl8188ee_bt_var_init()
2441 rtlpriv->btcoexist.eeprom_bt_coexist = in rtl8188ee_read_bt_coexist_info_from_hwpg()
2444 rtlpriv->btcoexist.eeprom_bt_coexist = 0; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2446 rtlpriv->btcoexist.eeprom_bt_type = ((value & 0xe) >> 1); in rtl8188ee_read_bt_coexist_info_from_hwpg()
2447 rtlpriv->btcoexist.eeprom_bt_ant_num = (value & 0x1); in rtl8188ee_read_bt_coexist_info_from_hwpg()
2448 rtlpriv->btcoexist.eeprom_bt_ant_isol = ((value & 0x10) >> 4); in rtl8188ee_read_bt_coexist_info_from_hwpg()
2449 rtlpriv->btcoexist.eeprom_bt_radio_shared = in rtl8188ee_read_bt_coexist_info_from_hwpg()
2452 rtlpriv->btcoexist.eeprom_bt_coexist = 0; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2453 rtlpriv->btcoexist.eeprom_bt_type = BT_2WIRE; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2454 rtlpriv->btcoexist.eeprom_bt_ant_num = ANT_X2; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2455 rtlpriv->btcoexist.eeprom_bt_ant_isol = 0; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2456 rtlpriv->btcoexist.eeprom_bt_radio_shared = BT_RADIO_SHARED; in rtl8188ee_read_bt_coexist_info_from_hwpg()
2467 rtlpriv->btcoexist.reg_bt_iso = 2; in rtl8188ee_bt_reg_init()
2469 rtlpriv->btcoexist.reg_bt_sco = 0; in rtl8188ee_bt_reg_init()
2478 if (rtlpriv->btcoexist.bt_coexistence && in rtl8188ee_bt_hw_init()
2479 ((rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) || in rtl8188ee_bt_hw_init()
2480 rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC8)) { in rtl8188ee_bt_hw_init()
2481 if (rtlpriv->btcoexist.bt_ant_isolation) in rtl8188ee_bt_hw_init()
2486 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl8188ee_bt_hw_init()
2488 ((rtlpriv->btcoexist.bt_service == BT_SCO) ? in rtl8188ee_bt_hw_init()