Lines Matching refs:spec

7461 	struct hw_mode_spec *spec = &rt2x00dev->spec;  in rt2800_probe_hw_mode()  local
7515 spec->supported_rates = SUPPORT_RATE_CCK | SUPPORT_RATE_OFDM; in rt2800_probe_hw_mode()
7520 spec->num_channels = 14; in rt2800_probe_hw_mode()
7521 spec->channels = rf_vals; in rt2800_probe_hw_mode()
7526 spec->num_channels = ARRAY_SIZE(rf_vals); in rt2800_probe_hw_mode()
7527 spec->channels = rf_vals; in rt2800_probe_hw_mode()
7544 spec->num_channels = 14; in rt2800_probe_hw_mode()
7545 spec->channels = rf_vals_3x; in rt2800_probe_hw_mode()
7550 spec->num_channels = ARRAY_SIZE(rf_vals_3x); in rt2800_probe_hw_mode()
7551 spec->channels = rf_vals_3x; in rt2800_probe_hw_mode()
7557 spec->num_channels = ARRAY_SIZE(rf_vals_5592_xtal40); in rt2800_probe_hw_mode()
7558 spec->channels = rf_vals_5592_xtal40; in rt2800_probe_hw_mode()
7560 spec->num_channels = ARRAY_SIZE(rf_vals_5592_xtal20); in rt2800_probe_hw_mode()
7561 spec->channels = rf_vals_5592_xtal20; in rt2800_probe_hw_mode()
7566 if (WARN_ON_ONCE(!spec->channels)) in rt2800_probe_hw_mode()
7569 spec->supported_bands = SUPPORT_BAND_2GHZ; in rt2800_probe_hw_mode()
7570 if (spec->num_channels > 14) in rt2800_probe_hw_mode()
7571 spec->supported_bands |= SUPPORT_BAND_5GHZ; in rt2800_probe_hw_mode()
7577 spec->ht.ht_supported = true; in rt2800_probe_hw_mode()
7579 spec->ht.ht_supported = false; in rt2800_probe_hw_mode()
7581 spec->ht.cap = in rt2800_probe_hw_mode()
7588 spec->ht.cap |= IEEE80211_HT_CAP_TX_STBC; in rt2800_probe_hw_mode()
7590 spec->ht.cap |= rt2x00dev->default_ant.rx_chain_num << in rt2800_probe_hw_mode()
7593 spec->ht.ampdu_factor = 3; in rt2800_probe_hw_mode()
7594 spec->ht.ampdu_density = 4; in rt2800_probe_hw_mode()
7595 spec->ht.mcs.tx_params = in rt2800_probe_hw_mode()
7603 spec->ht.mcs.rx_mask[2] = 0xff; in rt2800_probe_hw_mode()
7605 spec->ht.mcs.rx_mask[1] = 0xff; in rt2800_probe_hw_mode()
7607 spec->ht.mcs.rx_mask[0] = 0xff; in rt2800_probe_hw_mode()
7608 spec->ht.mcs.rx_mask[4] = 0x1; /* MCS32 */ in rt2800_probe_hw_mode()
7615 info = kcalloc(spec->num_channels, sizeof(*info), GFP_KERNEL); in rt2800_probe_hw_mode()
7619 spec->channels_info = info; in rt2800_probe_hw_mode()
7637 if (spec->num_channels > 14) { in rt2800_probe_hw_mode()
7650 for (i = 14; i < spec->num_channels; i++) { in rt2800_probe_hw_mode()