Lines Matching refs:spec
2750 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt61pci_probe_hw_mode() local
2790 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt61pci_probe_hw_mode()
2791 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt61pci_probe_hw_mode()
2794 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2795 spec->channels = rf_vals_noseq; in rt61pci_probe_hw_mode()
2797 spec->num_channels = 14; in rt61pci_probe_hw_mode()
2798 spec->channels = rf_vals_seq; in rt61pci_probe_hw_mode()
2802 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt61pci_probe_hw_mode()
2803 spec->num_channels = ARRAY_SIZE(rf_vals_seq); in rt61pci_probe_hw_mode()
2809 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt61pci_probe_hw_mode()
2813 spec->channels_info = info; in rt61pci_probe_hw_mode()
2821 if (spec->num_channels > 14) { in rt61pci_probe_hw_mode()
2823 for (i = 14; i < spec->num_channels; i++) { in rt61pci_probe_hw_mode()