Home
last modified time | relevance | path

Searched refs:survey (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/wpa/src/ap/
H A Dacs.c310 static int acs_survey_is_sufficient(struct freq_survey *survey);
316 struct freq_survey *survey, *tmp; in acs_clean_chan_surveys() local
321 dl_list_for_each_safe(survey, tmp, &chan->survey_list, in acs_clean_chan_surveys()
323 dl_list_del(&survey->list); in acs_clean_chan_surveys()
324 os_free(survey); in acs_clean_chan_surveys()
371 acs_survey_interference_factor(struct freq_survey *survey, s8 min_nf) in acs_survey_interference_factor() argument
375 if (survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) in acs_survey_interference_factor()
376 busy = survey->channel_time_busy; in acs_survey_interference_factor()
377 else if (survey->filled & SURVEY_HAS_CHAN_TIME_RX) in acs_survey_interference_factor()
378 busy = survey->channel_time_rx; in acs_survey_interference_factor()
[all …]
H A Ddrv_callbacks.c2093 struct freq_survey *survey) in hostapd_update_nf() argument
2096 chan->min_nf = survey->nf; in hostapd_update_nf()
2097 iface->lowest_nf = survey->nf; in hostapd_update_nf()
2100 chan->min_nf = survey->nf; in hostapd_update_nf()
2101 else if (survey->nf < chan->min_nf) in hostapd_update_nf()
2102 chan->min_nf = survey->nf; in hostapd_update_nf()
2103 if (survey->nf < iface->lowest_nf) in hostapd_update_nf()
2104 iface->lowest_nf = survey->nf; in hostapd_update_nf()
2113 struct freq_survey *survey; in hostapd_single_channel_get_survey() local
2116 survey = dl_list_first(&survey_res->survey_list, struct freq_survey, in hostapd_single_channel_get_survey()
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_freebsd.c615 HAL_SURVEY_SAMPLE survey; in ar9300_ani_poll_freebsd() local
619 OS_MEMZERO(&survey, sizeof(survey)); in ar9300_ani_poll_freebsd()
628 survey.cycle_count = anistats.cyclecnt_diff; in ar9300_ani_poll_freebsd()
629 survey.chan_busy = anistats.rxclr_cnt; in ar9300_ani_poll_freebsd()
630 survey.ext_chan_busy = anistats.extrxclr_cnt; in ar9300_ani_poll_freebsd()
631 survey.tx_busy = anistats.txframecnt_diff; in ar9300_ani_poll_freebsd()
632 survey.rx_busy = anistats.rxframecnt_diff; in ar9300_ani_poll_freebsd()
633 ath_hal_survey_add_sample(ah, &survey); in ar9300_ani_poll_freebsd()
/freebsd/crypto/openssh/
H A DMakefile.in790 @echo 'The survey results have been placed in the file "survey" in the'
792 @echo '"make send-survey".'
H A D.gitignore11 survey.sh
H A DINSTALL274 4. (Optional) Send survey
277 $ make survey
278 [check the contents of the file "survey" to ensure there's no information
280 $ make send-survey
283 host to a survey address. This will help determine which configurations
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c964 struct survey_info *survey) in mt76_get_survey() argument
997 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
998 survey->channel = chan; in mt76_get_survey()
999 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
1000 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
1002 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
1005 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
1008 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
1011 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
1012 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
[all …]
H A Dmt76.h1301 struct survey_info *survey);
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhw.c552 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey, in ath10k_hw_fill_survey_time() argument
559 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time()
569 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time()
587 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time()
588 survey->time_busy = CCNT_TO_MSEC(ar, rcc); in ath10k_hw_fill_survey_time()
H A Dwmi.c2707 struct survey_info *survey; in ath10k_wmi_event_chan_info_unpaired() local
2716 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_unpaired()
2722 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info_unpaired()
2727 memset(survey, 0, sizeof(*survey)); in ath10k_wmi_event_chan_info_unpaired()
2729 survey->noise = params->noise_floor; in ath10k_wmi_event_chan_info_unpaired()
2730 survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired()
2731 survey->time_busy = (params->rx_clear_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired()
2732 survey->filled |= SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info_unpaired()
2743 struct survey_info *survey; in ath10k_wmi_event_chan_info_paired() local
2747 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_paired()
[all …]
H A Dhw.h396 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey,
H A Dcore.h1223 struct survey_info survey[ATH10K_NUM_CHANS]; member
H A Dmac.c8186 struct survey_info *survey) in ath10k_get_survey() argument
8190 struct survey_info *ar_survey = &ar->survey[idx]; in ath10k_get_survey()
8212 memcpy(survey, ar_survey, sizeof(*survey)); in ath10k_get_survey()
8215 survey->channel = &sband->channels[idx]; in ath10k_get_survey()
8217 if (ar->rx_channel == survey->channel) in ath10k_get_survey()
8218 survey->filled |= SURVEY_INFO_IN_USE; in ath10k_get_survey()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.c6287 struct survey_info *survey; in ath12k_chan_info_event() local
6330 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_chan_info_event()
6343 survey = &ar->survey[idx]; in ath12k_chan_info_event()
6344 memset(survey, 0, sizeof(*survey)); in ath12k_chan_info_event()
6345 survey->noise = le32_to_cpu(ch_info_ev.noise_floor); in ath12k_chan_info_event()
6346 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath12k_chan_info_event()
6348 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_chan_info_event()
6349 survey->time_busy = div_u64(le32_to_cpu(ch_info_ev.rx_clear_count), in ath12k_chan_info_event()
6361 struct survey_info *survey; in ath12k_pdev_bss_chan_info_event() local
6412 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_pdev_bss_chan_info_event()
[all …]
H A Dcore.h573 struct survey_info survey[ATH12K_NUM_CHANS]; member
H A Dmac.c6822 struct survey_info *survey) in ath12k_mac_op_get_survey() argument
6832 ar_survey = &ar->survey[idx]; in ath12k_mac_op_get_survey()
6853 memcpy(survey, ar_survey, sizeof(*survey)); in ath12k_mac_op_get_survey()
6856 survey->channel = &sband->channels[idx]; in ath12k_mac_op_get_survey()
6858 if (ar->rx_channel == survey->channel) in ath12k_mac_op_get_survey()
6859 survey->filled |= SURVEY_INFO_IN_USE; in ath12k_mac_op_get_survey()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c5974 struct survey_info *survey) in iwl_mvm_event_mlme_callback()
6003 survey->channel = &sband->channels[chan_idx]; in iwl_mvm_event_mlme_callback()
6004 survey->filled = SURVEY_INFO_TIME | in iwl_mvm_event_mlme_callback()
6008 survey->time = info->time; in iwl_mvm_event_mlme_callback()
6009 survey->time_busy = info->time_busy; in iwl_mvm_event_mlme_callback()
6010 survey->time_rx = info->time_rx;
6011 survey->time_tx = info->time_tx; in iwl_mvm_event_bar_rx_callback()
6012 survey->noise = info->noise; in iwl_mvm_event_bar_rx_callback()
6013 if (survey->noise < 0) in iwl_mvm_event_bar_rx_callback()
6014 survey in iwl_mvm_event_bar_rx_callback()
5706 iwl_mvm_mac_get_survey(struct ieee80211_hw * hw,int idx,struct survey_info * survey) iwl_mvm_mac_get_survey() argument
[all...]
H A Dmvm.h965 * struct iwl_mvm_acs_survey_channel - per-channel survey information
2959 struct survey_info *survey);
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211.c10109 struct freq_survey *survey, *tmp; in clean_survey_results() local
10114 dl_list_for_each_safe(survey, tmp, &survey_results->survey_list, in clean_survey_results()
10116 dl_list_del(&survey->list); in clean_survey_results()
10117 os_free(survey); in clean_survey_results()
10125 struct freq_survey *survey; in add_survey() local
10127 survey = os_zalloc(sizeof(struct freq_survey)); in add_survey()
10128 if (!survey) in add_survey()
10131 survey->ifidx = ifidx; in add_survey()
10132 survey->freq = nla_get_u32(sinfo[NL80211_SURVEY_INFO_FREQUENCY]); in add_survey()
10133 survey->filled = 0; in add_survey()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.c8213 struct survey_info *survey; in ath11k_chan_info_event() local
8256 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_chan_info_event()
8269 survey = &ar->survey[idx]; in ath11k_chan_info_event()
8270 memset(survey, 0, sizeof(*survey)); in ath11k_chan_info_event()
8271 survey->noise = ch_info_ev.noise_floor; in ath11k_chan_info_event()
8272 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath11k_chan_info_event()
8274 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event()
8275 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event()
8286 struct survey_info *survey; in ath11k_pdev_bss_chan_info_event() local
8337 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_pdev_bss_chan_info_event()
[all …]
H A Dcore.h717 struct survey_info survey[ATH11K_NUM_CHANS]; member
H A Dmac.c8546 struct survey_info *survey) in ath11k_mac_op_get_survey() argument
8556 ar_survey = &ar->survey[idx]; in ath11k_mac_op_get_survey()
8583 memcpy(survey, ar_survey, sizeof(*survey)); in ath11k_mac_op_get_survey()
8586 survey->channel = &sband->channels[idx]; in ath11k_mac_op_get_survey()
8588 if (ar->rx_channel == survey->channel) in ath11k_mac_op_get_survey()
8589 survey->filled |= SURVEY_INFO_IN_USE; in ath11k_mac_op_get_survey()
/freebsd/contrib/wpa/hostapd/
H A Ddefconfig350 # your driver must have survey dump capability that is filled by the driver
353 # You can customize the ACS survey algorithm with the hostapd.conf variable
/freebsd/usr.bin/compress/doc/
H A DNOTES48 comprehensive survey of an area which will remain murky for some time.
/freebsd/contrib/wpa/wpa_supplicant/
H A Ddefconfig594 # your driver must have survey dump capability that is filled by the driver
597 # TODO: In analogy to hostapd be able to customize the ACS survey algorithm with

12