Searched refs:wifihal_ctrl_sock (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 164 info->wifihal_ctrl_sock.s = socket(PF_UNIX, SOCK_DGRAM, 0); in wifi_create_ctrl_socket() 166 if (info->wifihal_ctrl_sock.s < 0) { in wifi_create_ctrl_socket() 170 memset(&info->wifihal_ctrl_sock.local, 0, sizeof(info->wifihal_ctrl_sock.local)); in wifi_create_ctrl_socket() 172 info->wifihal_ctrl_sock.local.sun_family = AF_UNIX; in wifi_create_ctrl_socket() 174 snprintf(info->wifihal_ctrl_sock.local.sun_path, in wifi_create_ctrl_socket() 175 sizeof(info->wifihal_ctrl_sock.local.sun_path), "%s", WIFI_HAL_CTRL_IFACE); in wifi_create_ctrl_socket() 177 if (bind(info->wifihal_ctrl_sock.s, (struct sockaddr *) &info->wifihal_ctrl_sock.local, in wifi_create_ctrl_socket() 178 sizeof(info->wifihal_ctrl_sock.local)) < 0) { in wifi_create_ctrl_socket() 181 if (connect(info->wifihal_ctrl_sock.s, (struct sockaddr *) &info->wifihal_ctrl_sock.local, in wifi_create_ctrl_socket() 182 sizeof(info->wifihal_ctrl_sock.local)) < 0) { in wifi_create_ctrl_socket() [all …]
|
D | common.h | 121 struct ctrl_sock wifihal_ctrl_sock; // ctrl sock object member
|
D | wifilogger_diag.cpp | 2603 if((info->wifihal_ctrl_sock.s > 0) && (genlh->cmd == WLAN_NL_MSG_OEM)) { in diag_message_handler() 2635 if (sendto(info->wifihal_ctrl_sock.s, (char *)ctrl_evt, in diag_message_handler()
|