Lines Matching refs:btcoex

102 static void ath_mci_adjust_aggr_limit(struct ath_btcoex *btcoex)
104 struct ath_mci_profile *mci = &btcoex->mci;
105 u32 wlan_airtime = btcoex->btcoex_period *
106 (100 - btcoex->duty_cycle) / 100;
122 struct ath_btcoex *btcoex = &sc->btcoex;
123 struct ath_mci_profile *mci = &btcoex->mci;
132 btcoex->duty_cycle = ath_mci_duty_cycle[num_profile];
133 btcoex->btcoex_period = ATH_MCI_DEF_BT_PERIOD;
135 btcoex->bt_stomp_type = ATH_BTCOEX_STOMP_LOW;
137 btcoex->bt_stomp_type = mci->num_mgmt ? ATH_BTCOEX_STOMP_ALL :
149 btcoex->duty_cycle = 30;
160 btcoex->duty_cycle = AR_SREV_9565(sc->sc_ah) ? 40 : 35;
161 btcoex->btcoex_period = 53;
164 btcoex->duty_cycle, btcoex->btcoex_period);
166 btcoex->duty_cycle = 30;
174 btcoex->duty_cycle = 30;
178 btcoex->duty_cycle);
188 ath_mci_adjust_aggr_limit(btcoex);
190 btcoex->btcoex_period >>= 1;
199 btcoex->duty_cycle += (mci->num_bdr ? ATH_MCI_BDR_DUTY_CYCLE : 0);
200 if (btcoex->duty_cycle > ATH_MCI_MAX_DUTY_CYCLE)
201 btcoex->duty_cycle = ATH_MCI_MAX_DUTY_CYCLE;
203 btcoex->btcoex_no_stomp = btcoex->btcoex_period *
204 (100 - btcoex->duty_cycle) / 100;
258 struct ath_btcoex *btcoex = &sc->btcoex;
259 struct ath_mci_profile *mci = &btcoex->mci;
299 struct ath_btcoex *btcoex = &sc->btcoex;
300 struct ath_mci_profile *mci = &btcoex->mci;
333 struct ath_btcoex *btcoex = &sc->btcoex;
334 struct ath_mci_profile *mci = &btcoex->mci;
379 ath_mci_flush_profile(&sc->btcoex.mci);
728 struct ath_btcoex *btcoex = &sc->btcoex;
729 struct ath_mci_profile *mci = &btcoex->mci;
735 btcoex->stomp_audio = 0;
739 btcoex->stomp_audio++;
744 struct ath_btcoex *btcoex = &sc->btcoex;
753 if (btcoex->rssi_count < 0)
754 btcoex->rssi_count = 0;
755 if (++btcoex->rssi_count >= ATH_MCI_CONCUR_TX_SWITCH) {
756 btcoex->rssi_count = 0;
760 if (btcoex->rssi_count > 0)
761 btcoex->rssi_count = 0;
762 if (--btcoex->rssi_count <= -ATH_MCI_CONCUR_TX_SWITCH) {
763 btcoex->rssi_count = 0;