| /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()
|
| H A D | ath5k.h | 1348 struct survey_info survey; /* collected survey info */ member
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | eeprom.c | 194 priv->survey[*chan_num].channel = &tmp->channels[j]; in p54_generate_band() 195 priv->survey[*chan_num].filled = SURVEY_INFO_NOISE_DBM | in p54_generate_band() 344 priv->survey = kzalloc_objs(struct survey_info, max_channel_num); in p54_generate_channel_lists() 345 if (!priv->survey) { in p54_generate_channel_lists() 409 kfree(priv->survey); in p54_generate_channel_lists() 410 priv->survey = NULL; in p54_generate_channel_lists() 932 kfree(priv->survey); in p54_parse_eeprom() 937 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 in wcn36xx_get_survey() [all...] |
| /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 | 2728 struct survey_info *survey; in ath10k_wmi_event_chan_info_unpaired() local 2737 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_unpaired() 2743 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info_unpaired() 2748 memset(survey, 0, sizeof(*survey)); in ath10k_wmi_event_chan_info_unpaired() 2750 survey->noise = params->noise_floor; in ath10k_wmi_event_chan_info_unpaired() 2751 survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2752 survey->time_busy = (params->rx_clear_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired() 2753 survey->filled |= SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info_unpaired() 2764 struct survey_info *survey; in ath10k_wmi_event_chan_info_paired() local 2768 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/quantenna/qtnfmac/ |
| H A D | commands.c | 2325 qtnf_cmd_resp_proc_chan_stat_info(struct survey_info *survey, in qtnf_cmd_resp_proc_chan_stat_info() argument 2368 survey->filled |= SURVEY_INFO_TIME; in qtnf_cmd_resp_proc_chan_stat_info() 2369 survey->time = le64_to_cpu(stats->time_on); in qtnf_cmd_resp_proc_chan_stat_info() 2373 survey->filled |= SURVEY_INFO_TIME_TX; in qtnf_cmd_resp_proc_chan_stat_info() 2374 survey->time_tx = le64_to_cpu(stats->time_tx); in qtnf_cmd_resp_proc_chan_stat_info() 2378 survey->filled |= SURVEY_INFO_TIME_RX; in qtnf_cmd_resp_proc_chan_stat_info() 2379 survey->time_rx = le64_to_cpu(stats->time_rx); in qtnf_cmd_resp_proc_chan_stat_info() 2383 survey->filled |= SURVEY_INFO_TIME_BUSY; in qtnf_cmd_resp_proc_chan_stat_info() 2384 survey->time_busy = le64_to_cpu(stats->cca_busy); in qtnf_cmd_resp_proc_chan_stat_info() 2388 survey in qtnf_cmd_resp_proc_chan_stat_info() 2408 qtnf_cmd_get_chan_stats(struct qtnf_wmac * mac,u32 chan_freq,struct survey_info * survey) qtnf_cmd_get_chan_stats() argument [all...] |
| H A D | commands.h | 63 struct survey_info *survey);
|
| /linux/drivers/net/wireless/ath/carl9170/ |
| H A D | main.c | 1608 struct survey_info *survey) in carl9170_op_get_survey() argument 1643 memcpy(survey, &ar->survey[idx], sizeof(*survey)); in carl9170_op_get_survey() 1645 survey->channel = chan; in carl9170_op_get_survey() 1646 survey->filled = SURVEY_INFO_NOISE_DBM; in carl9170_op_get_survey() 1649 survey->filled |= SURVEY_INFO_IN_USE; in carl9170_op_get_survey() 1652 survey->filled |= SURVEY_INFO_TIME | in carl9170_op_get_survey() 1924 ar->survey = devm_kcalloc(&ar->udev->dev, chans, in carl9170_parse_eeprom() 1926 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 | phy.c | 1550 ar->survey[ar->channel->hw_value].noise = ar->noise[0]; in carl9170_get_noisefloor()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | scan.h | 37 struct survey_info *survey);
|
| H A D | scan.c | 226 /* A scanning AP interface probably wants to generate a survey to do in iwl_mld_get_scan_type() 515 /* For AP interfaces, request survey data for regular scans and if in iwl_mld_scan_get_cmd_gen_flags2() 776 * 5. the VIF is not an AP interface (scan wants survey results) in iwl_mld_scan_use_ebs() 1891 /* Clear survey data when starting the first part of a regular scan */ in iwl_mld_regular_scan_start() 2254 IWL_DEBUG_SCAN(mld, "channel survey received for freq %d\n", in iwl_mld_handle_channel_survey_notif() 2267 struct survey_info *survey) in iwl_mld_mac80211_get_survey() 2277 * survey result array that only contains channels with information. in iwl_mld_mac80211_get_survey() 2308 survey->channel = &sband->channels[per_band_idx]; in iwl_mld_mac80211_get_survey() 2309 survey->filled = SURVEY_INFO_TIME | in iwl_mld_mac80211_get_survey() 2311 survey in iwl_mld_mac80211_get_survey() 2261 iwl_mld_mac80211_get_survey(struct ieee80211_hw * hw,int idx,struct survey_info * survey) iwl_mld_mac80211_get_survey() argument [all...] |
| /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/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 | 1604 int idx, struct survey_info *survey) in mwifiex_cfg80211_dump_survey() 1612 memset(survey, 0, sizeof(struct survey_info)); in mwifiex_cfg80211_dump_survey() 1620 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1624 survey->filled = SURVEY_INFO_NOISE_DBM; in mwifiex_cfg80211_dump_survey() 1625 survey->noise = priv->bcn_nf_last; in mwifiex_cfg80211_dump_survey() 1637 survey->channel = ieee80211_get_channel(wiphy, in mwifiex_cfg80211_dump_survey() 1639 survey->filled = SURVEY_INFO_NOISE_DBM | in mwifiex_cfg80211_dump_survey() 1642 survey->noise = pchan_stats[idx].noise; in mwifiex_cfg80211_dump_survey() 1643 survey->time = pchan_stats[idx].cca_scan_dur; in mwifiex_cfg80211_dump_survey() 1644 survey in mwifiex_cfg80211_dump_survey() 1603 mwifiex_cfg80211_dump_survey(struct wiphy * wiphy,struct net_device * dev,int idx,struct survey_info * survey) mwifiex_cfg80211_dump_survey() argument [all...] |
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | wmi.c | 7949 struct survey_info *survey; in ath11k_chan_info_event() local 7992 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_chan_info_event() 8005 survey = &ar->survey[idx]; in ath11k_chan_info_event() 8006 memset(survey, 0, sizeof(*survey)); in ath11k_chan_info_event() 8007 survey->noise = ch_info_ev.noise_floor; in ath11k_chan_info_event() 8008 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath11k_chan_info_event() 8010 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event() 8011 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event() 8022 struct survey_info *survey; in ath11k_pdev_bss_chan_info_event() local 8066 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_pdev_bss_chan_info_event() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | wmi.c | 7632 struct survey_info *survey; in ath12k_pdev_bss_chan_info_event() 7675 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_vdev_install_key_compl_event() 7688 survey = &ar->survey[idx]; in ath12k_vdev_install_key_compl_event() 7689 memset(survey, 0, sizeof(*survey)); 7690 survey->noise = le32_to_cpu(ch_info_ev.noise_floor); in ath12k_wmi_tlv_services_parser() 7691 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath12k_wmi_tlv_services_parser() 7693 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_wmi_tlv_services_parser() 7694 survey in ath12k_wmi_tlv_services_parser() 7510 struct survey_info *survey; ath12k_chan_info_event() local 7584 struct survey_info *survey; ath12k_pdev_bss_chan_info_event() local [all...] |
| /linux/net/wireless/ |
| H A D | nl80211.c | 12456 struct survey_info *survey) in nl80211_authenticate() 12462 if (!survey->channel && !allow_radio_stats) in validate_pae_over_nl80211() 12477 if (survey->channel && in nl80211_crypto_settings() 12479 survey->channel->center_freq)) in nl80211_crypto_settings() 12482 if (survey->channel && survey->channel->freq_offset && in nl80211_crypto_settings() 12484 survey->channel->freq_offset)) in nl80211_crypto_settings() 12487 if ((survey->filled & SURVEY_INFO_NOISE_DBM) && in nl80211_crypto_settings() 12488 nla_put_u8(msg, NL80211_SURVEY_INFO_NOISE, survey->noise)) in nl80211_crypto_settings() 12490 if ((survey in nl80211_crypto_settings() 12165 nl80211_send_survey(struct sk_buff * msg,u32 portid,u32 seq,int flags,struct net_device * dev,bool allow_radio_stats,struct survey_info * survey) nl80211_send_survey() argument 12244 struct survey_info survey; nl80211_dump_survey() local [all...] |
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | |
| /linux/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | main.c | 3516 struct survey_info *survey) in b43legacy_op_get_survey() argument 3525 survey->channel = conf->chandef.chan; in b43legacy_op_get_survey() 3526 survey->filled = SURVEY_INFO_NOISE_DBM; in b43legacy_op_get_survey() 3527 survey->noise = dev->stats.link_noise; in b43legacy_op_get_survey()
|