Lines Matching refs:btcoexist

653 	if ((last_bt_edca_ul != rtlpriv->btcoexist.bt_edca_ul) ||  in rtl92c_dm_check_edca_turbo()
654 (last_bt_edca_dl != rtlpriv->btcoexist.bt_edca_dl)) { in rtl92c_dm_check_edca_turbo()
656 last_bt_edca_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
657 last_bt_edca_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
660 if (rtlpriv->btcoexist.bt_edca_ul != 0) { in rtl92c_dm_check_edca_turbo()
661 edca_be_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
665 if (rtlpriv->btcoexist.bt_edca_dl != 0) { in rtl92c_dm_check_edca_turbo()
666 edca_be_ul = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
675 if ((!mac->ht_enable) && (!rtlpriv->btcoexist.bt_coexistence)) { in rtl92c_dm_check_edca_turbo()
1511 if (curr_bt_rssi_state != rtlpriv->btcoexist.bt_rssi_state) { in rtl92c_bt_rssi_state_change()
1512 rtlpriv->btcoexist.bt_rssi_state = curr_bt_rssi_state; in rtl92c_bt_rssi_state_change()
1542 if (bt_state != rtlpriv->btcoexist.bt_cur_state) { in rtl92c_bt_state_change()
1543 rtlpriv->btcoexist.bt_cur_state = bt_state; in rtl92c_bt_state_change()
1545 if (rtlpriv->btcoexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1546 rtlpriv->btcoexist.bt_service = BT_IDLE; in rtl92c_bt_state_change()
1549 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1559 rtlpriv->btcoexist.ratio_tx = ratio_tx; in rtl92c_bt_state_change()
1560 rtlpriv->btcoexist.ratio_pri = ratio_pri; in rtl92c_bt_state_change()
1562 if (bt_state && rtlpriv->btcoexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1577 if (cur_service_type != rtlpriv->btcoexist.bt_service) { in rtl92c_bt_state_change()
1578 rtlpriv->btcoexist.bt_service = cur_service_type; in rtl92c_bt_state_change()
1580 ((rtlpriv->btcoexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1582 ((rtlpriv->btcoexist.bt_service != BT_IDLE) ? in rtl92c_bt_state_change()
1587 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_state_change()
1627 if (rtlpriv->btcoexist.bt_service == BT_OTHERBUSY) { in rtl92c_bt_set_normal()
1628 rtlpriv->btcoexist.bt_edca_ul = 0x5ea72b; in rtl92c_bt_set_normal()
1629 rtlpriv->btcoexist.bt_edca_dl = 0x5ea72b; in rtl92c_bt_set_normal()
1630 } else if (rtlpriv->btcoexist.bt_service == BT_BUSY) { in rtl92c_bt_set_normal()
1631 rtlpriv->btcoexist.bt_edca_ul = 0x5eb82f; in rtl92c_bt_set_normal()
1632 rtlpriv->btcoexist.bt_edca_dl = 0x5eb82f; in rtl92c_bt_set_normal()
1633 } else if (rtlpriv->btcoexist.bt_service == BT_SCO) { in rtl92c_bt_set_normal()
1634 if (rtlpriv->btcoexist.ratio_tx > 160) { in rtl92c_bt_set_normal()
1635 rtlpriv->btcoexist.bt_edca_ul = 0x5ea72f; in rtl92c_bt_set_normal()
1636 rtlpriv->btcoexist.bt_edca_dl = 0x5ea72f; in rtl92c_bt_set_normal()
1638 rtlpriv->btcoexist.bt_edca_ul = 0x5ea32b; in rtl92c_bt_set_normal()
1639 rtlpriv->btcoexist.bt_edca_dl = 0x5ea42b; in rtl92c_bt_set_normal()
1642 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_bt_set_normal()
1643 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_bt_set_normal()
1646 if ((rtlpriv->btcoexist.bt_service != BT_IDLE) && in rtl92c_bt_set_normal()
1649 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_set_normal()
1651 rtlpriv->btcoexist.bt_edca_ul = 0x5eb82b; in rtl92c_bt_set_normal()
1652 rtlpriv->btcoexist.bt_edca_dl = 0x5eb82b; in rtl92c_bt_set_normal()
1663 rtlpriv->btcoexist.bt_service == BT_OTHER_ACTION) { in rtl92c_bt_ant_isolation()
1666 if ((rtlpriv->btcoexist.bt_service == BT_BUSY) && in rtl92c_bt_ant_isolation()
1667 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1670 } else if ((rtlpriv->btcoexist.bt_service == in rtl92c_bt_ant_isolation()
1673 (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1676 } else if (rtlpriv->btcoexist.bt_service == BT_PAN) { in rtl92c_bt_ant_isolation()
1683 if (rtlpriv->btcoexist.bt_service == BT_PAN) in rtl92c_bt_ant_isolation()
1688 if (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1692 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_bt_ant_isolation()
1693 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_bt_ant_isolation()
1696 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1704 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl92c_bt_ant_isolation()
1708 if (rtlpriv->btcoexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1709 if (rtlpriv->btcoexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1733 rtlpriv->btcoexist.bt_coexistence) in rtl92c_check_bt_change()
1735 if (rtlpriv->btcoexist.bt_cur_state) { in rtl92c_check_bt_change()
1736 if (rtlpriv->btcoexist.bt_ant_isolation) in rtl92c_check_bt_change()
1741 rtlpriv->btcoexist.bt_rfreg_origin_1e); in rtl92c_check_bt_change()
1743 rtlpriv->btcoexist.bt_edca_ul = 0; in rtl92c_check_bt_change()
1744 rtlpriv->btcoexist.bt_edca_dl = 0; in rtl92c_check_bt_change()
1755 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92c_dm_bt_coexist()
1756 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in rtl92c_dm_bt_coexist()