Home
last modified time | relevance | path

Searched refs:cmd_sock (Results 1 – 9 of 9) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp235 struct nl_sock *cmd_sock = wifi_create_nl_socket(WIFI_HAL_CMD_SOCK_PORT); in wifi_initialize() local
236 if (cmd_sock == NULL) { in wifi_initialize()
245 nl_socket_free(cmd_sock); in wifi_initialize()
253 nl_socket_free(cmd_sock); in wifi_initialize()
264 info->cmd_sock = cmd_sock; in wifi_initialize()
277 info->nl80211_family_id = genl_ctrl_resolve(cmd_sock, "nl80211"); in wifi_initialize()
280 nl_socket_free(cmd_sock); in wifi_initialize()
292 nl_socket_free(cmd_sock); in wifi_initialize()
304 nl_socket_free(cmd_sock); in wifi_initialize()
360 if (info->cmd_sock != 0) { in internal_cleaned_up_handler()
[all …]
Dcpp_bindings.cpp616 err = nl_send_auto_complete(mInfo->cmd_sock, request.getMessage()); /* send message */ in requestResponse()
629 int res = nl_recvmsgs(mInfo->cmd_sock, cb); in requestResponse()
654 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
679 res = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Dcommon.h181 struct nl_sock *cmd_sock; // command socket object member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp460 struct nl_sock *cmd_sock = NULL; in wifi_initialize() local
475 cmd_sock = wifi_create_nl_socket(WIFI_HAL_CMD_SOCK_PORT, in wifi_initialize()
477 if (cmd_sock == NULL) { in wifi_initialize()
484 if (nl_socket_set_buffer_size(cmd_sock, (256*1024), 0) < 0) { in wifi_initialize()
522 info->cmd_sock = cmd_sock; in wifi_initialize()
536 info->nl80211_family_id = genl_ctrl_resolve(cmd_sock, "nl80211"); in wifi_initialize()
702 if (cmd_sock) in wifi_initialize()
703 nl_socket_free(cmd_sock); in wifi_initialize()
767 if (info->cmd_sock != 0) { in internal_cleaned_up_handler()
768 nl_socket_free(info->cmd_sock); in internal_cleaned_up_handler()
[all …]
Dcpp_bindings.cpp602 err = nl_send_auto_complete(mInfo->cmd_sock, request.getMessage()); /* send message */ in requestResponse()
615 int res = nl_recvmsgs(mInfo->cmd_sock, cb); in requestResponse()
639 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestEvent()
665 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); /* send message */ in requestVendorEvent()
Dwificonfig.cpp536 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
550 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()
Dcommon.h97 struct nl_sock *cmd_sock; // command socket object member
Dnan_req.cpp1446 if (!mInfo->cmd_sock) { in requestEvent()
1453 ALOGV("%s:Handle:%p Socket Value:%p", __func__, mInfo, mInfo->cmd_sock); in requestEvent()
1454 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
1468 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()
Dwifilogger.cpp969 status = nl_send_auto_complete(mInfo->cmd_sock, mMsg.getMessage()); in requestEvent()
983 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()