Home
last modified time | relevance | path

Searched refs:wifihal_ctrl_sock (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp164 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 …]
Dcommon.h121 struct ctrl_sock wifihal_ctrl_sock; // ctrl sock object member
Dwifilogger_diag.cpp2603 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()