Home
last modified time | relevance | path

Searched refs:survey (Results 1 – 25 of 39) 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.in839 @echo 'The survey results have been placed in the file "survey" in the'
841 @echo '"make send-survey".'
H A D.gitignore12 survey.sh
H A DINSTALL279 4. (Optional) Send survey
282 $ make survey
283 [check the contents of the file "survey" to ensure there's no information
285 $ make send-survey
288 host to a survey address. This will help determine which configurations
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmac80211.c1140 struct survey_info *survey) in mt76_get_survey() argument
1175 memset(survey, 0, sizeof(*survey)); in mt76_get_survey()
1176 survey->channel = chan; in mt76_get_survey()
1177 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
1178 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
1180 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
1183 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
1186 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
1189 survey->time_busy = div_u64(state->cc_busy, 1000); in mt76_get_survey()
1190 survey->time_rx = div_u64(state->cc_rx, 1000); in mt76_get_survey()
[all …]
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhw.c553 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey, in ath10k_hw_fill_survey_time() argument
560 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time()
570 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time()
588 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time()
589 survey->time_busy = CCNT_TO_MSEC(ar, rcc); in ath10k_hw_fill_survey_time()
H A Dwmi.c2736 struct survey_info *survey; in ath10k_wmi_event_chan_info_unpaired() local
2745 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_unpaired()
2751 survey = &ar->survey[idx]; in ath10k_wmi_event_chan_info_unpaired()
2756 memset(survey, 0, sizeof(*survey)); in ath10k_wmi_event_chan_info_unpaired()
2758 survey->noise = params->noise_floor; in ath10k_wmi_event_chan_info_unpaired()
2759 survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired()
2760 survey->time_busy = (params->rx_clear_count / params->mac_clk_mhz) / 1000; in ath10k_wmi_event_chan_info_unpaired()
2761 survey->filled |= SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath10k_wmi_event_chan_info_unpaired()
2772 struct survey_info *survey; in ath10k_wmi_event_chan_info_paired() local
2776 if (idx >= ARRAY_SIZE(ar->survey)) { in ath10k_wmi_event_chan_info_paired()
[all …]
H A Dhw.h393 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey,
H A Dcore.h1232 struct survey_info survey[ATH10K_NUM_CHANS]; member
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dscan.h37 struct survey_info *survey);
H A Dscan.c2147 struct survey_info *survey) in iwl_mld_mac80211_get_survey() argument
2188 survey->channel = &sband->channels[per_band_idx]; in iwl_mld_mac80211_get_survey()
2189 survey->filled = SURVEY_INFO_TIME | in iwl_mld_mac80211_get_survey()
2191 survey->time = info->time; in iwl_mld_mac80211_get_survey()
2192 survey->time_busy = info->time_busy; in iwl_mld_mac80211_get_survey()
2193 survey->noise = info->noise; in iwl_mld_mac80211_get_survey()
2194 if (survey->noise < 0) in iwl_mld_mac80211_get_survey()
2195 survey->filled |= SURVEY_INFO_NOISE_DBM; in iwl_mld_mac80211_get_survey()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c5787 struct survey_info *survey) in iwl_mvm_mac_get_acs_survey() argument
5816 survey->channel = &sband->channels[chan_idx]; in iwl_mvm_mac_get_acs_survey()
5817 survey->filled = SURVEY_INFO_TIME | in iwl_mvm_mac_get_acs_survey()
5821 survey->time = info->time; in iwl_mvm_mac_get_acs_survey()
5822 survey->time_busy = info->time_busy; in iwl_mvm_mac_get_acs_survey()
5823 survey->time_rx = info->time_rx; in iwl_mvm_mac_get_acs_survey()
5824 survey->time_tx = info->time_tx; in iwl_mvm_mac_get_acs_survey()
5825 survey->noise = info->noise; in iwl_mvm_mac_get_acs_survey()
5826 if (survey->noise < 0) in iwl_mvm_mac_get_acs_survey()
5827 survey->filled |= SURVEY_INFO_NOISE_DBM; in iwl_mvm_mac_get_acs_survey()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dmac80211.c1908 struct survey_info *survey) in rtw89_ops_get_survey() argument
1915 survey->channel = conf->chandef.chan; in rtw89_ops_get_survey()
1916 survey->filled = SURVEY_INFO_NOISE_DBM; in rtw89_ops_get_survey()
1917 survey->noise = RTW89_NOISE_DEFAULT; in rtw89_ops_get_survey()
1930 survey->filled = SURVEY_INFO_NOISE_DBM; in rtw89_ops_get_survey()
1931 survey->noise = rpt->noise - MAX_RSSI; in rtw89_ops_get_survey()
1932 survey->channel = rpt->channel; in rtw89_ops_get_survey()
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c8196 brcmf_parse_dump_obss(char *buf, struct brcmf_dump_survey *survey) in brcmf_parse_dump_obss() argument
8212 survey->obss = val; in brcmf_parse_dump_obss()
8221 survey->ibss = val; in brcmf_parse_dump_obss()
8230 survey->tx = val; in brcmf_parse_dump_obss()
8239 survey->no_ctg = val; in brcmf_parse_dump_obss()
8248 survey->no_pckt = val; in brcmf_parse_dump_obss()
8257 survey->idle = val; in brcmf_parse_dump_obss()
8268 struct brcmf_dump_survey *survey) in brcmf_dump_obss() argument
8289 brcmf_parse_dump_obss(results->buf, survey); in brcmf_dump_obss()
8328 struct brcmf_dump_survey survey = {}; in brcmf_cfg80211_dump_survey() local
[all …]
/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/ath12k/
H A Dmac.h304 struct survey_info *survey);
H A Dwmi.c7759 struct survey_info *survey; in ath12k_chan_info_event() local
7802 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_chan_info_event()
7815 survey = &ar->survey[idx]; in ath12k_chan_info_event()
7816 memset(survey, 0, sizeof(*survey)); in ath12k_chan_info_event()
7817 survey->noise = le32_to_cpu(ch_info_ev.noise_floor); in ath12k_chan_info_event()
7818 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath12k_chan_info_event()
7820 survey->time = div_u64(le32_to_cpu(ch_info_ev.cycle_count), cc_freq_hz); in ath12k_chan_info_event()
7821 survey->time_busy = div_u64(le32_to_cpu(ch_info_ev.rx_clear_count), in ath12k_chan_info_event()
7833 struct survey_info *survey; in ath12k_pdev_bss_chan_info_event() local
7884 if (idx >= ARRAY_SIZE(ar->survey)) { in ath12k_pdev_bss_chan_info_event()
[all …]
H A Dcore.h732 struct survey_info survey[ATH12K_NUM_CHANS]; member
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.c8281 struct survey_info *survey; in ath11k_chan_info_event() local
8324 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_chan_info_event()
8337 survey = &ar->survey[idx]; in ath11k_chan_info_event()
8338 memset(survey, 0, sizeof(*survey)); in ath11k_chan_info_event()
8339 survey->noise = ch_info_ev.noise_floor; in ath11k_chan_info_event()
8340 survey->filled = SURVEY_INFO_NOISE_DBM | SURVEY_INFO_TIME | in ath11k_chan_info_event()
8342 survey->time = div_u64(ch_info_ev.cycle_count, cc_freq_hz); in ath11k_chan_info_event()
8343 survey->time_busy = div_u64(ch_info_ev.rx_clear_count, cc_freq_hz); in ath11k_chan_info_event()
8354 struct survey_info *survey; in ath11k_pdev_bss_chan_info_event() local
8405 if (idx >= ARRAY_SIZE(ar->survey)) { in ath11k_pdev_bss_chan_info_event()
[all …]
H A Dcore.h785 struct survey_info survey[ATH11K_NUM_CHANS]; member
/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