Searched refs:chan_survey (Results 1 – 6 of 6) 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()1594 wcn->chan_survey = devm_kcalloc(wcn->dev, in wcn36xx_probe()1598 if (!wcn->chan_survey) { in wcn36xx_probe()
301 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()
754 struct rt2x00_chan_survey *chan_survey; member
1258 struct rt2x00_chan_survey *chan_survey = in rt2800_update_survey() local1259 &rt2x00dev->chan_survey[chan->hw_value]; in rt2800_update_survey()1261 chan_survey->time_idle += rt2800_register_read(rt2x00dev, CH_IDLE_STA); in rt2800_update_survey()1262 chan_survey->time_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA); in rt2800_update_survey()1263 chan_survey->time_ext_busy += rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC); in rt2800_update_survey()11914 rt2x00dev->chan_survey = in rt2800_probe_hw_mode()11916 if (!rt2x00dev->chan_survey) { in rt2800_probe_hw_mode()12310 struct rt2x00_chan_survey *chan_survey = in rt2800_get_survey() local12311 &rt2x00dev->chan_survey[idx]; in rt2800_get_survey()12331 survey->time = div_u64(chan_survey->time_idle + chan_survey->time_busy, 1000); in rt2800_get_survey()[all …]
1101 kfree(rt2x00dev->chan_survey); in rt2x00lib_remove_hw()