/linux/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 648 ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) in ath5k_get_survey() argument 662 ah->survey.time += cc->cycles / div; in ath5k_get_survey() 663 ah->survey.time_busy += cc->rx_busy / div; in ath5k_get_survey() 664 ah->survey.time_rx += cc->rx_frame / div; in ath5k_get_survey() 665 ah->survey.time_tx += cc->tx_frame / div; in ath5k_get_survey() 670 memcpy(survey, &ah->survey, sizeof(*survey)); in ath5k_get_survey() 672 survey->channel = conf->chandef.chan; in ath5k_get_survey() 673 survey->noise = ah->ah_noise_floor; in ath5k_get_survey() 674 survey->filled = SURVEY_INFO_NOISE_DBM | in ath5k_get_survey()
|
H A D | ath5k.h | 1348 struct survey_info survey; /* collected survey info */ member
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | main.c | 302 struct survey_info *info = &priv->survey[chan->hw_value]; in p54_reset_stats() 605 struct survey_info *survey) in p54_get_survey() argument 628 memcpy(survey, &priv->survey[idx], sizeof(*survey)); in p54_get_survey() 632 if (survey->time != 0) { in p54_get_survey() 633 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()
|
H A D | txrx.c | 590 struct survey_info *survey = &priv->survey[chan->hw_value]; in p54_rx_stats() local 591 survey->noise = clamp(priv->noise, -128, 127); in p54_rx_stats() 592 survey->time = priv->survey_raw.active; in p54_rx_stats() 593 survey->time_tx = priv->survey_raw.tx; in p54_rx_stats() 594 survey->time_busy = priv->survey_raw.tx + in p54_rx_stats() 596 do_div(survey->time, 1024); in p54_rx_stats() 597 do_div(survey->time_tx, 1024); in p54_rx_stats() 598 do_div(survey->time_busy, 1024); in p54_rx_stats()
|
H A D | eeprom.c | 195 priv->survey[*chan_num].channel = &tmp->channels[j]; in p54_generate_band() 196 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | in p54_generate_band() 345 priv->survey = kcalloc(max_channel_num, sizeof(struct survey_info), in p54_generate_channel_lists() 347 if (!priv->survey) { in p54_generate_channel_lists() 413 kfree(priv->survey); in p54_generate_channel_lists() 414 priv->survey = NULL; in p54_generate_channel_lists() 936 kfree(priv->survey); in p54_parse_eeprom() 941 priv->survey = NULL; in p54_parse_eeprom()
|
H A D | p54.h | 201 struct survey_info *survey; member
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | hw.c | 550 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey, in ath10k_hw_fill_survey_time() argument 557 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time() 567 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time() 585 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time() 586 survey->time_busy = CCNT_TO_MSEC(ar, rcc); in ath10k_hw_fill_survey_time()
|
H A D | wmi.c | 2722 struct survey_info *survey; in ath10k_wmi_event_chan_info_unpaired() local 2731 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_unpaired() 2737 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info_unpaired() 2742 memset(survey, 0, sizeof(*survey)); in ath10k_wmi_event_chan_info_unpaired() 2744 survey->noise = params->noise_floor; in ath10k_wmi_event_chan_info_unpaired() 2745 survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2746 survey->time_busy = (params->rx_clear_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2747 survey->filled |= SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info_unpaired() 2758 struct survey_info *survey; in ath10k_wmi_event_chan_info_paired() local 2762 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_paired() [all …]
|
H A D | hw.h | 389 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey,
|
H A D | core.h | 1219 struct survey_info survey[ATH10K_NUM_CHANS]; member
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | main.c | 1609 struct survey_info *survey) in carl9170_op_get_survey() argument 1644 memcpy(survey, &ar->survey[idx], sizeof(*survey)); in carl9170_op_get_survey() 1646 survey->channel = chan; in carl9170_op_get_survey() 1647 survey->filled = SURVEY_INFO_NOISE_DBM; in carl9170_op_get_survey() 1650 survey->filled |= SURVEY_INFO_IN_USE; in carl9170_op_get_survey() 1653 survey->filled |= SURVEY_INFO_TIME | in carl9170_op_get_survey() 1925 ar->survey = devm_kcalloc(&ar->udev->dev, chans, in carl9170_parse_eeprom() 1927 if (!ar->survey) in carl9170_parse_eeprom()
|
H A D | cmd.c | 190 info = &ar->survey[ar->channel->hw_value]; in carl9170_collect_tally()
|
H A D | carl9170.h | 349 struct survey_info *survey; member
|
H A D | phy.c | 1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
|
/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | main.c | 460 struct survey_info *survey) in lbtf_op_get_survey() argument 468 survey->channel = conf->chandef.chan; in lbtf_op_get_survey() 469 survey->filled = SURVEY_INFO_NOISE_DBM; in lbtf_op_get_survey() 470 survey->noise = priv->noise; in lbtf_op_get_survey()
|
/linux/Documentation/process/ |
H A D | researcher-guidelines.rst | 54 with others who have different goals. Responding to a survey, though, is a 60 to perceive survey requests as just another demand on their time. Sending 68 an email survey, and the community will gain from the ability to learn from
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | commands.h | 63 struct survey_info *survey);
|
/linux/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 302 struct survey_info survey[MWL8K_NUM_CHANS]; member 3112 struct survey_info *survey; in mwl8k_update_survey() local 3120 survey = &priv->survey[idx]; in mwl8k_update_survey() 3124 survey->time_busy = (u64) cca_cnt; in mwl8k_update_survey() 3128 survey->time_rx = (u64) rx_rdy; in mwl8k_update_survey() 3131 survey->time = jiffies_to_msecs(priv->channel_time); in mwl8k_update_survey() 3133 survey->channel = channel; in mwl8k_update_survey() 3138 survey->noise = nf * -1; in mwl8k_update_survey() 3140 survey->filled = SURVEY_INFO_NOISE_DBM | in mwl8k_update_survey() 5410 struct survey_info *survey) in mwl8k_get_survey() argument [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | main.c | 1330 struct survey_info *survey) in wl1251_op_get_survey() argument 1338 survey->channel = conf->chandef.chan; in wl1251_op_get_survey() 1339 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1251_op_get_survey() 1340 survey->noise = wl->noise; in wl1251_op_get_survey()
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.h | 265 struct survey_info *survey);
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wmi.c | 6569 struct survey_info *survey; in ath12k_chan_info_event() local 6612 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_chan_info_event() 6625 survey = &ar->survey[idx]; in ath12k_chan_info_event() 6626 memset(survey, 0, sizeof(*survey)); in ath12k_chan_info_event() 6627 survey->noise = le32_to_cpu(ch_info_ev.noise_floor); in ath12k_chan_info_event() 6628 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath12k_chan_info_event() 6630 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_chan_info_event() 6631 survey->time_busy = div_u64(le32_to_cpu(ch_info_ev.rx_clear_count), in ath12k_chan_info_event() 6643 struct survey_info *survey; in ath12k_pdev_bss_chan_info_event() local 6687 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_pdev_bss_chan_info_event() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | wmi.c | 7888 struct survey_info *survey; in ath11k_chan_info_event() local 7931 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_chan_info_event() 7944 survey = &ar->survey[idx]; in ath11k_chan_info_event() 7945 memset(survey, 0, sizeof(*survey)); in ath11k_chan_info_event() 7946 survey->noise = ch_info_ev.noise_floor; in ath11k_chan_info_event() 7947 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath11k_chan_info_event() 7949 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event() 7950 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event() 7961 struct survey_info *survey; in ath11k_pdev_bss_chan_info_event() local 8005 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_pdev_bss_chan_info_event() [all …]
|
/linux/net/wireless/ |
H A D | nl80211.c | 10660 struct survey_info *survey) in nl80211_send_survey() argument 10666 if (!survey->channel && !allow_radio_stats) in nl80211_send_survey() 10681 if (survey->channel && in nl80211_send_survey() 10683 survey->channel->center_freq)) in nl80211_send_survey() 10686 if (survey->channel && survey->channel->freq_offset && in nl80211_send_survey() 10688 survey->channel->freq_offset)) in nl80211_send_survey() 10691 if ((survey->filled & SURVEY_INFO_NOISE_DBM) && in nl80211_send_survey() 10692 nla_put_u8(msg, NL80211_SURVEY_INFO_NOISE, survey->noise)) in nl80211_send_survey() 10694 if ((survey->filled & SURVEY_INFO_IN_USE) && in nl80211_send_survey() 10697 if ((survey->filled & SURVEY_INFO_TIME) && in nl80211_send_survey() [all …]
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.c | 3517 struct survey_info *survey) in b43legacy_op_get_survey() argument 3526 survey->channel = conf->chandef.chan; in b43legacy_op_get_survey() 3527 survey->filled = SURVEY_INFO_NOISE_DBM; in b43legacy_op_get_survey() 3528 survey->noise = dev->stats.link_noise; in b43legacy_op_get_survey()
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 5158 struct survey_info *survey) in b43_op_get_survey() argument 5167 survey->channel = conf->chandef.chan; in b43_op_get_survey() 5168 survey->filled = SURVEY_INFO_NOISE_DBM; in b43_op_get_survey() 5169 survey->noise = dev->stats.link_noise; in b43_op_get_survey()
|