Lines Matching refs:spec
1685 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt2500usb_probe_hw_mode() local
1717 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt2500usb_probe_hw_mode()
1718 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt2500usb_probe_hw_mode()
1721 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2522); in rt2500usb_probe_hw_mode()
1722 spec->channels = rf_vals_bg_2522; in rt2500usb_probe_hw_mode()
1724 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2523); in rt2500usb_probe_hw_mode()
1725 spec->channels = rf_vals_bg_2523; in rt2500usb_probe_hw_mode()
1727 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2524); in rt2500usb_probe_hw_mode()
1728 spec->channels = rf_vals_bg_2524; in rt2500usb_probe_hw_mode()
1730 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525); in rt2500usb_probe_hw_mode()
1731 spec->channels = rf_vals_bg_2525; in rt2500usb_probe_hw_mode()
1733 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525e); in rt2500usb_probe_hw_mode()
1734 spec->channels = rf_vals_bg_2525e; in rt2500usb_probe_hw_mode()
1736 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt2500usb_probe_hw_mode()
1737 spec->num_channels = ARRAY_SIZE(rf_vals_5222); in rt2500usb_probe_hw_mode()
1738 spec->channels = rf_vals_5222; in rt2500usb_probe_hw_mode()
1744 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt2500usb_probe_hw_mode()
1748 spec->channels_info = info; in rt2500usb_probe_hw_mode()
1756 if (spec->num_channels > 14) { in rt2500usb_probe_hw_mode()
1757 for (i = 14; i < spec->num_channels; i++) { in rt2500usb_probe_hw_mode()