Lines Matching refs:ctrl
17 struct wpa_ctrl *ctrl; member
30 self->ctrl = wpa_ctrl_open(path); in wpaspy_open()
31 if (self->ctrl == NULL) in wpaspy_open()
40 if (self->ctrl) { in wpaspy_close()
42 wpa_ctrl_detach(self->ctrl); in wpaspy_close()
43 wpa_ctrl_close(self->ctrl); in wpaspy_close()
44 self->ctrl = NULL; in wpaspy_close()
62 ret = wpa_ctrl_request(self->ctrl, cmd, strlen(cmd), buf, &buflen, in wpaspy_request()
85 ret = wpa_ctrl_attach(self->ctrl); in wpaspy_attach()
101 ret = wpa_ctrl_detach(self->ctrl); in wpaspy_detach()
112 switch (wpa_ctrl_pending(self->ctrl)) { in wpaspy_pending()
134 ret = wpa_ctrl_recv(self->ctrl, buf, &buflen); in wpaspy_recv()