Lines Matching refs:survey
78 struct survey_info survey;
149 /* Get survey stats for current channel */
150 survey.filled = 0;
163 survey.filled = 0;
164 if (drv_get_survey(local, q, &survey) != 0) {
165 survey.filled = 0;
169 } while (channel != survey.channel);
172 if (survey.filled)
173 data[i++] = survey.channel->center_freq;
176 if (survey.filled & SURVEY_INFO_NOISE_DBM)
177 data[i++] = (u8)survey.noise;
180 if (survey.filled & SURVEY_INFO_TIME)
181 data[i++] = survey.time;
184 if (survey.filled & SURVEY_INFO_TIME_BUSY)
185 data[i++] = survey.time_busy;
188 if (survey.filled & SURVEY_INFO_TIME_EXT_BUSY)
189 data[i++] = survey.time_ext_busy;
192 if (survey.filled & SURVEY_INFO_TIME_RX)
193 data[i++] = survey.time_rx;
196 if (survey.filled & SURVEY_INFO_TIME_TX)
197 data[i++] = survey.time_tx;