Lines Matching defs:atom
989 struct prism2_scan_apinfo *atom = NULL;
1025 atom = (struct prism2_scan_apinfo *) (buf + offset);
1026 if (memcmp(&atom->bssid, priv->desired_bssid, ETH_ALEN) == 0) {
1039 req.channel = atom->channel; /* both are little-endian */
3908 union hermes_scan_info *atom;
3926 * frame for a 68-byte atom. 76-byte atoms have 0 there.
3965 /* Get next atom */
3966 atom = (union hermes_scan_info *) (scan + offset);
3971 memcpy(iwe.u.ap_addr.sa_data, atom->a.bssid, ETH_ALEN);
3977 iwe.u.data.length = le16_to_cpu(atom->a.essid_len);
3982 current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, atom->a.essid);
3986 capabilities = le16_to_cpu(atom->a.capabilities);
3995 channel = atom->s.channel;
4008 iwe.u.qual.level = (__u8) le16_to_cpu(atom->a.level) - 0x95;
4009 iwe.u.qual.noise = (__u8) le16_to_cpu(atom->a.noise) - 0x95;
4025 current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, atom->a.essid);
4044 if (atom->p.rates[i] == 0x0)
4047 iwe.u.bitrate.value = ((atom->p.rates[i] & 0x7f) * 500000);