Lines Matching defs:range
385 struct iw_range *range = (struct iw_range *)extra;
386 struct iw_range_with_scan_capa* tmp = (struct iw_range_with_scan_capa*)range;
391 wrqu->data.length = sizeof(*range);
392 memset(range, 0, sizeof(*range));
403 range->throughput = 5 * 1000 * 1000;
406 // range->min_nwid; /* Minimal NWID we are able to set */
408 // range->max_nwid; /* Maximal NWID we are able to set */
411 // range->old_num_channels;
412 // range->old_num_frequency;
413 // range->old_freq[6]; /* Filler to keep "version" at the same offset */
415 range->sensitivity = priv->max_sens; /* signal level threshold range */
417 range->max_qual.qual = 100;
419 range->max_qual.level = 0;
420 range->max_qual.noise = -98;
421 range->max_qual.updated = 7; /* Updated all three */
423 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
425 range->avg_qual.level = 20 + -98;
426 range->avg_qual.noise = 0;
427 range->avg_qual.updated = 7; /* Updated all three */
429 range->num_bitrates = RATE_COUNT;
432 range->bitrate[i] = rtl8180_rates[i];
435 range->min_frag = MIN_FRAG_THRESHOLD;
436 range->max_frag = MAX_FRAG_THRESHOLD;
438 range->min_pmp=0;
439 range->max_pmp = 5000000;
440 range->min_pmt = 0;
441 range->max_pmt = 65535*1000;
442 range->pmp_flags = IW_POWER_PERIOD;
443 range->pmt_flags = IW_POWER_TIMEOUT;
444 range->pm_capa = IW_POWER_PERIOD | IW_POWER_TIMEOUT | IW_POWER_ALL_R;
446 range->we_version_compiled = WIRELESS_EXT;
447 range->we_version_source = 16;
449 // range->retry_capa; /* What retry options are supported */
450 // range->retry_flags; /* How to decode max/min retry limit */
451 // range->r_time_flags; /* How to decode max/min retry life */
452 // range->min_retry; /* Minimal number of retries */
453 // range->max_retry; /* Maximal number of retries */
454 // range->min_r_time; /* Minimal retry lifetime */
455 // range->max_r_time; /* Maximal retry lifetime */
466 range->freq[val].i = i + 1;
467 range->freq[val].m = ieee80211_wlan_frequencies[i] * 100000;
468 range->freq[val].e = 1;
477 range->num_frequency = val;
478 range->num_channels = val;
480 range->enc_capa = IW_ENC_CAPA_WPA|IW_ENC_CAPA_WPA2|