Merge pull request #576 from andrzej-kaczmarek/tifs-rework

[MYNEWT-783] nimble/phy: Fix T_IFS on coded phy

X-Original-Commit: f3f148ffba65f31a37896df64624a16529984a3d
This commit is contained in:
Andrzej Kaczmarek
2017-09-27 13:48:03 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
@@ -134,7 +134,7 @@ void ble_phy_disable(void);
#define BLE_PHY_WFR_ENABLE_TXRX (1)
void ble_phy_stop_usec_timer(void);
void ble_phy_wfr_enable(int txrx, uint32_t wfr_usecs);
void ble_phy_wfr_enable(int txrx, uint8_t tx_phy_mode, uint32_t wfr_usecs);
/* Starts rf clock */
void ble_phy_rfclk_enable(void);
+1 -1
View File
@@ -1533,7 +1533,7 @@ ble_ll_conn_event_start_cb(struct ble_ll_sched_item *sch)
*/
usecs = connsm->slave_cur_tx_win_usecs + 61 +
(2 * connsm->slave_cur_window_widening);
ble_phy_wfr_enable(BLE_PHY_WFR_ENABLE_RX, usecs);
ble_phy_wfr_enable(BLE_PHY_WFR_ENABLE_RX, 0, usecs);
/* Set next wakeup time to connection event end time */
rc = BLE_LL_SCHED_STATE_RUNNING;
}
+1 -1
View File
@@ -200,7 +200,7 @@ ble_ll_aux_scan_cb(struct ble_ll_sched_item *sch)
}
STATS_INC(ble_ll_stats, aux_fired_for_read);
ble_phy_wfr_enable(BLE_PHY_WFR_ENABLE_RX, BLE_LL_SCHED_ADV_MAX_USECS);
ble_phy_wfr_enable(BLE_PHY_WFR_ENABLE_RX, 0, BLE_LL_SCHED_ADV_MAX_USECS);
done: