Home
last modified time | relevance | path

Searched refs:survey (Results 1 – 43 of 43) sorted by relevance

/linux-4.4.14/net/mac80211/
Dethtool.c74 struct survey_info survey; in ieee80211_get_stats() local
146 survey.filled = 0; in ieee80211_get_stats()
159 survey.filled = 0; in ieee80211_get_stats()
160 if (drv_get_survey(local, q, &survey) != 0) { in ieee80211_get_stats()
161 survey.filled = 0; in ieee80211_get_stats()
165 } while (channel != survey.channel); in ieee80211_get_stats()
168 if (survey.filled) in ieee80211_get_stats()
169 data[i++] = survey.channel->center_freq; in ieee80211_get_stats()
172 if (survey.filled & SURVEY_INFO_NOISE_DBM) in ieee80211_get_stats()
173 data[i++] = (u8)survey.noise; in ieee80211_get_stats()
[all …]
Ddriver-ops.h593 struct survey_info *survey) in drv_get_survey() argument
597 trace_drv_get_survey(local, idx, survey); in drv_get_survey()
600 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
Dtrace.h1010 struct survey_info *survey),
1012 TP_ARGS(local, idx, survey),
Dcfg.c494 int idx, struct survey_info *survey) in ieee80211_dump_survey() argument
498 return drv_get_survey(local, idx, survey); in ieee80211_dump_survey()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dhw.c139 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey, in ath10k_hw_fill_survey_time() argument
144 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time()
149 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time()
155 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time()
156 survey->time_busy = CCNT_TO_MSEC(ar, rcc); in ath10k_hw_fill_survey_time()
Dhw.h249 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey,
Dcore.h801 struct survey_info survey[ATH10K_NUM_CHANS]; member
Dmac.c5941 struct survey_info *survey) in ath10k_get_survey() argument
5945 struct survey_info *ar_survey = &ar->survey[idx]; in ath10k_get_survey()
5965 memcpy(survey, ar_survey, sizeof(*survey)); in ath10k_get_survey()
5968 survey->channel = &sband->channels[idx]; in ath10k_get_survey()
5970 if (ar->rx_channel == survey->channel) in ath10k_get_survey()
5971 survey->filled |= SURVEY_INFO_IN_USE; in ath10k_get_survey()
Dwmi.c2359 struct survey_info *survey; in ath10k_wmi_event_chan_info() local
2394 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info()
2402 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info()
2403 survey->noise = noise_floor; in ath10k_wmi_event_chan_info()
2404 survey->filled = SURVEY_INFO_NOISE_DBM; in ath10k_wmi_event_chan_info()
2407 survey, in ath10k_wmi_event_chan_info()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dlink.c488 struct survey_info *survey = &sc->survey[channel]; in ath_update_survey_nf() local
491 survey->filled |= SURVEY_INFO_NOISE_DBM; in ath_update_survey_nf()
492 survey->noise = ath9k_hw_getchan_noise(ah, chan, in ath_update_survey_nf()
507 struct survey_info *survey = &sc->survey[pos]; in ath_update_survey_stats() local
519 survey->filled |= SURVEY_INFO_TIME | in ath_update_survey_stats()
523 survey->time += cc->cycles / div; in ath_update_survey_stats()
524 survey->time_busy += cc->rx_busy / div; in ath_update_survey_stats()
525 survey->time_rx += cc->rx_frame / div; in ath_update_survey_stats()
526 survey->time_tx += cc->tx_frame / div; in ath_update_survey_stats()
Dchannel.c56 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel()
60 sc->cur_survey = &sc->survey[pos]; in ath_set_channel()
64 } else if (!(sc->survey[pos].filled & SURVEY_INFO_IN_USE)) { in ath_set_channel()
65 memset(&sc->survey[pos], 0, sizeof(struct survey_info)); in ath_set_channel()
Dmain.c1917 struct survey_info *survey) in ath9k_get_survey() argument
1948 memcpy(survey, &sc->survey[pos], sizeof(*survey)); in ath9k_get_survey()
1949 survey->channel = chan; in ath9k_get_survey()
Dath9k.h960 struct survey_info survey[ATH9K_NUM_CHANNELS]; member
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c650 ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) in ath5k_get_survey() argument
664 ah->survey.time += cc->cycles / div; in ath5k_get_survey()
665 ah->survey.time_busy += cc->rx_busy / div; in ath5k_get_survey()
666 ah->survey.time_rx += cc->rx_frame / div; in ath5k_get_survey()
667 ah->survey.time_tx += cc->tx_frame / div; in ath5k_get_survey()
672 memcpy(survey, &ah->survey, sizeof(*survey)); in ath5k_get_survey()
674 survey->channel = conf->chandef.chan; in ath5k_get_survey()
675 survey->noise = ah->ah_noise_floor; in ath5k_get_survey()
676 survey->filled = SURVEY_INFO_NOISE_DBM | in ath5k_get_survey()
Dath5k.h1348 struct survey_info survey; /* collected survey info */ member
Dbase.c2942 memset(&ah->survey, 0, sizeof(ah->survey)); in ath5k_reset()
/linux-4.4.14/drivers/net/wireless/p54/
Dmain.c305 struct survey_info *info = &priv->survey[chan->hw_value]; in p54_reset_stats()
610 struct survey_info *survey) in p54_get_survey() argument
633 memcpy(survey, &priv->survey[idx], sizeof(*survey)); in p54_get_survey()
637 if (survey->time != 0) { in p54_get_survey()
638 survey->filled |= SURVEY_INFO_IN_USE; in p54_get_survey()
840 kfree(priv->survey); in p54_free_common()
846 priv->survey = NULL; in p54_free_common()
Dtxrx.c588 struct survey_info *survey = &priv->survey[chan->hw_value]; in p54_rx_stats() local
589 survey->noise = clamp(priv->noise, -128, 127); in p54_rx_stats()
590 survey->time = priv->survey_raw.active; in p54_rx_stats()
591 survey->time_tx = priv->survey_raw.tx; in p54_rx_stats()
592 survey->time_busy = priv->survey_raw.tx + in p54_rx_stats()
594 do_div(survey->time, 1024); in p54_rx_stats()
595 do_div(survey->time_tx, 1024); in p54_rx_stats()
596 do_div(survey->time_busy, 1024); in p54_rx_stats()
Deeprom.c197 priv->survey[*chan_num].channel = &tmp->channels[j]; in p54_generate_band()
198 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | in p54_generate_band()
347 priv->survey = kzalloc(sizeof(struct survey_info) * max_channel_num, in p54_generate_channel_lists()
349 if (!priv->survey) { in p54_generate_channel_lists()
414 kfree(priv->survey); in p54_generate_channel_lists()
415 priv->survey = NULL; in p54_generate_channel_lists()
937 kfree(priv->survey); in p54_parse_eeprom()
942 priv->survey = NULL; in p54_parse_eeprom()
Dp54.h204 struct survey_info *survey; member
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dmain.c1648 struct survey_info *survey) in carl9170_op_get_survey() argument
1683 memcpy(survey, &ar->survey[idx], sizeof(*survey)); in carl9170_op_get_survey()
1685 survey->channel = chan; in carl9170_op_get_survey()
1686 survey->filled = SURVEY_INFO_NOISE_DBM; in carl9170_op_get_survey()
1689 survey->filled |= SURVEY_INFO_IN_USE; in carl9170_op_get_survey()
1692 survey->filled |= SURVEY_INFO_TIME | in carl9170_op_get_survey()
1957 ar->survey = kzalloc(sizeof(struct survey_info) * chans, GFP_KERNEL); in carl9170_parse_eeprom()
1958 if (!ar->survey) in carl9170_parse_eeprom()
2106 kfree(ar->survey); in carl9170_free()
2107 ar->survey = NULL; in carl9170_free()
Dcmd.c190 info = &ar->survey[ar->channel->hw_value]; in carl9170_collect_tally()
Dcarl9170.h346 struct survey_info *survey; member
Dphy.c1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c529 struct survey_info *survey) in lbtf_op_get_survey() argument
537 survey->channel = conf->chandef.chan; in lbtf_op_get_survey()
538 survey->filled = SURVEY_INFO_NOISE_DBM; in lbtf_op_get_survey()
539 survey->noise = priv->noise; in lbtf_op_get_survey()
/linux-4.4.14/Documentation/DocBook/
D80211.xml.db29 API-enum-survey-info-flags
30 API-struct-survey-info
/linux-4.4.14/drivers/net/wireless/
Dmwl8k.c302 struct survey_info survey[MWL8K_NUM_CHANS]; member
3089 struct survey_info *survey; in mwl8k_update_survey() local
3097 survey = &priv->survey[idx]; in mwl8k_update_survey()
3101 survey->time_busy = (u64) cca_cnt; in mwl8k_update_survey()
3105 survey->time_rx = (u64) rx_rdy; in mwl8k_update_survey()
3108 survey->time = jiffies_to_msecs(priv->channel_time); in mwl8k_update_survey()
3110 survey->channel = channel; in mwl8k_update_survey()
3115 survey->noise = nf * -1; in mwl8k_update_survey()
3117 survey->filled = SURVEY_INFO_NOISE_DBM | in mwl8k_update_survey()
5384 struct survey_info *survey) in mwl8k_get_survey() argument
[all …]
Dmac80211_hwsim.c1718 struct survey_info *survey) in mac80211_hwsim_get_survey() argument
1728 survey->channel = conf->chandef.chan; in mac80211_hwsim_get_survey()
1736 survey->filled = SURVEY_INFO_NOISE_DBM; in mac80211_hwsim_get_survey()
1737 survey->noise = -92; in mac80211_hwsim_get_survey()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c3984 struct survey_info *survey) in iwl_mvm_mac_get_survey() argument
3989 memset(survey, 0, sizeof(*survey)); in iwl_mvm_mac_get_survey()
4007 survey->filled = SURVEY_INFO_TIME | in iwl_mvm_mac_get_survey()
4011 survey->time = mvm->accu_radio_stats.on_time_rf + in iwl_mvm_mac_get_survey()
4013 do_div(survey->time, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
4015 survey->time_rx = mvm->accu_radio_stats.rx_time + in iwl_mvm_mac_get_survey()
4017 do_div(survey->time_rx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
4019 survey->time_tx = mvm->accu_radio_stats.tx_time + in iwl_mvm_mac_get_survey()
4021 do_div(survey->time_tx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey()
4023 survey->time_scan = mvm->accu_radio_stats.on_time_scan + in iwl_mvm_mac_get_survey()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfg80211.c1402 int idx, struct survey_info *survey) in mwifiex_cfg80211_dump_survey() argument
1410 memset(survey, 0, sizeof(struct survey_info)); in mwifiex_cfg80211_dump_survey()
1418 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey()
1422 survey->filled = SURVEY_INFO_NOISE_DBM; in mwifiex_cfg80211_dump_survey()
1423 survey->noise = priv->bcn_nf_last; in mwifiex_cfg80211_dump_survey()
1435 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey()
1437 survey->filled = SURVEY_INFO_NOISE_DBM | in mwifiex_cfg80211_dump_survey()
1440 survey->noise = pchan_stats[idx].noise; in mwifiex_cfg80211_dump_survey()
1441 survey->time = pchan_stats[idx].cca_scan_dur; in mwifiex_cfg80211_dump_survey()
1442 survey->time_busy = pchan_stats[idx].cca_busy_dur; in mwifiex_cfg80211_dump_survey()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c1346 struct survey_info *survey) in wl1251_op_get_survey() argument
1354 survey->channel = conf->chandef.chan; in wl1251_op_get_survey()
1355 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1251_op_get_survey()
1356 survey->noise = wl->noise; in wl1251_op_get_survey()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2800lib.h225 struct survey_info *survey);
Drt2800lib.c7985 struct survey_info *survey) in rt2800_get_survey() argument
7994 survey->channel = conf->chandef.chan; in rt2800_get_survey()
8001 survey->filled = SURVEY_INFO_TIME | in rt2800_get_survey()
8005 survey->time = (idle + busy) / 1000; in rt2800_get_survey()
8006 survey->time_busy = busy / 1000; in rt2800_get_survey()
8007 survey->time_ext_busy = busy_ext / 1000; in rt2800_get_survey()
8011 survey->filled |= SURVEY_INFO_IN_USE; in rt2800_get_survey()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_mlme.c575 struct survey_event *survey = (struct survey_event *)pbuf; in rtw_survey_event_cb23a() local
577 pnetwork = survey->bss; in rtw_survey_event_cb23a()
632 kfree(survey->bss); in rtw_survey_event_cb23a()
633 survey->bss = NULL; in rtw_survey_event_cb23a()
/linux-4.4.14/net/wireless/
Dnl80211.c6842 struct survey_info *survey) in nl80211_send_survey() argument
6848 if (!survey->channel && !allow_radio_stats) in nl80211_send_survey()
6863 if (survey->channel && in nl80211_send_survey()
6865 survey->channel->center_freq)) in nl80211_send_survey()
6868 if ((survey->filled & SURVEY_INFO_NOISE_DBM) && in nl80211_send_survey()
6869 nla_put_u8(msg, NL80211_SURVEY_INFO_NOISE, survey->noise)) in nl80211_send_survey()
6871 if ((survey->filled & SURVEY_INFO_IN_USE) && in nl80211_send_survey()
6874 if ((survey->filled & SURVEY_INFO_TIME) && in nl80211_send_survey()
6876 survey->time)) in nl80211_send_survey()
6878 if ((survey->filled & SURVEY_INFO_TIME_BUSY) && in nl80211_send_survey()
[all …]
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dmain.c3549 struct survey_info *survey) in b43legacy_op_get_survey() argument
3558 survey->channel = conf->chandef.chan; in b43legacy_op_get_survey()
3559 survey->filled = SURVEY_INFO_NOISE_DBM; in b43legacy_op_get_survey()
3560 survey->noise = dev->stats.link_noise; in b43legacy_op_get_survey()
/linux-4.4.14/drivers/net/wireless/b43/
Dmain.c5189 struct survey_info *survey) in b43_op_get_survey() argument
5198 survey->channel = conf->chandef.chan; in b43_op_get_survey()
5199 survey->filled = SURVEY_INFO_NOISE_DBM; in b43_op_get_survey()
5200 survey->noise = dev->stats.link_noise; in b43_op_get_survey()
/linux-4.4.14/include/net/
Dmac80211.h3385 struct survey_info *survey);
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dmain.c4955 struct survey_info *survey) in wl1271_op_get_survey() argument
4962 survey->channel = conf->chandef.chan; in wl1271_op_get_survey()
4963 survey->filled = 0; in wl1271_op_get_survey()
/linux-4.4.14/Documentation/
Ddma-buf-sharing.txt368 initial mmap is all that's needed. A survey of some of the existing
/linux-4.4.14/Documentation/filesystems/
Df2fs.txt379 Reference the following survey for additional technical details.
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt250 just confirms the Dhall's effect. A more complete survey of the literature
/linux-4.4.14/Documentation/RCU/
DRTFP.txt2744 ,url=http://rdrop.com/users/paulmck/techreports/survey.2012.09.17a.pdf