Searched refs:ctrl_evt (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 1570 wifihal_ctrl_event_t *ctrl_evt; in internal_valid_message_handler() local 1582 ctrl_evt = (wifihal_ctrl_event_t *)malloc(sizeof(*ctrl_evt) + nlh->nlmsg_len); in internal_valid_message_handler() 1583 if(ctrl_evt == NULL) in internal_valid_message_handler() 1588 memset((char *)ctrl_evt, 0, sizeof(*ctrl_evt) + nlh->nlmsg_len); in internal_valid_message_handler() 1589 ctrl_evt->family_name = GENERIC_NL_FAMILY; in internal_valid_message_handler() 1590 ctrl_evt->cmd_id = cmd; in internal_valid_message_handler() 1591 ctrl_evt->data_len = nlh->nlmsg_len; in internal_valid_message_handler() 1592 memcpy(ctrl_evt->data, (char *)nlh, ctrl_evt->data_len); in internal_valid_message_handler() 1607 if (sendto(info->wifihal_ctrl_sock.s, (char *)ctrl_evt, in internal_valid_message_handler() 1608 sizeof(*ctrl_evt) + ctrl_evt->data_len, in internal_valid_message_handler() [all …]
|
D | wifilogger_diag.cpp | 2604 wifihal_ctrl_event_t *ctrl_evt; in diag_message_handler() local 2607 ctrl_evt = (wifihal_ctrl_event_t *)malloc(sizeof(*ctrl_evt) + nlh->nlmsg_len); in diag_message_handler() 2609 if(ctrl_evt == NULL) in diag_message_handler() 2614 memset((char *)ctrl_evt, 0, sizeof(*ctrl_evt) + nlh->nlmsg_len); in diag_message_handler() 2616 ctrl_evt->family_name = CLD80211_FAMILY; in diag_message_handler() 2617 ctrl_evt->cmd_id = WLAN_NL_MSG_OEM; in diag_message_handler() 2618 ctrl_evt->data_len = nlh->nlmsg_len; in diag_message_handler() 2619 memcpy(ctrl_evt->data, (char *)nlh, ctrl_evt->data_len); in diag_message_handler() 2635 if (sendto(info->wifihal_ctrl_sock.s, (char *)ctrl_evt, in diag_message_handler() 2636 sizeof(*ctrl_evt) + ctrl_evt->data_len, 0, in diag_message_handler() [all …]
|