Lines Matching defs:range
378 struct iw_range *range = (struct iw_range *) extra;
390 /* Set range information */
392 memset(range, 0, sizeof(struct iw_range));
398 /* Set range information */
399 memset( range, 0, sizeof( struct iw_range ));
445 range->throughput = CNV_LITTLE_TO_INT( *pTxRate ) * MEGABIT;
455 range->num_channels = RADIO_CHANNELS;
459 range->sensitivity = RADIO_SENSITIVITY_LEVELS;
465 range->max_qual.qual = (u_char)HCF_MAX_COMM_QUALITY;
467 /* If the value returned in /proc/net/wireless is greater than the maximum range,
471 range->max_qual.level = (u_char)( dbm( HCF_MIN_SIGNAL_LEVEL ) - 1 );
472 range->max_qual.noise = (u_char)( dbm( HCF_MIN_NOISE_LEVEL ) - 1 );
475 range->max_qual.qual = 100;
476 range->max_qual.level = 100;
477 range->max_qual.noise = 100;
483 range->num_bitrates = 0;
492 range->bitrate[count] = lp->ltvRecord.u.u8[count+2] * MEGABIT / 2;
493 range->num_bitrates++;
502 range->min_rts = MIN_RTS_BYTES;
503 range->max_rts = MAX_RTS_BYTES;
521 range->encoding_size[0] = MIN_KEY_SIZE;
524 range->encoding_size[1] = MAX_KEY_SIZE;
525 range->num_encoding_sizes = 2;
526 range->max_encoding_tokens = MAX_KEYS;
532 range->txpower_capa = IW_TXPOW_MWATT;
533 range->num_txpower = 1;
534 range->txpower[0] = RADIO_TX_POWER_MWATT;
539 range->we_version_compiled = WIRELESS_EXT;
540 range->we_version_source = WIRELESS_SUPPORT;
555 range->avg_qual = lp->wstats.qual;
561 range->event_capa[0] = (IW_EVENT_CAPA_K_0 |
564 range->event_capa[1] = IW_EVENT_CAPA_K_1;
565 range->event_capa[4] = (IW_EVENT_CAPA_MASK(IWEVREGISTERED) |
569 range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_CIPHER_TKIP;