Lines Matching refs:spec
2748 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt61pci_probe_hw_mode() local
2787 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt61pci_probe_hw_mode()
2788 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt61pci_probe_hw_mode()
2791 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2792 spec->channels = rf_vals_noseq; in rt61pci_probe_hw_mode()
2794 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2795 spec->channels = rf_vals_seq; in rt61pci_probe_hw_mode()
2799 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt61pci_probe_hw_mode()
2800 spec->num_channels = ARRAY_SIZE(rf_vals_seq); in rt61pci_probe_hw_mode()
2806 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt61pci_probe_hw_mode()
2810 spec->channels_info = info; in rt61pci_probe_hw_mode()
2818 if (spec->num_channels > 14) { in rt61pci_probe_hw_mode()
2820 for (i = 14; i < spec->num_channels; i++) { in rt61pci_probe_hw_mode()