Searched refs:ioctl_sock (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wext.h17 int ioctl_sock; member in struct:wpa_driver_wext_data
H A Ddriver_hostap.c42 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 <
[all...]
H A Ddriver_madwifi.c80 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, dr
[all...]
H A Ddriver_wext.c52 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 <
[all...]
H A Ddriver_atheros.c66 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) {
1420 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr)
1608 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) {
1713 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
1714 if (drv->ioctl_sock < 0) {
1722 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) {
1758 if (ioctl(drv->ioctl_sock, SIOCSIWMOD
[all...]
H A Ddriver_nl80211.c204 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,
4328 if (linux_iface_up(drv->global->ioctl_sock, ifname) > 0)
4741 return linux_set_iface_flags(bss->drv->global->ioctl_sock,
4777 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) ||
4778 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4822 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4875 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname,
4882 if (linux_br_del(drv->global->ioctl_sock, bs
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_wext.h17 int ioctl_sock; member in struct:wpa_driver_wext_data
H A Ddriver_hostap.c42 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 <
[all...]
H A Ddriver_madwifi.c80 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, dr
[all...]
H A Ddriver_wext.c52 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 <
[all...]
H A Ddriver_atheros.c66 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) {
1420 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr)
1608 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) {
1713 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
1714 if (drv->ioctl_sock < 0) {
1722 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) {
1758 if (ioctl(drv->ioctl_sock, SIOCSIWMOD
[all...]
H A Ddriver_nl80211.c204 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,
4328 if (linux_iface_up(drv->global->ioctl_sock, ifname) > 0)
4741 return linux_set_iface_flags(bss->drv->global->ioctl_sock,
4777 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) ||
4778 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4822 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4875 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname,
4882 if (linux_br_del(drv->global->ioctl_sock, bs
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_wext.h17 int ioctl_sock; member in struct:wpa_driver_wext_data
H A Ddriver_hostap.c42 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 <
[all...]
H A Ddriver_madwifi.c80 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, dr
[all...]
H A Ddriver_wext.c52 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 <
[all...]
H A Ddriver_atheros.c66 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) {
1420 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr)
1608 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) {
1713 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0);
1714 if (drv->ioctl_sock < 0) {
1722 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) {
1758 if (ioctl(drv->ioctl_sock, SIOCSIWMOD
[all...]
H A Ddriver_nl80211.c204 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,
4328 if (linux_iface_up(drv->global->ioctl_sock, ifname) > 0)
4741 return linux_set_iface_flags(bss->drv->global->ioctl_sock,
4777 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) ||
4778 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4822 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname,
4875 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname,
4882 if (linux_br_del(drv->global->ioctl_sock, bs
[all...]

Completed in 572 milliseconds