Lines Matching defs:spec
2657 struct hw_mode_spec *spec = &rt2x00dev->spec;
2696 spec->supported_bands = SUPPORT_BAND_2GHZ;
2697 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM;
2700 spec->num_channels = 14;
2701 spec->channels = rf_vals_noseq;
2703 spec->num_channels = 14;
2704 spec->channels = rf_vals_seq;
2708 spec->supported_bands |= SUPPORT_BAND_5GHZ;
2709 spec->num_channels = ARRAY_SIZE(rf_vals_seq);
2715 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL);
2719 spec->channels_info = info;
2727 if (spec->num_channels > 14) {
2729 for (i = 14; i < spec->num_channels; i++) {