/linux-4.1.27/net/mac80211/ |
D | ethtool.c | 74 struct survey_info survey; in ieee80211_get_stats() local 148 survey.filled = 0; in ieee80211_get_stats() 161 survey.filled = 0; in ieee80211_get_stats() 162 if (drv_get_survey(local, q, &survey) != 0) { in ieee80211_get_stats() 163 survey.filled = 0; in ieee80211_get_stats() 167 } while (channel != survey.channel); in ieee80211_get_stats() 170 if (survey.filled) in ieee80211_get_stats() 171 data[i++] = survey.channel->center_freq; in ieee80211_get_stats() 174 if (survey.filled & SURVEY_INFO_NOISE_DBM) in ieee80211_get_stats() 175 data[i++] = (u8)survey.noise; in ieee80211_get_stats() [all …]
|
D | driver-ops.h | 767 struct survey_info *survey) in drv_get_survey() argument 771 trace_drv_get_survey(local, idx, survey); in drv_get_survey() 774 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
|
D | trace.h | 978 struct survey_info *survey), 980 TP_ARGS(local, idx, survey),
|
D | cfg.c | 536 int idx, struct survey_info *survey) in ieee80211_dump_survey() argument 540 return drv_get_survey(local, idx, survey); in ieee80211_dump_survey()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | link.c | 488 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()
|
D | channel.c | 56 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()
|
D | main.c | 1907 struct survey_info *survey) in ath9k_get_survey() argument 1938 memcpy(survey, &sc->survey[pos], sizeof(*survey)); in ath9k_get_survey() 1939 survey->channel = chan; in ath9k_get_survey()
|
D | ath9k.h | 961 struct survey_info survey[ATH9K_NUM_CHANNELS]; member
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | mac80211-ops.c | 661 ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) in ath5k_get_survey() argument 675 ah->survey.time += cc->cycles / div; in ath5k_get_survey() 676 ah->survey.time_busy += cc->rx_busy / div; in ath5k_get_survey() 677 ah->survey.time_rx += cc->rx_frame / div; in ath5k_get_survey() 678 ah->survey.time_tx += cc->tx_frame / div; in ath5k_get_survey() 683 memcpy(survey, &ah->survey, sizeof(*survey)); in ath5k_get_survey() 685 survey->channel = conf->chandef.chan; in ath5k_get_survey() 686 survey->noise = ah->ah_noise_floor; in ath5k_get_survey() 687 survey->filled = SURVEY_INFO_NOISE_DBM | in ath5k_get_survey()
|
D | ath5k.h | 1347 struct survey_info survey; /* collected survey info */ member
|
D | base.c | 2942 memset(&ah->survey, 0, sizeof(ah->survey)); in ath5k_reset()
|
/linux-4.1.27/drivers/net/wireless/p54/ |
D | main.c | 305 struct survey_info *info = &priv->survey[chan->hw_value]; in p54_reset_stats() 612 struct survey_info *survey) in p54_get_survey() argument 635 memcpy(survey, &priv->survey[idx], sizeof(*survey)); in p54_get_survey() 639 if (survey->time != 0) { in p54_get_survey() 640 survey->filled |= SURVEY_INFO_IN_USE; in p54_get_survey() 842 kfree(priv->survey); in p54_free_common() 848 priv->survey = NULL; in p54_free_common()
|
D | txrx.c | 588 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()
|
D | eeprom.c | 197 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()
|
D | p54.h | 204 struct survey_info *survey; member
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | main.c | 1649 struct survey_info *survey) in carl9170_op_get_survey() argument 1684 memcpy(survey, &ar->survey[idx], sizeof(*survey)); in carl9170_op_get_survey() 1686 survey->channel = chan; in carl9170_op_get_survey() 1687 survey->filled = SURVEY_INFO_NOISE_DBM; in carl9170_op_get_survey() 1690 survey->filled |= SURVEY_INFO_IN_USE; in carl9170_op_get_survey() 1693 survey->filled |= SURVEY_INFO_TIME | in carl9170_op_get_survey() 1958 ar->survey = kzalloc(sizeof(struct survey_info) * chans, GFP_KERNEL); in carl9170_parse_eeprom() 1959 if (!ar->survey) in carl9170_parse_eeprom() 2107 kfree(ar->survey); in carl9170_free() 2108 ar->survey = NULL; in carl9170_free()
|
D | cmd.c | 190 info = &ar->survey[ar->channel->hw_value]; in carl9170_collect_tally()
|
D | carl9170.h | 346 struct survey_info *survey; member
|
D | phy.c | 1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
|
/linux-4.1.27/drivers/net/wireless/libertas_tf/ |
D | main.c | 532 struct survey_info *survey) in lbtf_op_get_survey() argument 540 survey->channel = conf->chandef.chan; in lbtf_op_get_survey() 541 survey->filled = SURVEY_INFO_NOISE_DBM; in lbtf_op_get_survey() 542 survey->noise = priv->noise; in lbtf_op_get_survey()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 3896 struct survey_info *survey) in iwl_mvm_mac_get_survey() argument 3901 memset(survey, 0, sizeof(*survey)); in iwl_mvm_mac_get_survey() 3919 survey->filled = SURVEY_INFO_TIME | in iwl_mvm_mac_get_survey() 3923 survey->time = mvm->accu_radio_stats.on_time_rf + in iwl_mvm_mac_get_survey() 3925 do_div(survey->time, USEC_PER_MSEC); in iwl_mvm_mac_get_survey() 3927 survey->time_rx = mvm->accu_radio_stats.rx_time + in iwl_mvm_mac_get_survey() 3929 do_div(survey->time_rx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey() 3931 survey->time_tx = mvm->accu_radio_stats.tx_time + in iwl_mvm_mac_get_survey() 3933 do_div(survey->time_tx, USEC_PER_MSEC); in iwl_mvm_mac_get_survey() 3935 survey->time_scan = mvm->accu_radio_stats.on_time_scan + in iwl_mvm_mac_get_survey() [all …]
|
/linux-4.1.27/drivers/net/wireless/ |
D | mwl8k.c | 302 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() 5383 struct survey_info *survey) in mwl8k_get_survey() argument [all …]
|
D | mac80211_hwsim.c | 1720 struct survey_info *survey) in mac80211_hwsim_get_survey() argument 1730 survey->channel = conf->chandef.chan; in mac80211_hwsim_get_survey() 1738 survey->filled = SURVEY_INFO_NOISE_DBM; in mac80211_hwsim_get_survey() 1739 survey->noise = -92; in mac80211_hwsim_get_survey()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 1292 int idx, struct survey_info *survey) in mwifiex_cfg80211_dump_survey() argument 1300 memset(survey, 0, sizeof(struct survey_info)); in mwifiex_cfg80211_dump_survey() 1308 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1312 survey->filled = SURVEY_INFO_NOISE_DBM; in mwifiex_cfg80211_dump_survey() 1313 survey->noise = priv->bcn_nf_last; in mwifiex_cfg80211_dump_survey() 1325 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1327 survey->filled = SURVEY_INFO_NOISE_DBM | in mwifiex_cfg80211_dump_survey() 1330 survey->noise = pchan_stats[idx].noise; in mwifiex_cfg80211_dump_survey() 1331 survey->time = pchan_stats[idx].cca_scan_dur; in mwifiex_cfg80211_dump_survey() 1332 survey->time_busy = pchan_stats[idx].cca_busy_dur; in mwifiex_cfg80211_dump_survey()
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
D | main.c | 1351 struct survey_info *survey) in wl1251_op_get_survey() argument 1359 survey->channel = conf->chandef.chan; in wl1251_op_get_survey() 1360 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1251_op_get_survey() 1361 survey->noise = wl->noise; in wl1251_op_get_survey()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2800lib.h | 224 struct survey_info *survey);
|
D | rt2800lib.c | 8007 struct survey_info *survey) in rt2800_get_survey() argument 8016 survey->channel = conf->chandef.chan; in rt2800_get_survey() 8023 survey->filled = SURVEY_INFO_TIME | in rt2800_get_survey() 8027 survey->time = (idle + busy) / 1000; in rt2800_get_survey() 8028 survey->time_busy = busy / 1000; in rt2800_get_survey() 8029 survey->time_ext_busy = busy_ext / 1000; in rt2800_get_survey() 8033 survey->filled |= SURVEY_INFO_IN_USE; in rt2800_get_survey()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_mlme.c | 575 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.1.27/drivers/net/wireless/ath/ath10k/ |
D | core.h | 654 struct survey_info survey[ATH10K_NUM_CHANS]; member
|
D | wmi.c | 1643 struct survey_info *survey; in ath10k_wmi_event_chan_info() local 1678 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info() 1692 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info() 1693 survey->time = WMI_CHAN_INFO_MSEC(cycle_count); in ath10k_wmi_event_chan_info() 1694 survey->time_rx = WMI_CHAN_INFO_MSEC(rx_clear_count); in ath10k_wmi_event_chan_info() 1695 survey->noise = noise_floor; in ath10k_wmi_event_chan_info() 1696 survey->filled = SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info()
|
D | mac.c | 4619 struct survey_info *survey) in ath10k_get_survey() argument 4623 struct survey_info *ar_survey = &ar->survey[idx]; in ath10k_get_survey() 4643 memcpy(survey, ar_survey, sizeof(*survey)); in ath10k_get_survey() 4646 survey->channel = &sband->channels[idx]; in ath10k_get_survey() 4648 if (ar->rx_channel == survey->channel) in ath10k_get_survey() 4649 survey->filled |= SURVEY_INFO_IN_USE; in ath10k_get_survey()
|
/linux-4.1.27/net/wireless/ |
D | nl80211.c | 6675 struct survey_info *survey) in nl80211_send_survey() argument 6681 if (!survey->channel && !allow_radio_stats) in nl80211_send_survey() 6696 if (survey->channel && in nl80211_send_survey() 6698 survey->channel->center_freq)) in nl80211_send_survey() 6701 if ((survey->filled & SURVEY_INFO_NOISE_DBM) && in nl80211_send_survey() 6702 nla_put_u8(msg, NL80211_SURVEY_INFO_NOISE, survey->noise)) in nl80211_send_survey() 6704 if ((survey->filled & SURVEY_INFO_IN_USE) && in nl80211_send_survey() 6707 if ((survey->filled & SURVEY_INFO_TIME) && in nl80211_send_survey() 6709 survey->time)) in nl80211_send_survey() 6711 if ((survey->filled & SURVEY_INFO_TIME_BUSY) && in nl80211_send_survey() [all …]
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | main.c | 3553 struct survey_info *survey) in b43legacy_op_get_survey() argument 3562 survey->channel = conf->chandef.chan; in b43legacy_op_get_survey() 3563 survey->filled = SURVEY_INFO_NOISE_DBM; in b43legacy_op_get_survey() 3564 survey->noise = dev->stats.link_noise; in b43legacy_op_get_survey()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | main.c | 5193 struct survey_info *survey) in b43_op_get_survey() argument 5202 survey->channel = conf->chandef.chan; in b43_op_get_survey() 5203 survey->filled = SURVEY_INFO_NOISE_DBM; in b43_op_get_survey() 5204 survey->noise = dev->stats.link_noise; in b43_op_get_survey()
|
/linux-4.1.27/include/net/ |
D | mac80211.h | 3275 struct survey_info *survey);
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | main.c | 4915 struct survey_info *survey) in wl1271_op_get_survey() argument 4922 survey->channel = conf->chandef.chan; in wl1271_op_get_survey() 4923 survey->filled = 0; in wl1271_op_get_survey()
|
/linux-4.1.27/Documentation/ |
D | dma-buf-sharing.txt | 368 initial mmap is all that's needed. A survey of some of the existing
|
/linux-4.1.27/Documentation/filesystems/ |
D | f2fs.txt | 376 Reference the following survey for additional technical details.
|
/linux-4.1.27/Documentation/RCU/ |
D | RTFP.txt | 2744 ,url=http://rdrop.com/users/paulmck/techreports/survey.2012.09.17a.pdf
|