| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | link.c | 521 struct survey_info *survey = &sc->survey[channel]; in ath_update_survey_nf() local 524 survey->filled |= SURVEY_INFO_NOISE_DBM; in ath_update_survey_nf() 525 survey->noise = ath9k_hw_getchan_noise(ah, chan, in ath_update_survey_nf() 540 struct survey_info *survey = &sc->survey[pos]; in ath_update_survey_stats() local 552 survey->filled |= SURVEY_INFO_TIME | in ath_update_survey_stats() 556 survey->time += cc->cycles / div; in ath_update_survey_stats() 557 survey->time_busy += cc->rx_busy / div; in ath_update_survey_stats() 558 survey->time_rx += cc->rx_frame / div; in ath_update_survey_stats() 559 survey->time_tx += cc->tx_frame / div; in ath_update_survey_stats()
|
| H A D | main.c | 2063 struct survey_info *survey) in ath9k_get_survey() argument 2095 memcpy(survey, &sc->survey[pos], sizeof(*survey)); in ath9k_get_survey() 2096 survey->channel = chan; in ath9k_get_survey() 2395 if (sc->cur_survey != &sc->survey[pos]) { in ath9k_sw_scan_start() 2398 sc->cur_survey = &sc->survey[pos]; in ath9k_sw_scan_start()
|
| H A D | channel.c | 57 if (!sc->cur_chan->offchannel && sc->cur_survey != &sc->survey[pos]) { in ath_set_channel() 61 sc->cur_survey = &sc->survey[pos]; in ath_set_channel() 65 } else if (!(sc->survey[pos].filled & SURVEY_INFO_IN_USE)) { in ath_set_channel() 66 memset(&sc->survey[pos], 0, sizeof(struct survey_info)); in ath_set_channel()
|
| /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()
|
| /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() 841 kfree(priv->survey); in p54_free_common() 847 priv->survey = NULL; in p54_free_common()
|
| 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()
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | main.c | 1293 struct survey_info *survey) in wcn36xx_get_survey() argument 1314 survey->channel = &sband->channels[band_idx]; in wcn36xx_get_survey() 1315 survey->noise = chan_survey->rssi - chan_survey->snr; in wcn36xx_get_survey() 1316 survey->filled = 0; in wcn36xx_get_survey() 1319 survey->filled |= SURVEY_INFO_NOISE_DBM; in wcn36xx_get_survey() 1321 if (survey->channel == wcn->channel) in wcn36xx_get_survey() 1322 survey->filled |= SURVEY_INFO_IN_USE; in wcn36xx_get_survey() 1328 HW_VALUE_CHANNEL(survey->channel->hw_value), in wcn36xx_get_survey() 1329 chan_survey->rssi, chan_survey->snr, survey->noise, in wcn36xx_get_survey() 1330 survey->filled, survey->channel->center_freq); in wcn36xx_get_survey()
|
| /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 | 2729 struct survey_info *survey; in ath10k_wmi_event_chan_info_unpaired() local 2738 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_unpaired() 2744 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info_unpaired() 2749 memset(survey, 0, sizeof(*survey)); in ath10k_wmi_event_chan_info_unpaired() 2751 survey->noise = params->noise_floor; in ath10k_wmi_event_chan_info_unpaired() 2752 survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2753 survey->time_busy = (params->rx_clear_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2754 survey->filled |= SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info_unpaired() 2765 struct survey_info *survey; in ath10k_wmi_event_chan_info_paired() local 2769 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_paired() [all …]
|
| H A D | hw.h | 393 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey,
|
| /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
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | scan.h | 34 struct survey_info *survey);
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 746 int idx, struct survey_info *survey) in qtnf_dump_survey() argument 768 survey->channel = chan; in qtnf_dump_survey() 769 survey->filled = 0x0; in qtnf_dump_survey() 772 survey->filled = SURVEY_INFO_IN_USE; in qtnf_dump_survey() 774 ret = qtnf_cmd_get_chan_stats(mac, chan->center_freq, survey); in qtnf_dump_survey()
|
| H A D | commands.h | 63 struct survey_info *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/marvell/ |
| H A D | mwl8k.c | 302 struct survey_info survey[MWL8K_NUM_CHANS]; member 3177 struct survey_info *survey; in mwl8k_update_survey() local 3185 survey = &priv->survey[idx]; in mwl8k_update_survey() 3189 survey->time_busy = (u64) cca_cnt; in mwl8k_update_survey() 3193 survey->time_rx = (u64) rx_rdy; in mwl8k_update_survey() 3196 survey->time = jiffies_to_msecs(priv->channel_time); in mwl8k_update_survey() 3198 survey->channel = channel; in mwl8k_update_survey() 3203 survey->noise = nf * -1; in mwl8k_update_survey() 3205 survey->filled = SURVEY_INFO_NOISE_DBM | in mwl8k_update_survey() 5477 struct survey_info *survey) in mwl8k_get_survey() argument [all …]
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | main.c | 1331 struct survey_info *survey) in wl1251_op_get_survey() argument 1339 survey->channel = conf->chandef.chan; in wl1251_op_get_survey() 1340 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1251_op_get_survey() 1341 survey->noise = wl->noise; in wl1251_op_get_survey()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfg80211.c | 1603 int idx, struct survey_info *survey) in mwifiex_cfg80211_dump_survey() argument 1611 memset(survey, 0, sizeof(struct survey_info)); in mwifiex_cfg80211_dump_survey() 1619 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1623 survey->filled = SURVEY_INFO_NOISE_DBM; in mwifiex_cfg80211_dump_survey() 1624 survey->noise = priv->bcn_nf_last; in mwifiex_cfg80211_dump_survey() 1636 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1638 survey->filled = SURVEY_INFO_NOISE_DBM | in mwifiex_cfg80211_dump_survey() 1641 survey->noise = pchan_stats[idx].noise; in mwifiex_cfg80211_dump_survey() 1642 survey->time = pchan_stats[idx].cca_scan_dur; in mwifiex_cfg80211_dump_survey() 1643 survey->time_busy = pchan_stats[idx].cca_busy_dur; in mwifiex_cfg80211_dump_survey()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 8016 brcmf_parse_dump_obss(char *buf, struct brcmf_dump_survey *survey) in brcmf_parse_dump_obss() argument 8032 survey->obss = val; in brcmf_parse_dump_obss() 8041 survey->ibss = val; in brcmf_parse_dump_obss() 8050 survey->tx = val; in brcmf_parse_dump_obss() 8059 survey->no_ctg = val; in brcmf_parse_dump_obss() 8068 survey->no_pckt = val; in brcmf_parse_dump_obss() 8077 survey->idle = val; in brcmf_parse_dump_obss() 8088 struct brcmf_dump_survey *survey) in brcmf_dump_obss() argument 8109 brcmf_parse_dump_obss(results->buf, survey); in brcmf_dump_obss() 8148 struct brcmf_dump_survey survey = {}; in brcmf_cfg80211_dump_survey() local [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | wmi.c | 7898 struct survey_info *survey; in ath11k_chan_info_event() local 7941 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_chan_info_event() 7954 survey = &ar->survey[idx]; in ath11k_chan_info_event() 7955 memset(survey, 0, sizeof(*survey)); in ath11k_chan_info_event() 7956 survey->noise = ch_info_ev.noise_floor; in ath11k_chan_info_event() 7957 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath11k_chan_info_event() 7959 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event() 7960 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event() 7971 struct survey_info *survey; in ath11k_pdev_bss_chan_info_event() local 8015 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_pdev_bss_chan_info_event() [all …]
|
| /linux/net/mac80211/ |
| H A D | driver-ops.h | 691 struct survey_info *survey) in drv_get_survey() argument 698 trace_drv_get_survey(local, idx, survey); in drv_get_survey() 701 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
|
| /linux/net/wireless/ |
| H A D | nl80211.c | 11715 struct survey_info *survey) in nl80211_send_survey() argument 11721 if (!survey->channel && !allow_radio_stats) in nl80211_send_survey() 11736 if (survey->channel && in nl80211_send_survey() 11738 survey->channel->center_freq)) in nl80211_send_survey() 11741 if (survey->channel && survey->channel->freq_offset && in nl80211_send_survey() 11743 survey->channel->freq_offset)) in nl80211_send_survey() 11746 if ((survey->filled & SURVEY_INFO_NOISE_DBM) && in nl80211_send_survey() 11747 nla_put_u8(msg, NL80211_SURVEY_INFO_NOISE, survey->noise)) in nl80211_send_survey() 11749 if ((survey->filled & SURVEY_INFO_IN_USE) && in nl80211_send_survey() 11752 if ((survey->filled & SURVEY_INFO_TIME) && in nl80211_send_survey() [all …]
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 2800 struct survey_info *survey) in mac80211_hwsim_get_survey() argument 2808 survey->channel = hwsim->survey_data[idx].channel; in mac80211_hwsim_get_survey() 2809 if (!survey->channel) { in mac80211_hwsim_get_survey() 2820 survey->filled = SURVEY_INFO_NOISE_DBM | in mac80211_hwsim_get_survey() 2823 survey->noise = -92; in mac80211_hwsim_get_survey() 2824 survey->time = in mac80211_hwsim_get_survey() 2828 survey->time_busy = survey->time/8; in mac80211_hwsim_get_survey()
|