Lines Matching refs:spec
2527 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt61pci_probe_hw_mode() local
2548 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt61pci_probe_hw_mode()
2549 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt61pci_probe_hw_mode()
2552 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2553 spec->channels = rf_vals_noseq; in rt61pci_probe_hw_mode()
2555 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2556 spec->channels = rf_vals_seq; in rt61pci_probe_hw_mode()
2561 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt61pci_probe_hw_mode()
2562 spec->num_channels = ARRAY_SIZE(rf_vals_seq); in rt61pci_probe_hw_mode()
2568 info = kzalloc(spec->num_channels * sizeof(*info), GFP_KERNEL); in rt61pci_probe_hw_mode()
2572 spec->channels_info = info; in rt61pci_probe_hw_mode()
2578 if (spec->num_channels > 14) { in rt61pci_probe_hw_mode()
2580 for (i = 14; i < spec->num_channels; i++) in rt61pci_probe_hw_mode()