Lines Matching defs:survey
82 struct survey_info survey;
155 /* Get survey stats for current channel */
156 survey.filled = 0;
173 survey.filled = 0;
174 if (drv_get_survey(local, q, &survey) != 0) {
175 survey.filled = 0;
179 } while (channel != survey.channel);
182 if (survey.filled)
183 data[i++] = survey.channel->center_freq;
186 if (survey.filled & SURVEY_INFO_NOISE_DBM)
187 data[i++] = (u8)survey.noise;
190 if (survey.filled & SURVEY_INFO_TIME)
191 data[i++] = survey.time;
194 if (survey.filled & SURVEY_INFO_TIME_BUSY)
195 data[i++] = survey.time_busy;
198 if (survey.filled & SURVEY_INFO_TIME_EXT_BUSY)
199 data[i++] = survey.time_ext_busy;
202 if (survey.filled & SURVEY_INFO_TIME_RX)
203 data[i++] = survey.time_rx;
206 if (survey.filled & SURVEY_INFO_TIME_TX)
207 data[i++] = survey.time_tx;