Lines Matching refs:iw_stats
587 pAd->iw_stats.status = 0; /* Status - device dependent for now */
591 pAd->iw_stats.qual.qual =
594 if (pAd->iw_stats.qual.qual > 100)
595 pAd->iw_stats.qual.qual = 100;
598 pAd->iw_stats.qual.level =
604 pAd->iw_stats.qual.noise = pAd->BbpWriteLatch[66]; /* noise level (dBm) */
606 pAd->iw_stats.qual.noise += 256 - 143;
607 pAd->iw_stats.qual.updated = 1; /* Flags to know if updated */
609 pAd->iw_stats.qual.updated |= IW_QUAL_DBM; /* Level + Noise are dBm */
612 pAd->iw_stats.discard.nwid = 0; /* Rx : Wrong nwid/essid */
613 pAd->iw_stats.miss.beacon = 0; /* Missed beacons/superframe */
616 return &pAd->iw_stats;