Lines Matching full:phy
223 * Checks to see if we should start a PHY update procedure
225 * If current phy is not one of the preferred we need to start control
228 * XXX: we could also decide to change the PHY if RSSI is really good
233 * @return 0: success; -1: no phy update procedure started
359 * -> Disable the PHY, which will prevent any transmit/receive interrupts.
366 * the PHY and remove the schedule item before we can set the state to
372 /* Disable the PHY */ in ble_ll_conn_current_sm_over()
1018 /* Check if we need to send PHY update complete event */ in ble_ll_conn_chk_csm_flags()
1152 * length we can send over current PHY. Effectively, this determines in ble_ll_conn_tx_data_pdu()
1208 /* XXX: TODO: need to check this with phy update procedure. There are in ble_ll_conn_tx_data_pdu()
1545 * phy function in ble_ll_conn_event_start_cb()
1616 /* XXX: TODO: need to check this with phy update procedure. There are in ble_ll_conn_can_send_next_pdu()
1807 ble_ll_conn_init_phy(struct ble_ll_conn_sm *connsm, int phy) in ble_ll_conn_init_phy() argument
1811 /* Always initialize symmetric PHY - controller can change this later */ in ble_ll_conn_init_phy()
1812 ble_ll_conn_set_phy(connsm, phy, phy); in ble_ll_conn_init_phy()
1814 /* Update data length management to match initial PHY */ in ble_ll_conn_init_phy()
1818 if (phy == BLE_PHY_CODED) { in ble_ll_conn_init_phy()
1862 struct hci_ext_conn_params *hcc_params, int phy) in ble_ll_conn_ext_set_params() argument
1888 ble_ll_conn_init_phy(connsm, phy); in ble_ll_conn_ext_set_params()
1944 /* XXX: TODO set these based on PHY that started connection */ in ble_ll_conn_sm_new()
2335 /* Set cur phy to new phy */ in ble_ll_conn_next_event()
2420 /* XXX: TODO this assumes we received in 1M phy */ in ble_ll_conn_created()
2458 switch (rxhdr->rxinfo.phy) { in ble_ll_conn_created()
2509 * If we have default phy preferences and they are different than in ble_ll_conn_created()
2510 * the current PHY's in use, start update procedure. in ble_ll_conn_created()
2900 /* XXX: TODO: assume we are already on correct phy */ in ble_ll_conn_request_send()
2918 * NOTE: the phy has been disabled as well as the wfr timer before this is
3059 /* Lets take last used phy */ in ble_ll_init_rx_pkt_in()
3060 ble_ll_conn_init_phy(connsm, ble_hdr->rxinfo.phy); in ble_ll_init_rx_pkt_in()
3177 * < 0: Disable the phy after reception.
3178 * == 0: Success. Do not disable the PHY.
3179 * > 0: Do not disable PHY as that has already been done.
3206 uint8_t phy; in ble_ll_init_rx_isr_end() local
3431 phy = ble_hdr->rxinfo.phy; in ble_ll_init_rx_isr_end()
3434 * certain PHY in ble_ll_init_rx_isr_end()
3437 &connsm->initial_params.params[phy - 1], in ble_ll_init_rx_isr_end()
3438 phy); in ble_ll_init_rx_isr_end()
3489 * the phy does not get disabled. in ble_ll_init_rx_isr_end()
3757 * < 0: Disable the phy after reception.
3758 * == 0: Success. Do not disable the PHY.
3759 * > 0: Do not disable PHY as that has already been done.
3852 * things with the PHY where the CRC is OK but we dont have a valid in ble_ll_conn_rx_isr_end()
4016 * on current PHY.
4285 /* Use the same PHY as we received CONNECT_REQ on */ in ble_ll_conn_slave_start()
4286 ble_ll_conn_init_phy(connsm, rxhdr->rxinfo.phy); in ble_ll_conn_slave_start()
4316 * scheduler has been stopped and the phy has been disabled. The LL should
4354 /* Get the maximum supported PHY PDU size from the PHY */ in ble_ll_conn_module_reset()