Lines Matching refs:qual
57 wstats->qual.updated = IW_QUAL_ALL_UPDATED |
60 wstats->qual.qual = local->comms_qual;
61 wstats->qual.level = local->avg_signal;
62 wstats->qual.noise = local->avg_noise;
64 wstats->qual.qual = 0;
65 wstats->qual.level = 0;
66 wstats->qual.noise = 0;
67 wstats->qual.updated = IW_QUAL_ALL_INVALID;
501 struct iw_quality *qual;
514 qual = kmalloc(sizeof(struct iw_quality) * IW_MAX_AP, GFP_KERNEL);
515 if (addr == NULL || qual == NULL) {
517 kfree(qual);
522 data->length = prism2_ap_get_sta_qual(local, addr, qual, IW_MAX_AP, 1);
526 memcpy(extra + sizeof(struct sockaddr) * data->length, &qual,
530 kfree(qual);
1013 range->max_qual.qual = 70; /* what is correct max? This was not
1019 /* What would be suitable values for "average/typical" qual? */
1020 range->avg_qual.qual = 20;
1024 range->max_qual.qual = 92; /* 0 .. 92 */
1829 iwe.u.qual.level = le16_to_cpu(scan->sl);
1830 iwe.u.qual.noise = le16_to_cpu(scan->anl);
1832 iwe.u.qual.level =
1834 iwe.u.qual.noise =
1837 iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED