Lines Matching refs:survey_raw
540 dtime = tsf32 - priv->survey_raw.timestamp; in p54_rx_stats()
553 dcca = cca - priv->survey_raw.cached_cca; in p54_rx_stats()
554 drssi = rssi - priv->survey_raw.cached_rssi; in p54_rx_stats()
555 dtx = tx - priv->survey_raw.cached_tx; in p54_rx_stats()
564 priv->survey_raw.timestamp = tsf32; in p54_rx_stats()
569 priv->survey_raw.cca += dcca * unit; in p54_rx_stats()
570 priv->survey_raw.cached_cca = cca; in p54_rx_stats()
573 priv->survey_raw.tx += dtx * unit; in p54_rx_stats()
574 priv->survey_raw.cached_tx = tx; in p54_rx_stats()
577 priv->survey_raw.rssi += drssi * unit; in p54_rx_stats()
578 priv->survey_raw.cached_rssi = rssi; in p54_rx_stats()
583 priv->survey_raw.active += dtotal * unit; in p54_rx_stats()
585 priv->survey_raw.active += (dcca + dtx) * unit; in p54_rx_stats()
592 survey->time = priv->survey_raw.active; in p54_rx_stats()
593 survey->time_tx = priv->survey_raw.tx; in p54_rx_stats()
594 survey->time_busy = priv->survey_raw.tx + in p54_rx_stats()
595 priv->survey_raw.cca; in p54_rx_stats()