/linux-6.12.1/net/mac80211/ |
D | ethtool.c | 85 struct survey_info survey; in ieee80211_get_stats() local 157 survey.filled = 0; in ieee80211_get_stats() 170 survey.filled = 0; in ieee80211_get_stats() 171 if (drv_get_survey(local, q, &survey) != 0) { in ieee80211_get_stats() 172 survey.filled = 0; in ieee80211_get_stats() 176 } while (channel != survey.channel); in ieee80211_get_stats() 179 if (survey.filled) in ieee80211_get_stats() 180 data[i++] = survey.channel->center_freq; in ieee80211_get_stats() 183 if (survey.filled & SURVEY_INFO_NOISE_DBM) in ieee80211_get_stats() 184 data[i++] = (u8)survey.noise; in ieee80211_get_stats() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | link.c | 492 struct survey_info *survey = &sc->survey[channel]; in ath_update_survey_nf() local 495 survey->filled |= SURVEY_INFO_NOISE_DBM; in ath_update_survey_nf() 496 survey->noise = ath9k_hw_getchan_noise(ah, chan, in ath_update_survey_nf() 511 struct survey_info *survey = &sc->survey[pos]; in ath_update_survey_stats() local 523 survey->filled |= SURVEY_INFO_TIME | in ath_update_survey_stats() 527 survey->time += cc->cycles / div; in ath_update_survey_stats() 528 survey->time_busy += cc->rx_busy / div; in ath_update_survey_stats() 529 survey->time_rx += cc->rx_frame / div; in ath_update_survey_stats() 530 survey->time_tx += cc->tx_frame / div; in ath_update_survey_stats()
|
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() 2392 if (sc->cur_survey != &sc->survey[pos]) { in ath9k_sw_scan_start() 2395 sc->cur_survey = &sc->survey[pos]; in ath9k_sw_scan_start()
|
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-6.12.1/drivers/net/wireless/ath/ath5k/ |
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-6.12.1/drivers/net/wireless/intersil/p54/ |
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()
|
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()
|
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()
|
D | p54.h | 201 struct survey_info *survey; member
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 984 struct survey_info *survey) in mt76_get_survey() argument 1017 memset(survey, 0, sizeof(*survey)); in mt76_get_survey() 1018 survey->channel = chan; in mt76_get_survey() 1019 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey() 1020 survey->filled |= dev->drv->survey_flags; in mt76_get_survey() 1022 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey() 1025 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey() 1028 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey() 1031 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey() 1032 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 1292 struct survey_info *survey) in wcn36xx_get_survey() argument 1313 survey->channel = &sband->channels[band_idx]; in wcn36xx_get_survey() 1314 survey->noise = chan_survey->rssi - chan_survey->snr; in wcn36xx_get_survey() 1315 survey->filled = 0; in wcn36xx_get_survey() 1318 survey->filled |= SURVEY_INFO_NOISE_DBM; in wcn36xx_get_survey() 1320 if (survey->channel == wcn->channel) in wcn36xx_get_survey() 1321 survey->filled |= SURVEY_INFO_IN_USE; in wcn36xx_get_survey() 1327 HW_VALUE_CHANNEL(survey->channel->hw_value), in wcn36xx_get_survey() 1328 chan_survey->rssi, chan_survey->snr, survey->noise, in wcn36xx_get_survey() 1329 survey->filled, survey->channel->center_freq); in wcn36xx_get_survey()
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
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()
|
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 …]
|
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 2330 qtnf_cmd_resp_proc_chan_stat_info(struct survey_info *survey, in qtnf_cmd_resp_proc_chan_stat_info() argument 2373 survey->filled |= SURVEY_INFO_TIME; in qtnf_cmd_resp_proc_chan_stat_info() 2374 survey->time = le64_to_cpu(stats->time_on); in qtnf_cmd_resp_proc_chan_stat_info() 2378 survey->filled |= SURVEY_INFO_TIME_TX; in qtnf_cmd_resp_proc_chan_stat_info() 2379 survey->time_tx = le64_to_cpu(stats->time_tx); in qtnf_cmd_resp_proc_chan_stat_info() 2383 survey->filled |= SURVEY_INFO_TIME_RX; in qtnf_cmd_resp_proc_chan_stat_info() 2384 survey->time_rx = le64_to_cpu(stats->time_rx); in qtnf_cmd_resp_proc_chan_stat_info() 2388 survey->filled |= SURVEY_INFO_TIME_BUSY; in qtnf_cmd_resp_proc_chan_stat_info() 2389 survey->time_busy = le64_to_cpu(stats->cca_busy); in qtnf_cmd_resp_proc_chan_stat_info() 2393 survey->filled |= SURVEY_INFO_TIME_EXT_BUSY; in qtnf_cmd_resp_proc_chan_stat_info() [all …]
|
D | commands.h | 63 struct survey_info *survey);
|
D | cfg80211.c | 745 int idx, struct survey_info *survey) in qtnf_dump_survey() argument 767 survey->channel = chan; in qtnf_dump_survey() 768 survey->filled = 0x0; in qtnf_dump_survey() 771 survey->filled = SURVEY_INFO_IN_USE; in qtnf_dump_survey() 773 ret = qtnf_cmd_get_chan_stats(mac, chan->center_freq, survey); in qtnf_dump_survey()
|
/linux-6.12.1/drivers/net/wireless/ath/carl9170/ |
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()
|
D | cmd.c | 190 info = &ar->survey[ar->channel->hw_value]; in carl9170_collect_tally()
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas_tf/ |
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-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 5966 struct survey_info *survey) in iwl_mvm_mac_get_acs_survey() argument 5995 survey->channel = &sband->channels[chan_idx]; in iwl_mvm_mac_get_acs_survey() 5996 survey->filled = SURVEY_INFO_TIME | in iwl_mvm_mac_get_acs_survey() 6000 survey->time = info->time; in iwl_mvm_mac_get_acs_survey() 6001 survey->time_busy = info->time_busy; in iwl_mvm_mac_get_acs_survey() 6002 survey->time_rx = info->time_rx; in iwl_mvm_mac_get_acs_survey() 6003 survey->time_tx = info->time_tx; in iwl_mvm_mac_get_acs_survey() 6004 survey->noise = info->noise; in iwl_mvm_mac_get_acs_survey() 6005 if (survey->noise < 0) in iwl_mvm_mac_get_acs_survey() 6006 survey->filled |= SURVEY_INFO_NOISE_DBM; in iwl_mvm_mac_get_acs_survey() [all …]
|
/linux-6.12.1/Documentation/process/ |
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-6.12.1/drivers/net/wireless/marvell/ |
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-6.12.1/drivers/net/wireless/ti/wl1251/ |
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-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.h | 265 struct survey_info *survey);
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | wmi.c | 6366 struct survey_info *survey; in ath12k_chan_info_event() local 6409 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_chan_info_event() 6422 survey = &ar->survey[idx]; in ath12k_chan_info_event() 6423 memset(survey, 0, sizeof(*survey)); in ath12k_chan_info_event() 6424 survey->noise = le32_to_cpu(ch_info_ev.noise_floor); in ath12k_chan_info_event() 6425 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath12k_chan_info_event() 6427 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_chan_info_event() 6428 survey->time_busy = div_u64(le32_to_cpu(ch_info_ev.rx_clear_count), in ath12k_chan_info_event() 6440 struct survey_info *survey; in ath12k_pdev_bss_chan_info_event() local 6484 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_pdev_bss_chan_info_event() [all …]
|