Lines Matching defs:range
409 struct iw_range *range = (struct iw_range *)extra;
410 struct iw_range_with_scan_capa* tmp = (struct iw_range_with_scan_capa*)range;
415 wrqu->data.length = sizeof(*range);
416 memset(range, 0, sizeof(*range));
427 range->throughput = 5 * 1000 * 1000;
430 // range->min_nwid; /* Minimal NWID we are able to set */
432 // range->max_nwid; /* Maximal NWID we are able to set */
435 // range->old_num_channels;
436 // range->old_num_frequency;
437 // range->old_freq[6]; /* Filler to keep "version" at the same offset */
439 range->sensitivity = priv->max_sens; /* signal level threshold range */
441 range->max_qual.qual = 100;
443 range->max_qual.level = 0;
444 range->max_qual.noise = -98;
445 range->max_qual.updated = 7; /* Updated all three */
447 range->avg_qual.qual = 92; /* > 8% missed beacons is 'bad' */
449 range->avg_qual.level = 20 + -98;
450 range->avg_qual.noise = 0;
451 range->avg_qual.updated = 7; /* Updated all three */
453 range->num_bitrates = RATE_COUNT;
456 range->bitrate[i] = rtl8180_rates[i];
459 range->min_frag = MIN_FRAG_THRESHOLD;
460 range->max_frag = MAX_FRAG_THRESHOLD;
462 range->min_pmp=0;
463 range->max_pmp = 5000000;
464 range->min_pmt = 0;
465 range->max_pmt = 65535*1000;
466 range->pmp_flags = IW_POWER_PERIOD;
467 range->pmt_flags = IW_POWER_TIMEOUT;
468 range->pm_capa = IW_POWER_PERIOD | IW_POWER_TIMEOUT | IW_POWER_ALL_R;
470 range->we_version_compiled = WIRELESS_EXT;
471 range->we_version_source = 16;
478 range->freq[val].i = i + 1;
479 range->freq[val].m = ieee80211_wlan_frequencies[i] * 100000;
480 range->freq[val].e = 1;
489 range->num_frequency = val;
490 range->num_channels = val;
491 range->enc_capa = IW_ENC_CAPA_WPA|IW_ENC_CAPA_WPA2|