Home
last modified time | relevance | path

Searched refs:exit_sockets (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c78 ctx->exit_sockets[0] = -1; in init_exit_sockets()
79 ctx->exit_sockets[1] = -1; in init_exit_sockets()
80 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ctx->exit_sockets[0]) == -1) { in init_exit_sockets()
92 if (ctx->exit_sockets[0] >= 0) { in cleanup_exit_sockets()
93 close(ctx->exit_sockets[0]); in cleanup_exit_sockets()
94 ctx->exit_sockets[0] = -1; in cleanup_exit_sockets()
97 if (ctx->exit_sockets[1] >= 0) { in cleanup_exit_sockets()
98 close(ctx->exit_sockets[1]); in cleanup_exit_sockets()
99 ctx->exit_sockets[1] = -1; in cleanup_exit_sockets()
110 TEMP_FAILURE_RETRY(write(ctx->exit_sockets[0], "E", 1)); in exit_cld80211_recv()
[all …]
Dcld80211_lib.h47 int exit_sockets[2]; member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp654 info->exit_sockets[0] = -1; in wifi_initialize()
655 info->exit_sockets[1] = -1; in wifi_initialize()
657 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize()
754 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler()
755 close(info->exit_sockets[0]); in internal_cleaned_up_handler()
756 info->exit_sockets[0] = -1; in internal_cleaned_up_handler()
759 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler()
760 close(info->exit_sockets[1]); in internal_cleaned_up_handler()
761 info->exit_sockets[1] = -1; in internal_cleaned_up_handler()
786 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup()
[all …]
Dcommon.h131 int exit_sockets[2]; member