HomeSort by relevance Sort by last modified time
    Searched refs:ioctl_sock (Results 1 - 11 of 11) sorted by null

  /external/wpa_supplicant_8/src/drivers/
driver_wext.h 17 int ioctl_sock; member in struct:wpa_driver_wext_data
driver_hostap.c 42 int ioctl_sock; /* socket for ioctl() use */ member in struct:hostap_driver_data
356 if (linux_set_iface_flags(drv->ioctl_sock, ifname, dev_up) < 0)
363 if (ioctl(drv->ioctl_sock, SIOCSIFMTU, &ifr) != 0) {
385 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_HOSTAPD, &iwr) < 0) {
499 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_PRISM2_PARAM, &iwr) < 0) {
556 if (ioctl(drv->ioctl_sock, SIOCSIWESSID, &iwr) < 0) {
921 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) {
973 drv->ioctl_sock = drv->sock = -1;
976 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
977 if (drv->ioctl_sock < 0)
    [all...]
driver_madwifi.c 80 int ioctl_sock; /* socket for ioctl() use */ member in struct:madwifi_driver_data
122 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) {
204 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) {
807 if (ioctl(drv->ioctl_sock, SIOCSIWFREQ, &iwr) < 0) {
1035 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) {
1140 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
1141 if (drv->ioctl_sock < 0) {
1149 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) {
1184 if (ioctl(drv->ioctl_sock, SIOCSIWMODE, &iwr) < 0) {
1191 linux_set_iface_flags(drv->ioctl_sock, drv->iface, 0)
    [all...]
driver_wext.c 52 if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) {
80 if (ioctl(drv->ioctl_sock, SIOCGIWAP, &iwr) < 0) {
110 if (ioctl(drv->ioctl_sock, SIOCSIWAP, &iwr) < 0) {
136 if (ioctl(drv->ioctl_sock, SIOCGIWESSID, &iwr) < 0) {
194 if (ioctl(drv->ioctl_sock, SIOCSIWESSID, &iwr) < 0) {
220 if (ioctl(drv->ioctl_sock, SIOCSIWFREQ, &iwr) < 0) {
659 linux_iface_up(drv->ioctl_sock, drv->ifname) == 0) {
746 if (linux_set_iface_flags(drv->ioctl_sock, drv->ifname, 1)) {
816 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
817 if (drv->ioctl_sock < 0)
    [all...]
driver_atheros.c 66 int ioctl_sock; /* socket for ioctl() use */ member in struct:atheros_driver_data
205 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) {
226 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) {
949 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_DBGREQ, &iwr) < 0) {
    [all...]
driver_nl80211.c 204 int ioctl_sock; /* socket for ioctl() use */ member in struct:nl80211_global
1255 linux_iface_up(drv->global->ioctl_sock,
1285 linux_iface_up(drv->global->ioctl_sock,
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
driver_cmd_nl80211.c 91 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0);
94 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1);
99 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr);
118 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) {
driver_cmd_wext.c 122 if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) {
265 ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr);
304 linux_set_iface_flags(drv->ioctl_sock, drv->ifname, 0);
337 ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr);
357 linux_set_iface_flags(drv->ioctl_sock, drv->ifname, 1);
  /hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
driver_cmd_nl80211.c 70 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0);
73 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1);
78 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr);
93 if ((ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr)) < 0) {
  /hardware/libhardware_legacy/include/hardware_legacy/
driver_nl80211.h 76 int ioctl_sock; /* socket for ioctl() use */ member in struct:nl80211_global
  /frameworks/opt/net/wifi/service/tools/halutil/
halutil.cpp 48 static int ioctl_sock = 0; variable
122 ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
123 if (ioctl_sock < 0) {
124 printMsg("Bad socket: %d\n", ioctl_sock);
127 printMsg("Good socket: %d\n", ioctl_sock);
130 int ret = linux_set_iface_flags(ioctl_sock, "wlan0", 1);
    [all...]

Completed in 190 milliseconds