Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c652 ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) in ath5k_get_survey() argument
666 sc->survey.channel_time += cc->cycles / div; in ath5k_get_survey()
667 sc->survey.channel_time_busy += cc->rx_busy / div; in ath5k_get_survey()
668 sc->survey.channel_time_rx += cc->rx_frame / div; in ath5k_get_survey()
669 sc->survey.channel_time_tx += cc->tx_frame / div; in ath5k_get_survey()
674 memcpy(survey, &sc->survey, sizeof(*survey)); in ath5k_get_survey()
676 survey->channel = conf->channel; in ath5k_get_survey()
677 survey->noise = sc->ah->ah_noise_floor; in ath5k_get_survey()
678 survey->filled = SURVEY_INFO_NOISE_DBM | in ath5k_get_survey()
Dbase.h260 struct survey_info survey; /* collected survey info */ member
Dbase.c2687 memset(&sc->survey, 0, sizeof(sc->survey)); in ath5k_reset()
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dmain.c164 struct survey_info *survey = &sc->survey[channel]; in ath_update_survey_nf() local
167 survey->filled |= SURVEY_INFO_NOISE_DBM; in ath_update_survey_nf()
168 survey->noise = chan->noisefloor; in ath_update_survey_nf()
182 struct survey_info *survey = &sc->survey[pos]; in ath_update_survey_stats() local
194 survey->filled |= SURVEY_INFO_CHANNEL_TIME | in ath_update_survey_stats()
198 survey->channel_time += cc->cycles / div; in ath_update_survey_stats()
199 survey->channel_time_busy += cc->rx_busy / div; in ath_update_survey_stats()
200 survey->channel_time_rx += cc->rx_frame / div; in ath_update_survey_stats()
201 survey->channel_time_tx += cc->tx_frame / div; in ath_update_survey_stats()
1700 sc->cur_survey != &sc->survey[pos]) { in ath9k_config()
[all …]
Dath9k.h584 struct survey_info survey[ATH9K_NUM_CHANNELS]; member
/linux-2.6.39/drivers/net/wireless/p54/
Dmain.c512 struct survey_info *survey) in p54_get_survey() argument
520 survey->channel = conf->channel; in p54_get_survey()
521 survey->filled = SURVEY_INFO_NOISE_DBM; in p54_get_survey()
522 survey->noise = clamp_t(s8, priv->noise, -128, 127); in p54_get_survey()
/linux-2.6.39/drivers/net/wireless/libertas_tf/
Dmain.c528 struct survey_info *survey) in lbtf_op_get_survey() argument
536 survey->channel = conf->channel; in lbtf_op_get_survey()
537 survey->filled = SURVEY_INFO_NOISE_DBM; in lbtf_op_get_survey()
538 survey->noise = priv->noise; in lbtf_op_get_survey()
/linux-2.6.39/net/mac80211/
Ddriver-ops.h403 struct survey_info *survey) in drv_get_survey() argument
407 trace_drv_get_survey(local, idx, survey); in drv_get_survey()
410 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
Ddriver-trace.h737 struct survey_info *survey),
739 TP_ARGS(local, idx, survey),
Dcfg.c417 int idx, struct survey_info *survey) in ieee80211_dump_survey() argument
421 return drv_get_survey(local, idx, survey); in ieee80211_dump_survey()
/linux-2.6.39/net/wireless/
Dnl80211.c3413 struct survey_info *survey) in nl80211_send_survey() argument
3419 if (!survey->channel) in nl80211_send_survey()
3434 survey->channel->center_freq); in nl80211_send_survey()
3435 if (survey->filled & SURVEY_INFO_NOISE_DBM) in nl80211_send_survey()
3437 survey->noise); in nl80211_send_survey()
3438 if (survey->filled & SURVEY_INFO_IN_USE) in nl80211_send_survey()
3440 if (survey->filled & SURVEY_INFO_CHANNEL_TIME) in nl80211_send_survey()
3442 survey->channel_time); in nl80211_send_survey()
3443 if (survey->filled & SURVEY_INFO_CHANNEL_TIME_BUSY) in nl80211_send_survey()
3445 survey->channel_time_busy); in nl80211_send_survey()
[all …]
/linux-2.6.39/drivers/net/wireless/wl1251/
Dmain.c1189 struct survey_info *survey) in wl1251_op_get_survey() argument
1197 survey->channel = conf->channel; in wl1251_op_get_survey()
1198 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1251_op_get_survey()
1199 survey->noise = wl->noise; in wl1251_op_get_survey()
/linux-2.6.39/drivers/net/wireless/
Dmac80211_hwsim.c850 struct survey_info *survey) in mac80211_hwsim_get_survey() argument
860 survey->channel = conf->channel; in mac80211_hwsim_get_survey()
868 survey->filled = SURVEY_INFO_NOISE_DBM; in mac80211_hwsim_get_survey()
869 survey->noise = -92; in mac80211_hwsim_get_survey()
Dmwl8k.c4366 struct survey_info *survey) in mwl8k_get_survey() argument
4374 survey->channel = conf->channel; in mwl8k_get_survey()
4375 survey->filled = SURVEY_INFO_NOISE_DBM; in mwl8k_get_survey()
4376 survey->noise = priv->noise; in mwl8k_get_survey()
/linux-2.6.39/drivers/net/wireless/rt2x00/
Drt2800lib.h205 struct survey_info *survey);
Drt2800lib.c4085 struct survey_info *survey) in rt2800_get_survey() argument
4094 survey->channel = conf->channel; in rt2800_get_survey()
4101 survey->filled = SURVEY_INFO_CHANNEL_TIME | in rt2800_get_survey()
4105 survey->channel_time = (idle + busy) / 1000; in rt2800_get_survey()
4106 survey->channel_time_busy = busy / 1000; in rt2800_get_survey()
4107 survey->channel_time_ext_busy = busy_ext / 1000; in rt2800_get_survey()
/linux-2.6.39/drivers/net/wireless/libertas/
Dcfg.c1589 int idx, struct survey_info *survey) in lbs_get_survey() argument
1600 survey->channel = ieee80211_get_channel(wiphy, in lbs_get_survey()
1606 survey->filled = SURVEY_INFO_NOISE_DBM; in lbs_get_survey()
1607 survey->noise = noise; in lbs_get_survey()
/linux-2.6.39/drivers/net/wireless/ath/carl9170/
Dmain.c1421 struct survey_info *survey) in carl9170_op_get_survey() argument
1435 survey->channel = ar->channel; in carl9170_op_get_survey()
1436 survey->filled = SURVEY_INFO_NOISE_DBM; in carl9170_op_get_survey()
1437 survey->noise = ar->noise[0]; in carl9170_op_get_survey()
/linux-2.6.39/drivers/net/wireless/ath/ar9170/
Dmain.c1907 struct survey_info *survey) in ar9170_get_survey() argument
1917 survey->channel = conf->channel; in ar9170_get_survey()
1918 survey->filled = SURVEY_INFO_NOISE_DBM; in ar9170_get_survey()
1919 survey->noise = ar->noise[0]; in ar9170_get_survey()
/linux-2.6.39/drivers/net/wireless/wl12xx/
Dmain.c2717 struct survey_info *survey) in wl1271_op_get_survey() argument
2725 survey->channel = conf->channel; in wl1271_op_get_survey()
2726 survey->filled = SURVEY_INFO_NOISE_DBM; in wl1271_op_get_survey()
2727 survey->noise = wl->noise; in wl1271_op_get_survey()
/linux-2.6.39/drivers/net/wireless/b43legacy/
Dmain.c3513 struct survey_info *survey) in b43legacy_op_get_survey() argument
3522 survey->channel = conf->channel; in b43legacy_op_get_survey()
3523 survey->filled = SURVEY_INFO_NOISE_DBM; in b43legacy_op_get_survey()
3524 survey->noise = dev->stats.link_noise; in b43legacy_op_get_survey()
/linux-2.6.39/include/net/
Dmac80211.h1883 struct survey_info *survey);
/linux-2.6.39/drivers/net/wireless/b43/
Dmain.c4618 struct survey_info *survey) in b43_op_get_survey() argument
4627 survey->channel = conf->channel; in b43_op_get_survey()
4628 survey->filled = SURVEY_INFO_NOISE_DBM; in b43_op_get_survey()
4629 survey->noise = dev->stats.link_noise; in b43_op_get_survey()