Home
last modified time | relevance | path

Searched refs:frame_len (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/sensor/fcx_mldx5/
Dfcx_mldx5.c38 #define FCX_MLDX5_CHECKSUM_INDEX(frame_len) ((frame_len)-FCX_MLDX5_CHECKSUM_LEN - FCX_MLDX5_ETX_LEN) argument
39 #define FCX_MLDX5_ETX_INDEX(frame_len) ((frame_len)-FCX_MLDX5_ETX_LEN) argument
51 uint8_t frame_len; member
131 if (data->frame_len != len || in fcx_mldx5_frame_check_error()
149 const uint8_t frame_len = FCX_MLDX5_HEADER_LEN + fcx_mldx5_cmds_data_len[cmd]; in fcx_mldx5_frame_verify() local
157 } else if (data->frame_len != frame_len) { in fcx_mldx5_frame_verify()
158 LOG_ERR("Expected command %s frame length %u not %u", command, frame_len, in fcx_mldx5_frame_verify()
159 data->frame_len); in fcx_mldx5_frame_verify()
168 } else if (data->frame[FCX_MLDX5_ETX_INDEX(data->frame_len)] != FCX_MLDX5_ETX) { in fcx_mldx5_frame_verify()
177 strtol(&data->frame[FCX_MLDX5_CHECKSUM_INDEX(data->frame_len)], NULL, 16); in fcx_mldx5_frame_verify()
[all …]
/Zephyr-latest/include/zephyr/modem/
Dubx.h43 #define UBX_FRM_CHECKSUM_STOP_IDX(frame_len) (frame_len - 2) argument
/Zephyr-latest/drivers/ethernet/
Deth_stellaris.c125 int frame_len, bytes_left; in eth_stellaris_rx_pkt() local
146 frame_len = reg_val & 0x0000ffff; in eth_stellaris_rx_pkt()
148 pkt = net_pkt_rx_alloc_with_buffer(iface, frame_len, in eth_stellaris_rx_pkt()
165 bytes_left = frame_len - 4; in eth_stellaris_rx_pkt()
Deth_w5500.c249 size_t frame_len; in w5500_rx() local
256 frame_len = frag_len; in w5500_rx()
258 frame_len = read_len; in w5500_rx()
261 w5500_readbuf(dev, reader, data_ptr, frame_len); in w5500_rx()
262 net_buf_add(pkt_buf, frame_len); in w5500_rx()
263 reader += (uint16_t)frame_len; in w5500_rx()
265 read_len -= (uint16_t)frame_len; in w5500_rx()
Deth_sam_gmac.c1232 uint32_t frame_len = 0U; in frame_get() local
1281 frag_len = (rx_desc->w1 & GMAC_RXW1_LEN) - frame_len; in frame_get()
1286 frame_len += frag_len; in frame_get()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwpa_supp_if.c268 unsigned int frame_len = 0; in nrf_wifi_wpa_supp_event_proc_auth_resp() local
273 frame_len = auth_resp->frame.frame_len; in nrf_wifi_wpa_supp_event_proc_auth_resp()
276 if (frame_len < 4 + (2 * NRF_WIFI_ETH_ADDR_LEN)) { in nrf_wifi_wpa_supp_event_proc_auth_resp()
282 if (frame_len < 24 + sizeof(mgmt->u.auth)) { in nrf_wifi_wpa_supp_event_proc_auth_resp()
297 if (frame_len > 24 + sizeof(mgmt->u.auth)) { in nrf_wifi_wpa_supp_event_proc_auth_resp()
299 event.auth.ies_len = (frame_len - 24 - sizeof(mgmt->u.auth)); in nrf_wifi_wpa_supp_event_proc_auth_resp()
315 unsigned int frame_len = 0; in nrf_wifi_wpa_supp_event_proc_assoc_resp() local
321 frame_len = assoc_resp->frame.frame_len; in nrf_wifi_wpa_supp_event_proc_assoc_resp()
324 if (frame_len < 24 + sizeof(mgmt->u.assoc_resp)) { in nrf_wifi_wpa_supp_event_proc_assoc_resp()
336 if (frame_len > 24 + sizeof(mgmt->u.assoc_resp)) { in nrf_wifi_wpa_supp_event_proc_assoc_resp()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c2006 uint16_t frame_len; in sdp_client_receive_ssa_sa() local
2010 if (buf->len < sizeof(frame_len)) { in sdp_client_receive_ssa_sa()
2016 frame_len = net_buf_pull_be16(buf); in sdp_client_receive_ssa_sa()
2018 if (buf->len < frame_len + SDP_CONT_STATE_LEN_SIZE) { in sdp_client_receive_ssa_sa()
2023 if (frame_len < 2) { in sdp_client_receive_ssa_sa()
2029 cstate = (struct bt_sdp_pdu_cstate *)(buf->data + frame_len); in sdp_client_receive_ssa_sa()
2036 if ((frame_len + SDP_CONT_STATE_LEN_SIZE + cstate->length) > buf->len) { in sdp_client_receive_ssa_sa()
2046 if (frame_len == 2U && cstate->length == 0U && session->cstate.length == 0U) { in sdp_client_receive_ssa_sa()
2050 net_buf_pull(buf, frame_len + sizeof(cstate->length)); in sdp_client_receive_ssa_sa()
2055 frame_len -= sdp_client_get_total(session, buf, &total); in sdp_client_receive_ssa_sa()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx.c165 uint8_t frame_len; in rf2xx_trx_rx() local
187 frame_len = RX2XX_FRAME_HEADER_SIZE + pkt_len + in rf2xx_trx_rx()
190 rf2xx_iface_frame_read(dev, rx_buf, frame_len); in rf2xx_trx_rx()
/Zephyr-latest/drivers/dai/intel/ssp/
Dssp.c1274 uint32_t frame_len = 0; in dai_ssp_set_config_tplg() local
1523 frame_len = bdiv / 2; in dai_ssp_set_config_tplg()
1574 frame_len = bdiv / 2; in dai_ssp_set_config_tplg()
1621 frame_len = 1; /* default */ in dai_ssp_set_config_tplg()
1626 frame_len = ssp_plat_data->params.frame_pulse_width; in dai_ssp_set_config_tplg()
1685 sspsp |= SSPSP_SFRMWDTH(frame_len); in dai_ssp_set_config_tplg()
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap.rst52 [frame_len <frame length>]
387 [frame_len <frame length>]