Lines Matching defs:range
509 struct iw_range *range = (struct iw_range *)extra;
517 memset(range, 0, sizeof(struct iw_range));
519 range->txpower_capa = IW_TXPOW_DBM;
522 range->min_pmp = 1 * 1024;
523 range->max_pmp = 65535 * 1024;
524 range->min_pmt = 1 * 1024;
525 range->max_pmt = 1000 * 1024;
526 range->pmp_flags = IW_POWER_PERIOD;
527 range->pmt_flags = IW_POWER_TIMEOUT;
528 range->pm_capa = IW_POWER_PERIOD | IW_POWER_TIMEOUT |
532 range->we_version_compiled = WIRELESS_EXT;
533 range->we_version_source = 14;
535 range->retry_capa = IW_RETRY_LIMIT;
536 range->retry_flags = IW_RETRY_LIMIT;
537 range->min_retry = 0;
538 range->max_retry = 255;
540 range->num_channels = pAdapter->ChannelListNum;
543 for (i = 1; i <= range->num_channels; i++) {
545 range->freq[val].i = pAdapter->ChannelList[i - 1].Channel;
547 range->freq[val].m = m * 100; /* OS_HZ */
549 range->freq[val].e = 1;
554 range->num_frequency = val;
556 range->max_qual.qual = 100; /* what is correct max? This was not
559 range->max_qual.level = 0; /* dB */
560 range->max_qual.noise = 0; /* dB */
563 range->avg_qual.qual = 20;
564 range->avg_qual.level = -60;
565 range->avg_qual.noise = -95;
566 range->sensitivity = 3;
568 range->max_encoding_tokens = NR_WEP_KEYS;
569 range->num_encoding_sizes = 2;
570 range->encoding_size[0] = 5;
571 range->encoding_size[1] = 13;
573 range->min_rts = 0;
574 range->max_rts = 2347;
575 range->min_frag = 256;
576 range->max_frag = 2346;
579 range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 |
2607 case SIOCGIWRANGE: /*Get range of parameters */