Home
last modified time | relevance | path

Searched refs:msg_len (Results 1 – 25 of 35) sorted by relevance

12

/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/include/
Doc_mqtt.h96 int msg_len; ///< the message length member
114 int msg_len; ///< message length member
161 int oc_mqtt_publish(char *topic, uint8_t *msg, int msg_len, int qos);
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dcrypto.c181 const u8_t *enc_msg, size_t msg_len, in bt_mesh_ccm_decrypt() argument
191 if (msg_len < 1 || aad_len_tmp >= 0xff00) { in bt_mesh_ccm_decrypt()
212 sys_put_be16(msg_len, pmsg + 14); // 14:byte alignment in bt_mesh_ccm_decrypt()
257 last_blk = msg_len % 16; // 16:byte alignment in bt_mesh_ccm_decrypt()
258 blk_cnt = (msg_len + 15) / 16; // 16:byte alignment, 15:byte alignment in bt_mesh_ccm_decrypt()
326 if (memcmp(mic, enc_msg + msg_len, mic_size)) { in bt_mesh_ccm_decrypt()
334 const u8_t *msg, size_t msg_len, in bt_mesh_ccm_encrypt() argument
345 BT_DBG("msg (len %zu) %s", msg_len, bt_hex(msg, msg_len)); in bt_mesh_ccm_encrypt()
366 sys_put_be16(msg_len, pmsg + 14); // 14:byte alignment in bt_mesh_ccm_encrypt()
411 last_blk = msg_len % 16; // 16:byte alignment in bt_mesh_ccm_encrypt()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_mgmt_ap.c66 hi_u32 msg_len, const hmac_user_stru *hmac_user, mac_status_code_enum_uint16 *pen_status_code);
591 if (sup_rates_info->msg_len > sup_rates_info->us_offset) { in hmac_ap_up_update_sta_sup_rates()
593 (sup_rates_info->msg_len - sup_rates_info->us_offset)); in hmac_ap_up_update_sta_sup_rates()
622 if (sup_rates_info->msg_len > sup_rates_info->us_offset) { in hmac_ap_up_update_sta_sup_rates()
625 (sup_rates_info->msg_len - sup_rates_info->us_offset)); in hmac_ap_up_update_sta_sup_rates()
963 …hi_void hmac_ap_up_update_asoc_entry_prot(const hi_u8 *puc_mac_hdr, hi_u8 sub_type, hi_u32 msg_len, in hmac_ap_up_update_asoc_entry_prot() argument
967 hmac_uapsd_update_user_para(puc_mac_hdr, sub_type, msg_len, hmac_user); in hmac_ap_up_update_asoc_entry_prot()
1013 sup_rates.msg_len = update_sta_user->msg_len; in hmac_sta_ssid_and_sup_rate_proc()
1036 …rslt = hmac_check_open_action_sec_authenticator(hmac_vap, sta_user->puc_payload, sta_user->msg_len, in hmac_sta_several_param_proc()
1045 sta_user->msg_len, hmac_user, status_code); in hmac_sta_several_param_proc()
[all …]
Dhmac_mgmt_ap.h42 hi_u32 msg_len; member
53 hi_u32 msg_len; member
Dhmac_uapsd.h47 hi_void hmac_uapsd_update_user_para(const hi_u8 *puc_mac_hdr, hi_u8 sub_type, hi_u32 msg_len,
Dhmac_uapsd.c145 hi_void hmac_uapsd_update_user_para(const hi_u8 *puc_mac_hdr, hi_u8 sub_type, hi_u32 msg_len, in hmac_uapsd_update_user_para() argument
157 while (idx < msg_len) { in hmac_uapsd_update_user_para()
Dhmac_vap.c477 hi_u32 msg_len, hmac_user_stru *hmac_user) in hmac_vap_check_ht_capabilities_ap() argument
498 while (us_index < (msg_len - WLAN_HDR_FCS_LENGTH)) { in hmac_vap_check_ht_capabilities_ap()
692 hi_u16 us_info_elem_offset, hi_u32 msg_len, hmac_user_stru *hmac_user) in hmac_check_opmode_notify() argument
714 if (msg_len > us_info_elem_offset) { in hmac_check_opmode_notify()
716 …mac_find_ie(MAC_EID_OPMODE_NOTIFY, puc_payload + us_info_elem_offset, (msg_len - us_info_elem_offs… in hmac_check_opmode_notify()
Dhmac_vap.h273 hi_u32 msg_len, hmac_user_stru *hmac_user);
286 hi_u16 us_info_elem_offset, hi_u32 msg_len, hmac_user_stru *hmac_user);
/device/board/bearpi/bearpi_hm_nano/third_party/iot_link/oc_mqtt/oc_mqtt_al/
Doc_mqtt_al.h108 typedef int (*fn_oc_mqtt_publish)(char *topic, uint8_t *msg, int msg_len, int qos);
186 int oc_mqtt_publish(char *topic, uint8_t *msg, int msg_len, int qos);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Detf.c77 adapter_priv.msg_len = min(ADAPTER_RX_BUF_LEN, len); in adapter_rec_handler()
78 memcpy(adapter_priv.msg_buf, NLMSG_DATA(nlhdr), adapter_priv.msg_len); in adapter_rec_handler()
79 if (len != adapter_priv.msg_len) in adapter_rec_handler()
81 __func__, len, adapter_priv.msg_len); in adapter_rec_handler()
84 __func__, adapter_priv.msg_len); in adapter_rec_handler()
86 adapter_priv.handler(adapter_priv.msg_buf, adapter_priv.msg_len); in adapter_rec_handler()
158 adapter_priv.msg_len = min(ADAPTER_RX_BUF_LEN, len); in adapter_handle_rx_queue()
161 if (len != adapter_priv.msg_len) in adapter_handle_rx_queue()
163 __func__, len, adapter_priv.msg_len); in adapter_handle_rx_queue()
166 __func__, adapter_priv.msg_len); in adapter_handle_rx_queue()
[all …]
/device/board/bearpi/bearpi_hm_nano/third_party/iot_link/oc_mqtt/oc_mqtt_profile_v5/
Doc_mqtt_profile.h115 int msg_len; ///< the message length member
166 int msg_len; ///< message length member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1255 UINT8 msg_len = BT_OCTET32_LEN /* U size */ + BT_OCTET32_LEN /* V size */ + 1 /* Z size */; in smp_calculate_f4() local
1283 smp_debug_print_nbyte_little_endian (p_prnt, (const UINT8 *)"M", msg_len); in smp_calculate_f4()
1293 aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac); in smp_calculate_f4()
1366 UINT8 msg_len = BT_OCTET32_LEN /* U size */ + BT_OCTET32_LEN /* V size */ in smp_calculate_g2() local
1401 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) { in smp_calculate_g2()
1596 UINT8 msg_len = 1 /* Counter size */ + 4 /* keyID size */ + in smp_calculate_f5_mackey_or_long_term_key() local
1641 smp_debug_print_nbyte_little_endian (p_prnt, (const UINT8 *)"M", msg_len); in smp_calculate_f5_mackey_or_long_term_key()
1644 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) { in smp_calculate_f5_mackey_or_long_term_key()
1831 UINT8 msg_len = BT_OCTET16_LEN /* N1 size */ + BT_OCTET16_LEN /* N2 size */ + in smp_calculate_f6() local
1876 smp_debug_print_nbyte_little_endian (p_print, (const UINT8 *)"M", msg_len); in smp_calculate_f6()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/usb/usb_host/inc/
Duh_msgq.h41 void msgq_init(MSGQ * q, void * msgs, int pack_len, int msg_len);
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/
Dwifi_nx_msg_tx.h43 int rwnx_send_msg_tx(lmac_task_id_t dst_id, lmac_msg_id_t msg_id, uint16_t msg_len, void *msg, int …
/device/board/bearpi/bearpi_hm_nano/app/D8_iot_cloud_oc_light/
Diot_cloud_oc_sample.c123 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1; in msg_rcv_callback()
138 buf_len = msg->msg_len; in msg_rcv_callback()
DREADME.md100 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1;
115 buf_len = msg->msg_len;
/device/board/bearpi/bearpi_hm_nano/app/D7_iot_cloud_oc_smoke/
Diot_cloud_oc_sample.c124 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1; in msg_rcv_callback()
139 buf_len = msg->msg_len; in msg_rcv_callback()
DREADME.md99 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1;
114 buf_len = msg->msg_len;
/device/board/bearpi/bearpi_hm_nano/app/D12_iot_cloud_oc_gps/
Diot_cloud_oc_sample.c130 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1; in msg_rcv_callback()
145 buf_len = msg->msg_len; in msg_rcv_callback()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
Dshell_task.c509 static bool_t rsp_out(u8 * rsp_msg, u16 msg_len) in rsp_out() argument
515 if(msg_len > sizeof(cmd_line_buf.rsp_buff)) in rsp_out()
517 msg_len = sizeof(cmd_line_buf.rsp_buff);; in rsp_out()
520 memcpy(cmd_line_buf.rsp_buff, rsp_msg, msg_len); in rsp_out()
530 cmd_dev->dev_drv->write_async(cmd_dev, cmd_line_buf.rsp_buff, msg_len, rsp_blk_tag); in rsp_out()
540 push_pending_queue(rsp_blk_tag, msg_len); in rsp_out()
/device/board/bearpi/bearpi_hm_nano/app/D11_iot_cloud_oc_agriculture/
Diot_cloud_oc_sample.c148 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1; in msg_rcv_callback()
163 buf_len = msg->msg_len; in msg_rcv_callback()
DREADME.md115 buf_len = sizeof(app_msg_t) + strlen(msg->request_id) + 1 + msg->msg_len + 1;
130 buf_len = msg->msg_len;
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_main.c978 UINT16 msg_len; in gatt_data_process() local
984 msg_len = p_buf->len - 1; in gatt_data_process()
1000 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); in gatt_data_process()
1004 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); in gatt_data_process()
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/src/
Doc_mqtt.c194 int oc_mqtt_publish(char *topic, uint8_t *msg, int msg_len, int qos) in oc_mqtt_publish() argument
204 message.payloadlen = msg_len; in oc_mqtt_publish()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/halmac_88xx/
Dhalmac_common_88xx.c784 u8 msg_len = 0; in get_c2h_dbg_88xx() local
807 msg_len = next_msg - C2H_DBG_HDR_LEN; in get_c2h_dbg_88xx()
809 c2h_buf = (char *)PLTFM_MALLOC(msg_len); in get_c2h_dbg_88xx()
813 PLTFM_MEMCPY(c2h_buf, buf + C2H_DBG_HDR_LEN, msg_len); in get_c2h_dbg_88xx()
816 *(c2h_buf + msg_len - 1) = '\0'; in get_c2h_dbg_88xx()
819 PLTFM_FREE(c2h_buf, msg_len); in get_c2h_dbg_88xx()
824 msg_len = (u8)(*(buf + cur_msg + 3)) - 1; in get_c2h_dbg_88xx()
825 next_msg += C2H_DBG_HDR_LEN + msg_len; in get_c2h_dbg_88xx()
827 c2h_buf = (char *)PLTFM_MALLOC(msg_len); in get_c2h_dbg_88xx()
831 PLTFM_MEMCPY(c2h_buf, buf + cur_msg + C2H_DBG_HDR_LEN, msg_len); in get_c2h_dbg_88xx()
[all …]

12