Lines Matching refs:spec
1864 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt2500pci_probe_hw_mode() local
1890 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt2500pci_probe_hw_mode()
1891 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt2500pci_probe_hw_mode()
1894 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2522); in rt2500pci_probe_hw_mode()
1895 spec->channels = rf_vals_bg_2522; in rt2500pci_probe_hw_mode()
1897 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2523); in rt2500pci_probe_hw_mode()
1898 spec->channels = rf_vals_bg_2523; in rt2500pci_probe_hw_mode()
1900 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2524); in rt2500pci_probe_hw_mode()
1901 spec->channels = rf_vals_bg_2524; in rt2500pci_probe_hw_mode()
1903 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525); in rt2500pci_probe_hw_mode()
1904 spec->channels = rf_vals_bg_2525; in rt2500pci_probe_hw_mode()
1906 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525e); in rt2500pci_probe_hw_mode()
1907 spec->channels = rf_vals_bg_2525e; in rt2500pci_probe_hw_mode()
1909 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt2500pci_probe_hw_mode()
1910 spec->num_channels = ARRAY_SIZE(rf_vals_5222); in rt2500pci_probe_hw_mode()
1911 spec->channels = rf_vals_5222; in rt2500pci_probe_hw_mode()
1917 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt2500pci_probe_hw_mode()
1921 spec->channels_info = info; in rt2500pci_probe_hw_mode()
1929 if (spec->num_channels > 14) { in rt2500pci_probe_hw_mode()
1930 for (i = 14; i < spec->num_channels; i++) { in rt2500pci_probe_hw_mode()