Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Daes-omac1.c49 size_t i, e, left, total_len; in omac1_aes_vector() local
59 total_len = 0; in omac1_aes_vector()
61 total_len += len[e]; in omac1_aes_vector()
62 left = total_len; in omac1_aes_vector()
93 if (left || total_len == 0) { in omac1_aes_vector()
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/
Dsdp_discovery.c817 UINT32 total_len; in add_attr() local
834 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR); in add_attr()
836 total_len = sizeof (tSDP_DISC_ATTR); in add_attr()
840 total_len = (total_len + 3) & ~3; in add_attr()
843 if (p_db->mem_free < total_len) { in add_attr()
864 total_len = 0; in add_attr()
947 total_len = 0; in add_attr()
989 p_db->p_free_mem += total_len; in add_attr()
990 p_db->mem_free -= total_len; in add_attr()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dsensor_server.c32 uint16_t total_len = 5U; in send_sensor_descriptor_status() local
47 total_len += SENSOR_DESCRIPTOR_LEN; in send_sensor_descriptor_status()
48 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_descriptor_status()
66 total_len += SENSOR_DESCRIPTOR_LEN; in send_sensor_descriptor_status()
67 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_descriptor_status()
99 uint16_t total_len = 5U; in send_sensor_data_status() local
116 total_len += (mpid_len + (state->sensor_data.raw_value ? in send_sensor_data_status()
118 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_data_status()
145 total_len += (mpid_len + (state->sensor_data.raw_value ? in send_sensor_data_status()
147 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in send_sensor_data_status()
[all …]
Dtime_scene_server.c495 uint16_t total_len = 9U; in send_scene_register_status() local
523 total_len += SCENE_NUMBER_LEN; in send_scene_register_status()
524 … if ((publish == false && total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) || in send_scene_register_status()
525 (publish == true && total_len > msg->size + BLE_MESH_SERVER_TRANS_MIC_SIZE)) { in send_scene_register_status()
Dgeneric_server.c2156 uint16_t total_len = 5U; in gen_client_prop_get() local
2198 total_len += sizeof(uint16_t); in gen_client_prop_get()
2199 if (total_len > MIN(BLE_MESH_TX_SDU_MAX, BLE_MESH_SERVER_RSP_MAX_LEN)) { in gen_client_prop_get()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c149 blufi_env.total_len = hdr->data[0] | (((uint16_t) hdr->data[1]) << 8); in btc_blufi_recv_handler()
150 blufi_env.aggr_buf = osi_malloc(blufi_env.total_len); in btc_blufi_recv_handler()
152 BTC_TRACE_ERROR("%s no mem, len %d\n", __func__, blufi_env.total_len); in btc_blufi_recv_handler()
157 if (blufi_env.offset + hdr->data_len - 2 <= blufi_env.total_len){ in btc_blufi_recv_handler()
161 …C_TRACE_ERROR("%s payload is longer than packet length, len %d \n", __func__, blufi_env.total_len); in btc_blufi_recv_handler()
175 if ((blufi_env.offset + hdr->data_len) != blufi_env.total_len) { in btc_blufi_recv_handler()
176 …C_TRACE_ERROR("%s payload is longer than packet length, len %d \n", __func__, blufi_env.total_len); in btc_blufi_recv_handler()
182 btc_blufi_protocol_handler(hdr->type, blufi_env.aggr_buf, blufi_env.total_len); in btc_blufi_recv_handler()
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/include/
Dblufi_int.h51 uint16_t total_len; member
70 uint16_t total_len; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c163 UINT16 ii, total_len, len; in process_read_multi_rsp() local
224 total_len = (p_buf->len + p_rsp->attr_value.len); in process_read_multi_rsp()
226 if (total_len > mtu) { in process_read_multi_rsp()
228 len = p_rsp->attr_value.len - (total_len - mtu); in process_read_multi_rsp()
284 UINT16 total_len; in process_read_multi_var_rsp() local
345 total_len = (p_buf->len + 2); // value length in process_read_multi_var_rsp()
347 if (total_len > mtu) { in process_read_multi_var_rsp()
351 len = MIN(p_rsp->attr_value.len, (mtu - total_len)); // attribute value length in process_read_multi_var_rsp()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtm_ble_api.h538 UINT8 num_records, UINT16 total_len,