Lines Matching refs:spec
1687 struct hw_mode_spec *spec = &rt2x00dev->spec; in rt2500usb_probe_hw_mode() local
1720 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt2500usb_probe_hw_mode()
1721 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt2500usb_probe_hw_mode()
1724 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2522); in rt2500usb_probe_hw_mode()
1725 spec->channels = rf_vals_bg_2522; in rt2500usb_probe_hw_mode()
1727 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2523); in rt2500usb_probe_hw_mode()
1728 spec->channels = rf_vals_bg_2523; in rt2500usb_probe_hw_mode()
1730 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2524); in rt2500usb_probe_hw_mode()
1731 spec->channels = rf_vals_bg_2524; in rt2500usb_probe_hw_mode()
1733 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525); in rt2500usb_probe_hw_mode()
1734 spec->channels = rf_vals_bg_2525; in rt2500usb_probe_hw_mode()
1736 spec->num_channels = ARRAY_SIZE(rf_vals_bg_2525e); in rt2500usb_probe_hw_mode()
1737 spec->channels = rf_vals_bg_2525e; in rt2500usb_probe_hw_mode()
1739 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt2500usb_probe_hw_mode()
1740 spec->num_channels = ARRAY_SIZE(rf_vals_5222); in rt2500usb_probe_hw_mode()
1741 spec->channels = rf_vals_5222; in rt2500usb_probe_hw_mode()
1747 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt2500usb_probe_hw_mode()
1751 spec->channels_info = info; in rt2500usb_probe_hw_mode()
1759 if (spec->num_channels > 14) { in rt2500usb_probe_hw_mode()
1760 for (i = 14; i < spec->num_channels; i++) { in rt2500usb_probe_hw_mode()