Searched refs:chan_survey (Results 1 – 5 of 5) sorted by relevance
1297 struct wcn36xx_chan_survey *chan_survey; in wcn36xx_get_survey() local1313 chan_survey = &wcn->chan_survey[idx]; in wcn36xx_get_survey()1315 survey->noise = chan_survey->rssi - chan_survey->snr; in wcn36xx_get_survey()1318 if (chan_survey->rssi > -100 && chan_survey->rssi < 0) in wcn36xx_get_survey()1329 chan_survey->rssi, chan_survey->snr, survey->noise, in wcn36xx_get_survey()1588 wcn->chan_survey = devm_kmalloc(wcn->dev, n_channels, GFP_KERNEL); in wcn36xx_probe()1589 if (!wcn->chan_survey) { in wcn36xx_probe()
297 struct wcn36xx_chan_survey *chan_survey; member
299 wcn->chan_survey[idx].rssi = rssi; in wcn36xx_update_survey()300 wcn->chan_survey[idx].snr = snr; in wcn36xx_update_survey()
764 struct rt2x00_chan_survey *chan_survey; member
1254 struct rt2x00_chan_survey *chan_survey = in rt2800_update_survey() local1255 &rt2x00dev->chan_survey[chan->hw_value]; in rt2800_update_survey()1257 chan_survey->time_idle += rt2800_register_read(rt2x00dev, CH_IDLE_STA); in rt2800_update_survey()1258 chan_survey->time_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA); in rt2800_update_survey()1259 chan_survey->time_ext_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC); in rt2800_update_survey()11736 rt2x00dev->chan_survey = in rt2800_probe_hw_mode()11739 if (!rt2x00dev->chan_survey) { in rt2800_probe_hw_mode()12131 struct rt2x00_chan_survey *chan_survey = in rt2800_get_survey() local12132 &rt2x00dev->chan_survey[idx]; in rt2800_get_survey()12152 survey->time = div_u64(chan_survey->time_idle + chan_survey->time_busy, 1000); in rt2800_get_survey()[all …]