Lines Matching defs:range
240 struct iw_range *range = (struct iw_range *)extra;
244 //struct iw_range_with_scan_capa* tmp = (struct iw_range_with_scan_capa*)range; //YJ,add,080819,for hidden ap
246 wrqu->data.length = sizeof(*range);
247 memset(range, 0, sizeof(*range));
258 range->throughput = 5 * 1000 * 1000;
261 // range->min_nwid; /* Minimal NWID we are able to set */
263 // range->max_nwid; /* Maximal NWID we are able to set */
266 // range->old_num_channels;
267 // range->old_num_frequency;
268 // range->old_freq[6]; /* Filler to keep "version" at the same offset */
270 range->sensitivity = priv->max_sens; /* signal level threshold range */
272 range->max_qual.qual = 100;
274 range->max_qual.level = 0;
275 range->max_qual.noise = -98;
276 range->max_qual.updated = 7; /* Updated all three */
278 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
280 range->avg_qual.level = 20 + -98;
281 range->avg_qual.noise = 0;
282 range->avg_qual.updated = 7; /* Updated all three */
284 range->num_bitrates = RATE_COUNT;
287 range->bitrate[i] = rtl8180_rates[i];
290 range->min_frag = MIN_FRAG_THRESHOLD;
291 range->max_frag = MAX_FRAG_THRESHOLD;
293 range->pm_capa = 0;
295 range->we_version_compiled = WIRELESS_EXT;
296 range->we_version_source = 16;
298 // range->retry_capa; /* What retry options are supported */
299 // range->retry_flags; /* How to decode max/min retry limit */
300 // range->r_time_flags; /* How to decode max/min retry life */
301 // range->min_retry; /* Minimal number of retries */
302 // range->max_retry; /* Maximal number of retries */
303 // range->min_r_time; /* Minimal retry lifetime */
304 // range->max_r_time; /* Maximal retry lifetime */
306 range->num_channels = 14;
312 range->freq[val].i = i + 1;
313 range->freq[val].m = ieee80211_wlan_frequencies[i] * 100000;
314 range->freq[val].e = 1;
324 range->num_frequency = val;
325 range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 |