/third_party/wpa_supplicant/wpa_supplicant-2.9/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 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() 924 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in hostap_get_we_version() 977 drv->ioctl_sock = drv->sock = -1; in hostap_init() 980 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in hostap_init() 981 if (drv->ioctl_sock < 0) { in hostap_init() [all …]
|
D | driver_atheros.c | 74 int ioctl_sock; /* socket for ioctl() use */ member 196 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_GETPARAM, &iwr) < 0) in get80211param() 233 if (ioctl(drv->ioctl_sock, op, &iwr) < 0) { in set80211priv() 254 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_SETPARAM, &iwr) < 0) { in set80211param() 848 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_DBGREQ, &iwr) < 0) { in atheros_set_qos_map() 1418 if (ioctl(drv->ioctl_sock, IEEE80211_IOCTL_P2P_BIG_PARAM, &iwr) in fetch_pending_big_events() 1615 if (ioctl(drv->ioctl_sock, SIOCGIWRANGE, &iwr) < 0) { in atheros_get_we_version() 1744 drv->ioctl_sock = socket(PF_INET, SOCK_DGRAM, 0); in atheros_init() 1745 if (drv->ioctl_sock < 0) { in atheros_init() 1754 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 | 1025 linux_get_ifhwaddr(drv->global->ioctl_sock, in nl80211_refresh_mac() 1110 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { in wpa_driver_nl80211_event_rtm_newlink() 1148 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { in wpa_driver_nl80211_event_rtm_newlink() 2546 return linux_set_iface_flags(bss->drv->global->ioctl_sock, in i802_set_iface_flags() 2632 linux_iface_up(drv->global->ioctl_sock, bss->ifname) > 0) in wpa_driver_nl80211_finish_drv_init() 2645 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) || in wpa_driver_nl80211_finish_drv_init() 2646 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2699 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2756 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 2767 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() [all …]
|
D | driver_nl80211.h | 37 int ioctl_sock; /* socket for ioctl() use */ member
|
D | driver_nl80211_monitor.c | 398 if (linux_set_iface_flags(drv->global->ioctl_sock, buf, 1)) in nl80211_create_monitor_interface()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 1171 linux_get_ifhwaddr(drv->global->ioctl_sock, in nl80211_refresh_mac() 1256 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { in wpa_driver_nl80211_event_rtm_newlink() 1294 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { in wpa_driver_nl80211_event_rtm_newlink() 2785 return linux_set_iface_flags(bss->drv->global->ioctl_sock, in i802_set_iface_flags() 2872 linux_iface_up(drv->global->ioctl_sock, bss->ifname) > 0) in wpa_driver_nl80211_finish_drv_init() 2885 (linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0) || in wpa_driver_nl80211_finish_drv_init() 2886 linux_set_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2939 if (linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, in wpa_driver_nl80211_finish_drv_init() 2994 if (linux_br_del_if(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() 3005 if (linux_set_iface_flags(drv->global->ioctl_sock, bss->brname, in wpa_driver_nl80211_deinit() [all …]
|
D | driver_nl80211.h | 36 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/ |
D | driver_nl80211_hisi.c | 128 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); in wpa_driver_nl80211_driver_cmd() 133 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); in wpa_driver_nl80211_driver_cmd() 140 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd() 229 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); in wpa_driver_nl80211_driver_cmd()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
D | driver_nl80211_hisi.c | 132 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 0); in wpa_driver_nl80211_driver_cmd() 135 linux_set_iface_flags(drv->global->ioctl_sock, bss->ifname, 1); in wpa_driver_nl80211_driver_cmd() 140 ret = linux_get_ifhwaddr(drv->global->ioctl_sock, bss->ifname, macaddr); in wpa_driver_nl80211_driver_cmd() 221 ret = ioctl(drv->global->ioctl_sock, SIOCDEVPRIVATE + 1, &ifr); in wpa_driver_nl80211_driver_cmd()
|