Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/ath/wcn36xx/
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()
1588 wcn->chan_survey = devm_kmalloc(wcn->dev, n_channels, GFP_KERNEL); in wcn36xx_probe()
1589 if (!wcn->chan_survey) { in wcn36xx_probe()
Dwcn36xx.h297 struct wcn36xx_chan_survey *chan_survey; member
Dtxrx.c299 wcn->chan_survey[idx].rssi = rssi; in wcn36xx_update_survey()
300 wcn->chan_survey[idx].snr = snr; in wcn36xx_update_survey()
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00.h764 struct rt2x00_chan_survey *chan_survey; member
Drt2800lib.c1254 struct rt2x00_chan_survey *chan_survey = in rt2800_update_survey() local
1255 &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() local
12132 &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 …]