/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/include/ |
D | oc_mqtt.h | 96 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/ |
D | crypto.c | 181 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/ |
D | hmac_mgmt_ap.c | 66 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 …]
|
D | hmac_mgmt_ap.h | 42 hi_u32 msg_len; member 53 hi_u32 msg_len; member
|
D | hmac_uapsd.h | 47 hi_void hmac_uapsd_update_user_para(const hi_u8 *puc_mac_hdr, hi_u8 sub_type, hi_u32 msg_len,
|
D | hmac_uapsd.c | 145 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()
|
D | hmac_vap.c | 477 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()
|
D | hmac_vap.h | 273 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/ |
D | oc_mqtt_al.h | 108 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/ |
D | etf.c | 77 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/ |
D | oc_mqtt_profile.h | 115 int msg_len; ///< the message length member 166 int msg_len; ///< message length member
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 1255 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/ |
D | uh_msgq.h | 41 void msgq_init(MSGQ * q, void * msgs, int pack_len, int msg_len);
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | wifi_nx_msg_tx.h | 43 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/ |
D | iot_cloud_oc_sample.c | 123 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()
|
D | README.md | 100 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/ |
D | iot_cloud_oc_sample.c | 124 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()
|
D | README.md | 99 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/ |
D | iot_cloud_oc_sample.c | 130 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/ |
D | shell_task.c | 509 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/ |
D | iot_cloud_oc_sample.c | 148 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()
|
D | README.md | 115 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/ |
D | gatt_main.c | 978 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/ |
D | oc_mqtt.c | 194 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/ |
D | halmac_common_88xx.c | 784 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 …]
|