Lines Matching refs:btcoexist

630 	if ((last_bt_edca_ul != rtlpriv->btcoexist.bt_edca_ul) ||  in rtl92c_dm_check_edca_turbo()
631 (last_bt_edca_dl != rtlpriv->btcoexist.bt_edca_dl)) { in rtl92c_dm_check_edca_turbo()
633 last_bt_edca_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
634 last_bt_edca_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
637 if (rtlpriv->btcoexist.bt_edca_ul != 0) { in rtl92c_dm_check_edca_turbo()
638 edca_be_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
642 if (rtlpriv->btcoexist.bt_edca_dl != 0) { in rtl92c_dm_check_edca_turbo()
643 edca_be_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
652 if ((!mac->ht_enable) && (!rtlpriv->btcoexist.bt_coexistence)) { in rtl92c_dm_check_edca_turbo()
1488 if (curr_bt_rssi_state != rtlpriv->btcoexist.bt_rssi_state) { in rtl92c_bt_rssi_state_change()
1489 rtlpriv->btcoexist.bt_rssi_state = curr_bt_rssi_state; in rtl92c_bt_rssi_state_change()
1519 if (bt_state != rtlpriv->btcoexist.bt_cur_state) { in rtl92c_bt_state_change()
1520 rtlpriv->btcoexist.bt_cur_state = bt_state; in rtl92c_bt_state_change()
1522 if (rtlpriv->btcoexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1523 rtlpriv->btcoexist.bt_service = BT_IDLE; in rtl92c_bt_state_change()
1526 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1535 rtlpriv->btcoexist.ratio_tx = ratio_tx; in rtl92c_bt_state_change()
1536 rtlpriv->btcoexist.ratio_pri = ratio_pri; in rtl92c_bt_state_change()
1538 if (bt_state && rtlpriv->btcoexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1553 if (cur_service_type != rtlpriv->btcoexist.bt_service) { in rtl92c_bt_state_change()
1554 rtlpriv->btcoexist.bt_service = cur_service_type; in rtl92c_bt_state_change()
1556 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1558 ((rtlpriv->btcoexist.bt_service != BT_IDLE) ? in rtl92c_bt_state_change()
1563 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_state_change()
1603 if (rtlpriv->btcoexist.bt_service == BT_OTHERBUSY) { in rtl92c_bt_set_normal()
1604 rtlpriv->btcoexist.bt_edca_ul = 0x5ea72b; in rtl92c_bt_set_normal()
1605 rtlpriv->btcoexist.bt_edca_dl = 0x5ea72b; in rtl92c_bt_set_normal()
1606 } else if (rtlpriv->btcoexist.bt_service == BT_BUSY) { in rtl92c_bt_set_normal()
1607 rtlpriv->btcoexist.bt_edca_ul = 0x5eb82f; in rtl92c_bt_set_normal()
1608 rtlpriv->btcoexist.bt_edca_dl = 0x5eb82f; in rtl92c_bt_set_normal()
1609 } else if (rtlpriv->btcoexist.bt_service == BT_SCO) { in rtl92c_bt_set_normal()
1610 if (rtlpriv->btcoexist.ratio_tx > 160) { in rtl92c_bt_set_normal()
1611 rtlpriv->btcoexist.bt_edca_ul = 0x5ea72f; in rtl92c_bt_set_normal()
1612 rtlpriv->btcoexist.bt_edca_dl = 0x5ea72f; in rtl92c_bt_set_normal()
1614 rtlpriv->btcoexist.bt_edca_ul = 0x5ea32b; in rtl92c_bt_set_normal()
1615 rtlpriv->btcoexist.bt_edca_dl = 0x5ea42b; in rtl92c_bt_set_normal()
1618 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_bt_set_normal()
1619 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_bt_set_normal()
1622 if ((rtlpriv->btcoexist.bt_service != BT_IDLE) && in rtl92c_bt_set_normal()
1625 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_set_normal()
1627 rtlpriv->btcoexist.bt_edca_ul = 0x5eb82b; in rtl92c_bt_set_normal()
1628 rtlpriv->btcoexist.bt_edca_dl = 0x5eb82b; in rtl92c_bt_set_normal()
1638 rtlpriv->btcoexist.bt_service == BT_OTHER_ACTION) { in rtl92c_bt_ant_isolation()
1641 if ((rtlpriv->btcoexist.bt_service == BT_BUSY) && in rtl92c_bt_ant_isolation()
1642 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1645 } else if ((rtlpriv->btcoexist.bt_service == in rtl92c_bt_ant_isolation()
1648 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1656 if (rtlpriv->btcoexist.bt_service == BT_PAN) in rtl92c_bt_ant_isolation()
1661 if (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1665 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_bt_ant_isolation()
1666 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_bt_ant_isolation()
1669 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1677 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl92c_bt_ant_isolation()
1681 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1682 if (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1706 rtlpriv->btcoexist.bt_coexistence) in rtl92c_check_bt_change()
1708 if (rtlpriv->btcoexist.bt_cur_state) { in rtl92c_check_bt_change()
1709 if (rtlpriv->btcoexist.bt_ant_isolation) in rtl92c_check_bt_change()
1714 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl92c_check_bt_change()
1716 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_check_bt_change()
1717 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_check_bt_change()
1728 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92c_dm_bt_coexist()
1729 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in rtl92c_dm_bt_coexist()