Lines Matching refs:rtlpcipriv

644 	struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw);  in rtl92c_dm_check_edca_turbo()  local
657 if ((last_bt_edca_ul != rtlpcipriv->bt_coexist.bt_edca_ul) || in rtl92c_dm_check_edca_turbo()
658 (last_bt_edca_dl != rtlpcipriv->bt_coexist.bt_edca_dl)) { in rtl92c_dm_check_edca_turbo()
660 last_bt_edca_ul = rtlpcipriv->bt_coexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
661 last_bt_edca_dl = rtlpcipriv->bt_coexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
664 if (rtlpcipriv->bt_coexist.bt_edca_ul != 0) { in rtl92c_dm_check_edca_turbo()
665 edca_be_ul = rtlpcipriv->bt_coexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo()
669 if (rtlpcipriv->bt_coexist.bt_edca_dl != 0) { in rtl92c_dm_check_edca_turbo()
670 edca_be_ul = rtlpcipriv->bt_coexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo()
679 if ((!mac->ht_enable) && (!rtlpcipriv->bt_coexist.bt_coexistence)) { in rtl92c_dm_check_edca_turbo()
1478 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_bt_rssi_state_change() local
1517 if (curr_bt_rssi_state != rtlpcipriv->bt_coexist.bt_rssi_state) { in rtl92c_bt_rssi_state_change()
1518 rtlpcipriv->bt_coexist.bt_rssi_state = curr_bt_rssi_state; in rtl92c_bt_rssi_state_change()
1529 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_bt_state_change() local
1551 if (bt_state != rtlpcipriv->bt_coexist.bt_cur_state) { in rtl92c_bt_state_change()
1552 rtlpcipriv->bt_coexist.bt_cur_state = bt_state; in rtl92c_bt_state_change()
1554 if (rtlpcipriv->bt_coexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1555 rtlpcipriv->bt_coexist.bt_service = BT_IDLE; in rtl92c_bt_state_change()
1558 ((rtlpcipriv->bt_coexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1568 rtlpcipriv->bt_coexist.ratio_tx = ratio_tx; in rtl92c_bt_state_change()
1569 rtlpcipriv->bt_coexist.ratio_pri = ratio_pri; in rtl92c_bt_state_change()
1571 if (bt_state && rtlpcipriv->bt_coexist.reg_bt_sco == 3) { in rtl92c_bt_state_change()
1586 if (cur_service_type != rtlpcipriv->bt_coexist.bt_service) { in rtl92c_bt_state_change()
1587 rtlpcipriv->bt_coexist.bt_service = cur_service_type; in rtl92c_bt_state_change()
1589 ((rtlpcipriv->bt_coexist.bt_ant_isolation == 1) ? in rtl92c_bt_state_change()
1591 ((rtlpcipriv->bt_coexist.bt_service != BT_IDLE) ? in rtl92c_bt_state_change()
1596 if (rtlpcipriv->bt_coexist.bt_service != BT_IDLE) { in rtl92c_bt_state_change()
1635 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_bt_set_normal() local
1638 if (rtlpcipriv->bt_coexist.bt_service == BT_OTHERBUSY) { in rtl92c_bt_set_normal()
1639 rtlpcipriv->bt_coexist.bt_edca_ul = 0x5ea72b; in rtl92c_bt_set_normal()
1640 rtlpcipriv->bt_coexist.bt_edca_dl = 0x5ea72b; in rtl92c_bt_set_normal()
1641 } else if (rtlpcipriv->bt_coexist.bt_service == BT_BUSY) { in rtl92c_bt_set_normal()
1642 rtlpcipriv->bt_coexist.bt_edca_ul = 0x5eb82f; in rtl92c_bt_set_normal()
1643 rtlpcipriv->bt_coexist.bt_edca_dl = 0x5eb82f; in rtl92c_bt_set_normal()
1644 } else if (rtlpcipriv->bt_coexist.bt_service == BT_SCO) { in rtl92c_bt_set_normal()
1645 if (rtlpcipriv->bt_coexist.ratio_tx > 160) { in rtl92c_bt_set_normal()
1646 rtlpcipriv->bt_coexist.bt_edca_ul = 0x5ea72f; in rtl92c_bt_set_normal()
1647 rtlpcipriv->bt_coexist.bt_edca_dl = 0x5ea72f; in rtl92c_bt_set_normal()
1649 rtlpcipriv->bt_coexist.bt_edca_ul = 0x5ea32b; in rtl92c_bt_set_normal()
1650 rtlpcipriv->bt_coexist.bt_edca_dl = 0x5ea42b; in rtl92c_bt_set_normal()
1653 rtlpcipriv->bt_coexist.bt_edca_ul = 0; in rtl92c_bt_set_normal()
1654 rtlpcipriv->bt_coexist.bt_edca_dl = 0; in rtl92c_bt_set_normal()
1657 if ((rtlpcipriv->bt_coexist.bt_service != BT_IDLE) && in rtl92c_bt_set_normal()
1660 (rtlpcipriv->bt_coexist.bt_rssi_state & in rtl92c_bt_set_normal()
1662 rtlpcipriv->bt_coexist.bt_edca_ul = 0x5eb82b; in rtl92c_bt_set_normal()
1663 rtlpcipriv->bt_coexist.bt_edca_dl = 0x5eb82b; in rtl92c_bt_set_normal()
1670 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_bt_ant_isolation() local
1675 rtlpcipriv->bt_coexist.bt_service == BT_OTHER_ACTION) { in rtl92c_bt_ant_isolation()
1678 if ((rtlpcipriv->bt_coexist.bt_service == BT_BUSY) && in rtl92c_bt_ant_isolation()
1679 (rtlpcipriv->bt_coexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1682 } else if ((rtlpcipriv->bt_coexist.bt_service == in rtl92c_bt_ant_isolation()
1685 (rtlpcipriv->bt_coexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1688 } else if (rtlpcipriv->bt_coexist.bt_service == BT_PAN) { in rtl92c_bt_ant_isolation()
1695 if (rtlpcipriv->bt_coexist.bt_service == BT_PAN) in rtl92c_bt_ant_isolation()
1700 if (rtlpcipriv->bt_coexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1704 rtlpcipriv->bt_coexist.bt_edca_ul = 0; in rtl92c_bt_ant_isolation()
1705 rtlpcipriv->bt_coexist.bt_edca_dl = 0; in rtl92c_bt_ant_isolation()
1708 if (rtlpcipriv->bt_coexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1716 rtlpcipriv->bt_coexist.bt_rfreg_origin_1e); in rtl92c_bt_ant_isolation()
1720 if (rtlpcipriv->bt_coexist.bt_service != BT_IDLE) { in rtl92c_bt_ant_isolation()
1721 if (rtlpcipriv->bt_coexist.bt_rssi_state & in rtl92c_bt_ant_isolation()
1741 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_check_bt_change() local
1746 rtlpcipriv->bt_coexist.bt_coexistence) in rtl92c_check_bt_change()
1748 if (rtlpcipriv->bt_coexist.bt_cur_state) { in rtl92c_check_bt_change()
1749 if (rtlpcipriv->bt_coexist.bt_ant_isolation) in rtl92c_check_bt_change()
1754 rtlpcipriv->bt_coexist.bt_rfreg_origin_1e); in rtl92c_check_bt_change()
1756 rtlpcipriv->bt_coexist.bt_edca_ul = 0; in rtl92c_check_bt_change()
1757 rtlpcipriv->bt_coexist.bt_edca_dl = 0; in rtl92c_check_bt_change()
1763 struct rtl_pci_priv *rtlpcipriv = rtl_pcipriv(hw); in rtl92c_dm_bt_coexist() local
1769 if ((rtlpcipriv->bt_coexist.bt_coexistence) && in rtl92c_dm_bt_coexist()
1770 (rtlpcipriv->bt_coexist.bt_coexist_type == BT_CSR_BC4)) { in rtl92c_dm_bt_coexist()