/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | ieee802154_pkt.h | 49 uint8_t lqi; /* Link Quality Indicator */ member 90 return net_pkt_cb_ieee802154(pkt)->lqi; in net_pkt_ieee802154_lqi() 93 static inline void net_pkt_set_ieee802154_lqi(struct net_pkt *pkt, uint8_t lqi) in net_pkt_set_ieee802154_lqi() argument 95 net_pkt_cb_ieee802154(pkt)->lqi = lqi; in net_pkt_set_ieee802154_lqi()
|
D | ieee802154_mgmt.h | 332 uint8_t lqi; member
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_mgmt_priv.h | 41 uint8_t lqi);
|
D | ieee802154_mgmt.c | 37 uint8_t lqi) in ieee802154_handle_beacon() argument 53 ctx->scan_ctx->lqi = lqi; in ieee802154_handle_beacon()
|
D | ieee802154_shell.c | 219 print_coordinator_address(buf, sizeof(buf)), params.lqi, in scan_result_cb()
|
/Zephyr-Core-3.7.0/drivers/ieee802154/ |
D | ieee802154_nrf5.h | 19 uint8_t lqi; /* Last received frame LQI value. */ member
|
D | ieee802154_nrf5.c | 200 net_pkt_set_ieee802154_lqi(pkt, rx_frame->lqi); in nrf5_rx_thread() 213 pkt_len, rx_frame->lqi); in nrf5_rx_thread() 440 net_pkt_set_ieee802154_lqi(ack_pkt, nrf5_radio->ack_frame.lqi); in handle_ack() 1061 void nrf_802154_received_timestamp_raw(uint8_t *data, int8_t power, uint8_t lqi, uint64_t time) in nrf_802154_received_timestamp_raw() argument 1070 nrf5_data.rx_frames[i].lqi = lqi; in nrf_802154_received_timestamp_raw() 1159 nrf5_data.ack_frame.lqi = metadata->data.transmitted.lqi; in nrf_802154_transmitted_raw()
|
D | ieee802154_cc2520.c | 539 uint8_t lqi; in insert_radio_noise_details() local 553 lqi = status[1] & CC2520_FCS_CORRELATION; in insert_radio_noise_details() 554 if (lqi <= 50U) { in insert_radio_noise_details() 555 lqi = 0U; in insert_radio_noise_details() 556 } else if (lqi >= 110U) { in insert_radio_noise_details() 557 lqi = 255U; in insert_radio_noise_details() 559 lqi = (lqi - 50U) << 2; in insert_radio_noise_details() 562 net_pkt_set_ieee802154_lqi(pkt, lqi); in insert_radio_noise_details()
|
D | ieee802154_mcr20a.c | 488 static inline int16_t mcr20a_get_rssi(uint8_t lqi) in mcr20a_get_rssi() argument 510 int16_t numerator = ((int16_t)100 * lqi) - 29540; /* always negative */ in mcr20a_get_rssi() 565 uint8_t lqi; in mcr20a_rx() local 587 lqi = read_reg_lqi_value(dev); in mcr20a_rx() 588 net_pkt_set_ieee802154_lqi(pkt, lqi); in mcr20a_rx() 590 rssi = mcr20a_get_rssi(lqi); in mcr20a_rx() 593 LOG_DBG("Caught a packet (%u) (LQI: %u, RSSI: %d)", pkt_len, lqi, rssi); in mcr20a_rx()
|
D | ieee802154_b91.c | 163 uint8_t lqi; in b91_update_rssi_and_lqi() local 167 lqi = b91_convert_rssi_to_lqi(rssi); in b91_update_rssi_and_lqi() 169 net_pkt_set_ieee802154_lqi(pkt, lqi); in b91_update_rssi_and_lqi()
|
D | ieee802154_cc13xx_cc26xx.c | 399 uint8_t len, seq, corr, lqi; in ieee802154_cc13xx_cc26xx_rx_done() local 420 lqi = corr << 2; in ieee802154_cc13xx_cc26xx_rx_done() 423 len, seq, rssi, lqi); in ieee802154_cc13xx_cc26xx_rx_done() 440 net_pkt_set_ieee802154_lqi(pkt, lqi); in ieee802154_cc13xx_cc26xx_rx_done()
|
D | ieee802154_rf2xx.c | 66 .lqi = 80,
|
/Zephyr-Core-3.7.0/tests/subsys/openthread/ |
D | radio_test.c | 236 const uint8_t lqi = 230; in create_ack_frame() local 247 net_pkt_set_ieee802154_lqi(packet, lqi); in create_ack_frame() 759 const uint8_t lqi = 240; in ZTEST() local 766 net_pkt_set_ieee802154_lqi(packet, lqi); in ZTEST()
|
/Zephyr-Core-3.7.0/modules/openthread/platform/ |
D | radio.c | 1422 static void set_vendor_ie_header_lm(bool lqi, bool link_margin, bool rssi, uint8_t *ie_header) in set_vendor_ie_header_lm() argument 1447 uint8_t link_metrics_data_len = (uint8_t)lqi + (uint8_t)link_margin + (uint8_t)rssi; in set_vendor_ie_header_lm() 1478 if (lqi) { in set_vendor_ie_header_lm()
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_shell_test.c | 69 zassert_equal(scan_ctx->lqi, EXPECTED_COORDINATOR_LQI, in scan_result_cb()
|