Searched refs:ioctl_sock (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wext.c | 53 if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) { in wpa_driver_wext_set_auth_param() 81 if (ioctl(drv->ioctl_sock, SIOCGIWAP, &iwr) < 0) { in wpa_driver_wext_get_bssid() 111 if (ioctl(drv->ioctl_sock, SIOCSIWAP, &iwr) < 0) { in wpa_driver_wext_set_bssid() 137 if (ioctl(drv->ioctl_sock, SIOCGIWESSID, &iwr) < 0) { in wpa_driver_wext_get_ssid() 196 if (ioctl(drv->ioctl_sock, SIOCSIWESSID, &iwr) < 0) { in wpa_driver_wext_set_ssid() 223 if (ioctl(drv->ioctl_sock, SIOCSIWFREQ, &iwr) < 0) { in wpa_driver_wext_set_freq() 652 linux_iface_up(drv->ioctl_sock, drv->ifname) == 0) { in wpa_driver_wext_event_rtm_newlink() 739 if (linux_set_iface_flags(drv->ioctl_sock, drv->ifname, 1)) { in wpa_driver_wext_rfkill_unblocked() 809 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wext_init() 810 if (drv->ioctl_sock < 0) { in wpa_driver_wext_init() [all …]
|
D | driver_hostap.c | 42 int ioctl_sock; /* socket for ioctl() use */ member 360 if (linux_set_iface_flags(drv->ioctl_sock, ifname, dev_up) < 0) in hostap_set_iface_flags() 367 if (ioctl(drv->ioctl_sock, SIOCSIFMTU, &ifr) != 0) { in hostap_set_iface_flags() 389 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_HOSTAPD, &iwr) < 0) { in hostapd_ioctl() 507 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_PRISM2_PARAM, &iwr) < 0) { in hostap_ioctl_prism2param() 565 if (ioctl(drv->ioctl_sock, SIOCSIWESSID, &iwr) < 0) { in hostap_set_ssid() 928 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in hostap_get_we_version() 981 drv->ioctl_sock = drv->sock = -1; in hostap_init() 984 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in hostap_init() 985 if (drv->ioctl_sock < 0) { in hostap_init() [all …]
|
D | driver_atheros.c | 70 int ioctl_sock; /* socket for ioctl() use */ member 192 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_GETPARAM, &iwr) < 0) in get80211param() 229 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv() 250 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param() 844 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_DBGREQ, &iwr) < 0) { in atheros_set_qos_map() 1407 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr) in fetch_pending_big_events() 1604 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in atheros_get_we_version() 1733 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in atheros_init() 1734 if (drv->ioctl_sock < 0) { in atheros_init() 1743 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) { in atheros_init() [all …]
|
D | driver_nl80211_android.c | 62 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); in android_priv_cmd() 132 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); in android_pno_start()
|
D | driver_wext.h | 17 int ioctl_sock; member
|
D | driver_nl80211.c | 1135 linux_get_ifhwaddr(drv->global->ioctl_sock, in nl80211_refresh_mac() 1220 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { in wpa_driver_nl80211_event_rtm_newlink() 1258 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { in wpa_driver_nl80211_event_rtm_newlink() 2726 return linux_set_iface_flags(bss->drv->global->ioctl_sock, in i802_set_iface_flags() 2813 linux_iface_up(drv->global->ioctl_sock, bss->ifname) > 0) in wpa_driver_nl80211_finish_drv_init() 2826 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) || in wpa_driver_nl80211_finish_drv_init() 2827 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2880 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2935 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2946 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() [all …]
|
D | driver_nl80211.h | 35 int ioctl_sock; /* socket for ioctl() use */ member
|
D | driver_nl80211_monitor.c | 401 if (linux_set_iface_flags(drv->global->ioctl_sock, buf, 1)) in nl80211_create_monitor_interface()
|