Lines Matching refs:iwe

1045 	struct iw_event iwe;  in ieee80211_scan_add_ies()  local
1063 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies()
1064 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies()
1065 iwe.u.data.length = next - pos; in ieee80211_scan_add_ies()
1067 end_buf, &iwe, pos); in ieee80211_scan_add_ies()
1073 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies()
1074 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies()
1075 iwe.u.data.length = end - pos; in ieee80211_scan_add_ies()
1077 end_buf, &iwe, pos); in ieee80211_scan_add_ies()
1096 struct iw_event iwe; in ieee80211_bss() local
1102 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1103 iwe.cmd = SIOCGIWAP; in ieee80211_bss()
1104 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_bss()
1105 memcpy(iwe.u.ap_addr.sa_data, bss->pub.bssid, ETH_ALEN); in ieee80211_bss()
1106 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in ieee80211_bss()
1109 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1110 iwe.cmd = SIOCGIWFREQ; in ieee80211_bss()
1111 iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq); in ieee80211_bss()
1112 iwe.u.freq.e = 0; in ieee80211_bss()
1113 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in ieee80211_bss()
1116 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1117 iwe.cmd = SIOCGIWFREQ; in ieee80211_bss()
1118 iwe.u.freq.m = bss->pub.channel->center_freq; in ieee80211_bss()
1119 iwe.u.freq.e = 6; in ieee80211_bss()
1120 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in ieee80211_bss()
1124 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1125 iwe.cmd = IWEVQUAL; in ieee80211_bss()
1126 iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED | in ieee80211_bss()
1132 iwe.u.qual.level = sig; in ieee80211_bss()
1133 iwe.u.qual.updated |= IW_QUAL_DBM; in ieee80211_bss()
1139 iwe.u.qual.qual = sig + 110; in ieee80211_bss()
1142 iwe.u.qual.level = bss->pub.signal; in ieee80211_bss()
1144 iwe.u.qual.qual = bss->pub.signal; in ieee80211_bss()
1151 &iwe, IW_EV_QUAL_LEN); in ieee80211_bss()
1154 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1155 iwe.cmd = SIOCGIWENCODE; in ieee80211_bss()
1157 iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; in ieee80211_bss()
1159 iwe.u.data.flags = IW_ENCODE_DISABLED; in ieee80211_bss()
1160 iwe.u.data.length = 0; in ieee80211_bss()
1162 &iwe, ""); in ieee80211_bss()
1171 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1172 iwe.cmd = SIOCGIWESSID; in ieee80211_bss()
1173 iwe.u.data.length = ie[1]; in ieee80211_bss()
1174 iwe.u.data.flags = 1; in ieee80211_bss()
1176 &iwe, ie + 2); in ieee80211_bss()
1179 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1180 iwe.cmd = SIOCGIWESSID; in ieee80211_bss()
1181 iwe.u.data.length = ie[1]; in ieee80211_bss()
1182 iwe.u.data.flags = 1; in ieee80211_bss()
1184 &iwe, ie + 2); in ieee80211_bss()
1194 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1195 iwe.cmd = IWEVCUSTOM; in ieee80211_bss()
1198 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1201 &iwe, buf); in ieee80211_bss()
1204 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1207 &iwe, buf); in ieee80211_bss()
1210 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1213 &iwe, buf); in ieee80211_bss()
1215 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1218 &iwe, buf); in ieee80211_bss()
1220 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1223 &iwe, buf); in ieee80211_bss()
1225 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1228 &iwe, buf); in ieee80211_bss()
1230 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1233 &iwe, buf); in ieee80211_bss()
1241 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1242 iwe.cmd = SIOCGIWRATE; in ieee80211_bss()
1244 iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; in ieee80211_bss()
1247 iwe.u.bitrate.value = in ieee80211_bss()
1250 end_buf, &iwe, IW_EV_PARAM_LEN); in ieee80211_bss()
1261 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1262 iwe.cmd = SIOCGIWMODE; in ieee80211_bss()
1264 iwe.u.mode = IW_MODE_MESH; in ieee80211_bss()
1266 iwe.u.mode = IW_MODE_MASTER; in ieee80211_bss()
1268 iwe.u.mode = IW_MODE_ADHOC; in ieee80211_bss()
1270 &iwe, IW_EV_UINT_LEN); in ieee80211_bss()
1275 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1276 iwe.cmd = IWEVCUSTOM; in ieee80211_bss()
1278 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1280 &iwe, buf); in ieee80211_bss()
1281 memset(&iwe, 0, sizeof(iwe)); in ieee80211_bss()
1282 iwe.cmd = IWEVCUSTOM; in ieee80211_bss()
1285 iwe.u.data.length = strlen(buf); in ieee80211_bss()
1287 end_buf, &iwe, buf); in ieee80211_bss()