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() 663 linux_iface_up(drv->ioctl_sock, drv->ifname) == 0) { in wpa_driver_wext_event_rtm_newlink() 750 if (linux_set_iface_flags(drv->ioctl_sock, drv->ifname, 1)) { in wpa_driver_wext_rfkill_unblocked() 820 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in wpa_driver_wext_init() 821 if (drv->ioctl_sock < 0) { in wpa_driver_wext_init() [all …]
|
D | driver_hostap.c | 42 int ioctl_sock; /* socket for ioctl() use */ member 359 if (linux_set_iface_flags(drv->ioctl_sock, ifname, dev_up) < 0) in hostap_set_iface_flags() 366 if (ioctl(drv->ioctl_sock, SIOCSIFMTU, &ifr) != 0) { in hostap_set_iface_flags() 388 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_HOSTAPD, &iwr) < 0) { in hostapd_ioctl() 503 if (ioctl(drv->ioctl_sock, PRISM2_IOCTL_PRISM2_PARAM, &iwr) < 0) { in hostap_ioctl_prism2param() 561 if (ioctl(drv->ioctl_sock, SIOCSIWESSID, &iwr) < 0) { in hostap_set_ssid() 926 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in hostap_get_we_version() 979 drv->ioctl_sock = drv->sock = -1; in hostap_init() 982 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in hostap_init() 983 if (drv->ioctl_sock < 0) { in hostap_init() [all …]
|
D | driver_atheros.c | 66 int ioctl_sock; /* socket for ioctl() use */ member 205 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv() 226 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param() 815 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_DBGREQ, &iwr) < 0) { in atheros_set_qos_map() 1314 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr) in fetch_pending_big_events() 1502 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in atheros_get_we_version() 1610 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in atheros_init() 1611 if (drv->ioctl_sock < 0) { in atheros_init() 1620 if (ioctl(drv->ioctl_sock, SIOCGIFINDEX, &ifr) != 0) { in atheros_init() 1657 if (ioctl(drv->ioctl_sock, SIOCSIWMODE, &iwr) < 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_nl80211.c | 958 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { in wpa_driver_nl80211_event_rtm_newlink() 993 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { in wpa_driver_nl80211_event_rtm_newlink() 1012 linux_get_ifhwaddr(drv->global->ioctl_sock, in wpa_driver_nl80211_event_rtm_newlink() 1684 if (linux_iface_up(drv->global->ioctl_sock, ifname) > 0) in wpa_driver_nl80211_drv_init() 2100 return linux_set_iface_flags(bss->drv->global->ioctl_sock, in i802_set_iface_flags() 2194 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) || in wpa_driver_nl80211_finish_drv_init() 2195 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2239 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2290 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2299 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() [all …]
|
D | driver_wext.h | 17 int ioctl_sock; member
|
D | driver_nl80211.h | 36 int ioctl_sock; /* socket for ioctl() use */ member
|
D | driver_nl80211_monitor.c | 389 if (linux_set_iface_flags(drv->global->ioctl_sock, buf, 1)) in nl80211_create_monitor_interface()
|