Lines Matching refs:range
407 struct iw_range *range = (struct iw_range *) extra; in prism54_get_range() local
414 memset(range, 0, sizeof (struct iw_range)); in prism54_get_range()
418 range->we_version_source = SUPPORTED_WIRELESS_EXT; in prism54_get_range()
419 range->we_version_compiled = WIRELESS_EXT; in prism54_get_range()
422 range->num_encoding_sizes = 3; in prism54_get_range()
424 range->encoding_size[0] = 5; in prism54_get_range()
426 range->encoding_size[1] = 13; in prism54_get_range()
428 range->encoding_size[2] = 32; in prism54_get_range()
430 range->max_encoding_tokens = 4; in prism54_get_range()
433 range->max_qual.level = 0; in prism54_get_range()
434 range->max_qual.noise = 0; in prism54_get_range()
435 range->max_qual.qual = 0; in prism54_get_range()
437 range->avg_qual.level = -80; /* -80 dBm */ in prism54_get_range()
438 range->avg_qual.noise = 0; /* don't know what to put here */ in prism54_get_range()
439 range->avg_qual.qual = 0; in prism54_get_range()
441 range->sensitivity = 200; in prism54_get_range()
444 range->retry_capa = IW_RETRY_LIMIT | IW_RETRY_LIFETIME; in prism54_get_range()
445 range->retry_flags = IW_RETRY_LIMIT; in prism54_get_range()
446 range->r_time_flags = IW_RETRY_LIFETIME; in prism54_get_range()
449 range->min_retry = 1; in prism54_get_range()
450 range->max_retry = 65535; in prism54_get_range()
451 range->min_r_time = 1024; in prism54_get_range()
452 range->max_r_time = 65535 * 1024; in prism54_get_range()
455 range->txpower_capa = IW_TXPOW_DBM; in prism54_get_range()
459 range->event_capa[0] = (IW_EVENT_CAPA_K_0 | in prism54_get_range()
462 range->event_capa[1] = IW_EVENT_CAPA_K_1; in prism54_get_range()
463 range->event_capa[4] = IW_EVENT_CAPA_MASK(IWEVCUSTOM); in prism54_get_range()
477 range->num_channels = freq->nr; in prism54_get_range()
478 range->num_frequency = freq->nr; in prism54_get_range()
482 range->freq[i].m = freq->mhz[i]; in prism54_get_range()
483 range->freq[i].e = 6; in prism54_get_range()
484 range->freq[i].i = channel_of_freq(freq->mhz[i]); in prism54_get_range()
495 range->bitrate[i] = *data * 500000; in prism54_get_range()
499 range->num_bitrates = i; in prism54_get_range()