|
@@ -654,7 +654,9 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
|
|
hw->sta_data_size = sizeof(struct ath_node);
|
|
hw->sta_data_size = sizeof(struct ath_node);
|
|
hw->vif_data_size = sizeof(struct ath_vif);
|
|
hw->vif_data_size = sizeof(struct ath_vif);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_ATH9K_RATE_CONTROL
|
|
hw->rate_control_algorithm = "ath9k_rate_control";
|
|
hw->rate_control_algorithm = "ath9k_rate_control";
|
|
|
|
+#endif
|
|
|
|
|
|
if (test_bit(ATH9K_MODE_11G, sc->sc_ah->caps.wireless_modes))
|
|
if (test_bit(ATH9K_MODE_11G, sc->sc_ah->caps.wireless_modes))
|
|
hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
|
|
hw->wiphy->bands[IEEE80211_BAND_2GHZ] =
|