Home
last modified time | relevance | path

Searched refs:chan_survey (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c1297 struct wcn36xx_chan_survey *chan_survey; in wcn36xx_get_survey() local
1313 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()
H A Dwcn36xx.h301 struct wcn36xx_chan_survey *chan_survey; member
H A Dtxrx.c299 wcn->chan_survey[idx].rssi = rssi; in wcn36xx_update_survey()
300 wcn->chan_survey[idx].snr = snr; in wcn36xx_update_survey()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00.h754 struct rt2x00_chan_survey *chan_survey; member
H A Drt2800lib.c1258 struct rt2x00_chan_survey *chan_survey = in rt2800_update_survey() local
1259 &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() local
12311 &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 …]
H A Drt2x00dev.c1101 kfree(rt2x00dev->chan_survey); in rt2x00lib_remove_hw()