Home
last modified time | relevance | path

Searched refs:phy_tx (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c253 uint8_t phy_tx, phy_rx; in ZTEST() local
271 err = ll_phy_get(conn_handle + 1, &phy_tx, &phy_rx); in ZTEST()
275 conn_from_pool->lll.phy_tx = 0x7; in ZTEST()
276 err = ll_phy_get(conn_handle, &phy_tx, &phy_rx); in ZTEST()
278 zassert_equal(phy_tx, 0x07); in ZTEST()
283 phy_tx = ull_conn_default_phy_tx_get(); in ZTEST()
285 zassert_equal(phy_tx, 0x00); in ZTEST()
289 phy_tx = ull_conn_default_phy_tx_get(); in ZTEST()
291 zassert_equal(phy_tx, 0x01); in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_phy.c150 if (ctx->data.pu.tx != conn->lll.phy_tx) { in pu_prep_update_ind()
164 static uint8_t pu_select_phy_timing_restrict(struct ll_conn *conn, uint8_t phy_tx) in pu_select_phy_timing_restrict() argument
174 const uint8_t phys = phy_tx | lll->phy_tx; in pu_select_phy_timing_restrict()
180 static void pu_set_timing_restrict(struct ll_conn *conn, uint8_t phy_tx) in pu_set_timing_restrict() argument
184 lll->phy_tx_time = phy_tx; in pu_set_timing_restrict()
189 pu_set_timing_restrict(conn, conn->lll.phy_tx); in pu_reset_timing_restrict()
234 const uint8_t old_tx = lll->phy_tx; in pu_apply_phy_update()
250 lll->phy_tx = p_to_c_phy; in pu_apply_phy_update()
262 lll->phy_tx = c_to_p_phy; in pu_apply_phy_update()
267 return ((old_tx != lll->phy_tx) || (old_rx != lll->phy_rx)); in pu_apply_phy_update()
[all …]
Dlll_conn.h118 uint8_t phy_tx:3; member
Dull_conn.c644 *tx = conn->lll.phy_tx; in ll_phy_get()
1307 lll_radio_tx_ready_delay_get(lll->phy_tx, lll->phy_flags); in ull_conn_done()
1316 PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_tx)); in ull_conn_done()
1322 tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx); in ull_conn_done()
2079 phy = lll_connection->phy_tx; in force_md_cnt_calc()
2260 ready_delay_us = lll_radio_tx_ready_delay_get(lll->phy_tx, in ull_conn_update_parameters()
2297 max_tx_time = MAX(max_tx_time, PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_tx)); in ull_conn_update_parameters()
2588 unsigned int min_eff_tx_time = (conn->lll.phy_tx == PHY_CODED) ? in ull_dle_update_eff_tx()
2867 if (!(phys & (conn->lll.phy_tx | conn->lll.phy_rx))) {
Dull_central.c221 conn_lll->phy_tx = PHY_1M; in ll_create_connection()
341 ready_delay_us = lll_radio_tx_ready_delay_get(conn_lll->phy_tx, in ll_create_connection()
818 conn_offset_us -= lll_radio_tx_ready_delay_get(lll->phy_tx,
Dull_peripheral.c366 PDU_DC_MAX_US(PDU_DC_PAYLOAD_SIZE_MIN, lll->phy_tx));
374 max_tx_time = PDU_MAX_US(0U, 0U, lll->phy_tx);
Dull_sched.c713 lll_radio_tx_ready_delay_get(conn->lll.phy_tx, in ull_hdr_get_cb()
Dull_df.c1024 if (conn->lll.phy_tx == PHY_CODED) { in ll_df_set_conn_cte_rsp_enable()
Dull_llcp_common.c1087 if (conn->lll.phy_tx == PHY_CODED) {
Dull_adv.c1046 conn_lll->phy_tx = lll->phy_s;
1052 conn_lll->phy_tx = PHY_1M;
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c761 static void check_pref_phy_state(const struct ll_conn *conn, uint8_t phy_tx, uint8_t phy_rx) in check_pref_phy_state() argument
766 zassert_equal(conn->phy_pref_tx, phy_tx, in check_pref_phy_state()
768 phy_tx); in check_pref_phy_state()
771 static void check_current_phy_state(const struct ll_conn *conn, uint8_t phy_tx, uint8_t flags, in check_current_phy_state() argument
777 zassert_equal(conn->lll.phy_tx, phy_tx, in check_current_phy_state()
778 "Current TX PHY mismatch %d (actual) != %d (expected)", conn->lll.phy_tx, in check_current_phy_state()
779 phy_tx); in check_current_phy_state()
818 conn.lll.phy_tx = PHY_1M; in phy_update_setup()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.h102 void radio_switch_complete_and_tx(uint8_t phy_rx, uint8_t flags_rx, uint8_t phy_tx,
105 uint8_t phy_rx, uint8_t flags_rx, uint8_t phy_tx, uint8_t flags_tx,
Dradio.c965 uint8_t phy_tx, uint8_t flags_tx) in radio_switch_complete_and_tx() argument
974 sw_switch(SW_SWITCH_RX, SW_SWITCH_TX, phy_rx, flags_rx, phy_tx, flags_tx, in radio_switch_complete_and_tx()
980 uint8_t phy_rx, uint8_t flags_rx, uint8_t phy_tx, uint8_t flags_tx, in radio_switch_complete_with_delay_compensation_and_tx() argument
989 sw_switch(SW_SWITCH_RX, SW_SWITCH_TX, phy_rx, flags_rx, phy_tx, flags_tx, end_delay_en); in radio_switch_complete_with_delay_compensation_and_tx()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_conn.c351 lll->phy_tx, in lll_conn_isr_tx()
368 hcto -= radio_tx_chain_delay_get(lll->phy_tx, lll->phy_flags); in lll_conn_isr_tx()
392 radio_tx_chain_delay_get(lll->phy_tx, in lll_conn_isr_tx()
468 phy = lll->phy_tx; in lll_conn_tx_pkt_set()
Dlll_central.c176 radio_tx_ready_delay_get(lll->phy_tx, in prepare_cb()
Dlll_peripheral.c178 radio_switch_complete_and_tx(lll->phy_rx, 0, lll->phy_tx, in prepare_cb()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_peripheral.c247 radio_switch_complete_with_delay_compensation_and_tx(lll->phy_rx, 0, lll->phy_tx,
262 radio_switch_complete_and_tx(lll->phy_rx, 0, lll->phy_tx, lll->phy_flags);
Dlll_conn.c653 radio_switch_complete_with_delay_compensation_and_tx(lll->phy_rx, 0, lll->phy_tx,
668 radio_switch_complete_and_tx(lll->phy_rx, 0, lll->phy_tx, lll->phy_flags);
705 hcto -= radio_tx_chain_delay_get(lll->phy_tx, lll->phy_flags);
739 radio_tx_chain_delay_get(lll->phy_tx,
841 phy = lll->phy_tx;
Dlll_central.c231 radio_tx_ready_delay_get(lll->phy_tx, in prepare_cb()
Dlll_scan_aux.c1586 conn_lll->phy_tx = lll_aux->phy;
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h48 void radio_switch_complete_and_tx(uint8_t phy_rx, uint8_t flags_rx, uint8_t phy_tx,
Dradio.c937 void radio_switch_complete_and_tx(uint8_t phy_rx, uint8_t flags_rx, uint8_t phy_tx, in radio_switch_complete_and_tx() argument
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c104 conn.lll.phy_tx = PHY_1M; in collision_setup()
135 zassert_equal(_conn.lll.phy_tx, _tx, \
137 _conn.lll.phy_tx, _tx); \
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c66 conn.lll.phy_tx = PHY_1M; in phy_setup()
97 zassert_equal(_conn.lll.phy_tx, _tx, \
99 _conn.lll.phy_tx, _tx); \