Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:ireq

46 	struct ieee80211req ireq;
48 os_memset(&ireq, 0, sizeof(ireq));
49 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ);
50 ireq.i_type = op;
51 ireq.i_len = arg_len;
52 ireq.i_data = (void *) arg;
54 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) {
65 struct ieee80211req ireq;
67 os_memset(&ireq, 0, sizeof(ireq));
68 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ);
69 ireq.i_type = op;
70 ireq.i_len = arg_len;
71 ireq.i_data = arg;
73 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) {
78 return ireq.i_len;
84 struct ieee80211req ireq;
86 os_memset(&ireq, 0, sizeof(ireq));
87 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ);
88 ireq.i_type = op;
89 ireq.i_val = arg;
91 if (ioctl(drv->sock, SIOCS80211, &ireq) < 0) {
102 struct ieee80211req ireq;
104 os_memset(&ireq, 0, sizeof(ireq));
105 os_strncpy(ireq.i_name, drv->ifname, IFNAMSIZ);
106 ireq.i_type = op;
108 if (ioctl(drv->sock, SIOCG80211, &ireq) < 0) {
113 return ireq.i_val;