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