Home
last modified time | relevance | path

Searched refs:msg_hdr (Results 1 – 14 of 14) sorted by relevance

/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_debug_linux.c326 dhd_dbg_ring_entry_t msg_hdr; in dhd_os_push_push_ring_data() local
339 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_os_push_push_ring_data()
342 msg_hdr.type = DBG_RING_ENTRY_EVENT_TYPE; in dhd_os_push_push_ring_data()
343 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_os_push_push_ring_data()
344 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_BINARY; in dhd_os_push_push_ring_data()
345 msg_hdr.timestamp = local_clock(); in dhd_os_push_push_ring_data()
347 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data()
348 msg_hdr.len = data_len; in dhd_os_push_push_ring_data()
360 msg_hdr.type = DBG_RING_ENTRY_DATA_TYPE; in dhd_os_push_push_ring_data()
361 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_os_push_push_ring_data()
[all …]
Ddhd_debug.c855 dhd_dbg_ring_entry_t *msg_hdr, dhd_dbg_ring_t *ring, in dhd_dbg_send_evtlog_to_ring() argument
875 if (msg_hdr->len > len_chk) { in dhd_dbg_send_evtlog_to_ring()
878 __FUNCTION__, msg_hdr->len, ring->name, len_chk)); in dhd_dbg_send_evtlog_to_ring()
881 dhd_dbg_ring_push(ring, msg_hdr, logbuf); in dhd_dbg_send_evtlog_to_ring()
902 dhd_dbg_ring_entry_t msg_hdr; in dhd_dbg_msgtrace_log_parser() local
974 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_dbg_msgtrace_log_parser()
982 msg_hdr.type = DBG_RING_ENTRY_DATA_TYPE; in dhd_dbg_msgtrace_log_parser()
992 msg_hdr.len = sizeof(*logentry_header) + datalen; in dhd_dbg_msgtrace_log_parser()
994 DHD_DBGIF(("%s: datalen %d %d\n", __FUNCTION__, msg_hdr.len, datalen)); in dhd_dbg_msgtrace_log_parser()
996 dhd_dbg_push_to_ring(dhdp, FW_VERBOSE_RING_ID, &msg_hdr, logbuf); in dhd_dbg_msgtrace_log_parser()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_debug_linux.c333 dhd_dbg_ring_entry_t msg_hdr; in dhd_os_push_push_ring_data() local
346 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_os_push_push_ring_data()
349 msg_hdr.type = DBG_RING_ENTRY_EVENT_TYPE; in dhd_os_push_push_ring_data()
350 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_os_push_push_ring_data()
351 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_BINARY; in dhd_os_push_push_ring_data()
352 msg_hdr.timestamp = local_clock(); in dhd_os_push_push_ring_data()
354 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data()
355 msg_hdr.len = data_len; in dhd_os_push_push_ring_data()
364 ret = dhd_dbg_push_to_ring(dhdp, ring_id, &msg_hdr, event_data); in dhd_os_push_push_ring_data()
Ddhd_debug.c792 dhd_dbg_ring_entry_t msg_hdr; in dhd_dbg_msgtrace_log_parser() local
861 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_dbg_msgtrace_log_parser()
869 msg_hdr.type = DBG_RING_ENTRY_DATA_TYPE; in dhd_dbg_msgtrace_log_parser()
879 msg_hdr.len = sizeof(*logentry_header) + datalen; in dhd_dbg_msgtrace_log_parser()
881 DHD_DBGIF(("%s: datalen %d %d\n", __FUNCTION__, msg_hdr.len, datalen)); in dhd_dbg_msgtrace_log_parser()
882 dhd_dbg_push_to_ring(dhdp, FW_VERBOSE_RING_ID, &msg_hdr, logbuf); in dhd_dbg_msgtrace_log_parser()
1020 if (msg_hdr.len > len_chk) { in dhd_dbg_msgtrace_log_parser()
1023 __FUNCTION__, msg_hdr.len, len_chk)); in dhd_dbg_msgtrace_log_parser()
1026 dhd_dbg_ring_push(dhdp->ecntr_dbg_ring, &msg_hdr, logbuf); in dhd_dbg_msgtrace_log_parser()
1051 if (msg_hdr.len > len_chk) { in dhd_dbg_msgtrace_log_parser()
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_debug_linux.c338 dhd_dbg_ring_entry_t msg_hdr; in dhd_os_push_push_ring_data() local
352 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_os_push_push_ring_data()
355 msg_hdr.type = DBG_RING_ENTRY_EVENT_TYPE; in dhd_os_push_push_ring_data()
356 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_os_push_push_ring_data()
357 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_BINARY; in dhd_os_push_push_ring_data()
358 msg_hdr.timestamp = osl_localtime_ns(); in dhd_os_push_push_ring_data()
360 msg_hdr.timestamp = DIV_U64_BY_U32(msg_hdr.timestamp, NSEC_PER_MSEC); in dhd_os_push_push_ring_data()
361 msg_hdr.len = data_len; in dhd_os_push_push_ring_data()
370 ret = dhd_dbg_push_to_ring(dhdp, ring_id, &msg_hdr, event_data); in dhd_os_push_push_ring_data()
Ddhd_debug.c819 dhd_dbg_ring_entry_t msg_hdr; in dhd_dbg_msgtrace_log_parser() local
893 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_dbg_msgtrace_log_parser()
902 msg_hdr.type = DBG_RING_ENTRY_DATA_TYPE; in dhd_dbg_msgtrace_log_parser()
912 msg_hdr.len = sizeof(*logentry_header) + datalen; in dhd_dbg_msgtrace_log_parser()
914 DHD_DBGIF(("%s: datalen %d %d\n", __FUNCTION__, msg_hdr.len, datalen)); in dhd_dbg_msgtrace_log_parser()
915 dhd_dbg_push_to_ring(dhdp, FW_VERBOSE_RING_ID, &msg_hdr, logbuf); in dhd_dbg_msgtrace_log_parser()
1054 if (msg_hdr.len > len_chk) { in dhd_dbg_msgtrace_log_parser()
1057 __FUNCTION__, msg_hdr.len, len_chk)); in dhd_dbg_msgtrace_log_parser()
1060 dhd_dbg_ring_push(dhdp->ecntr_dbg_ring, &msg_hdr, logbuf); in dhd_dbg_msgtrace_log_parser()
1085 if (msg_hdr.len > len_chk) { in dhd_dbg_msgtrace_log_parser()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_debug_linux.c334 dhd_dbg_ring_entry_t msg_hdr; in dhd_os_push_push_ring_data() local
347 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_os_push_push_ring_data()
350 msg_hdr.type = DBG_RING_ENTRY_EVENT_TYPE; in dhd_os_push_push_ring_data()
351 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_os_push_push_ring_data()
352 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_BINARY; in dhd_os_push_push_ring_data()
353 msg_hdr.timestamp = local_clock(); in dhd_os_push_push_ring_data()
355 do_div(msg_hdr.timestamp, 1000000); in dhd_os_push_push_ring_data()
356 msg_hdr.len = data_len; in dhd_os_push_push_ring_data()
365 ret = dhd_dbg_ring_push(dhdp, ring_id, &msg_hdr, event_data); in dhd_os_push_push_ring_data()
Ddhd_debug.c511 dhd_dbg_ring_entry_t msg_hdr; in dhd_dbg_nan_event_handler() local
540 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_dbg_nan_event_handler()
544 msg_hdr.timestamp = (uint64)ts_data[0]; in dhd_dbg_nan_event_handler()
545 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_TIMESTAMP; in dhd_dbg_nan_event_handler()
547 msg_hdr.type = DBG_RING_ENTRY_NAN_EVENT_TYPE; in dhd_dbg_nan_event_handler()
597 msg_hdr.flags |= DBG_RING_ENTRY_FLAGS_HAS_BINARY; in dhd_dbg_nan_event_handler()
598 msg_hdr.len = tot_payload_len; in dhd_dbg_nan_event_handler()
599 dhd_dbg_ring_push(dhdp, NAN_EVENT_RING_ID, &msg_hdr, evt_payload); in dhd_dbg_nan_event_handler()
614 dhd_dbg_ring_entry_t msg_hdr; in dhd_dbg_custom_evnt_handler() local
644 memset(&msg_hdr, 0, sizeof(dhd_dbg_ring_entry_t)); in dhd_dbg_custom_evnt_handler()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/fhost/
Dwifi_host_cntrl.h142 int fhost_cntrl_cfgrwnx_event_send(struct cfgrwnx_msg_hdr *msg_hdr, int sock);
160 struct cfgrwnx_msg_hdr *msg_hdr);
192 struct cfgrwnx_msg_hdr *msg_hdr);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_net.c99 struct dev_netlink_msg_hdr_stru msg_hdr = {0}; in oal_dev_netlink_rev() local
125 if (len < OAL_EXCP_DATA_BUF_LEN && len >= sizeof(msg_hdr)) { in oal_dev_netlink_rev()
136 …if (memcpy_s((hi_void *)&msg_hdr, sizeof(msg_hdr), g_dev_excp_handler_data.data, sizeof(msg_hdr)) … in oal_dev_netlink_rev()
141 if (0 == msg_hdr.cmd) { in oal_dev_netlink_rev()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_event.c734 hi_u16 us_msg_len = msg->msg_hdr.us_msg_len; in wal_config_process_pkt()
736 switch (msg->msg_hdr.msg_type) { in wal_config_process_pkt()
755 msg->msg_hdr.msg_type); in wal_config_process_pkt()
767 rsp_msg->msg_hdr.msg_type = WAL_MSG_TYPE_RESPONSE; in wal_config_process_pkt()
768 rsp_msg->msg_hdr.msg_sn = msg->msg_hdr.msg_sn; in wal_config_process_pkt()
769 rsp_msg->msg_hdr.us_msg_len = rsp_len; in wal_config_process_pkt()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_event_msg.c335 if (rsp_msg_info->msg_hdr.us_msg_len == 0) { in wal_send_cfg_wait_event()
400 wal_cfg_msg_hdr_init(&(cfg_msg->msg_hdr), msg_type, us_len, (hi_u8)wal_get_msg_sn()); in wal_send_cfg_event()
Dwal_event_msg.h85 wal_msg_hdr_stru msg_hdr; /* 配置消息头 */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/
Dsocket.h69 struct msghdr msg_hdr; member