diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 5f78d7a5ff22..4b5e54848683 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -620,11 +620,13 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) | |||
620 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | | 620 | hw->flags = IEEE80211_HW_RX_INCLUDES_FCS | |
621 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | | 621 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | |
622 | IEEE80211_HW_SIGNAL_DBM | | 622 | IEEE80211_HW_SIGNAL_DBM | |
623 | IEEE80211_HW_AMPDU_AGGREGATION | | ||
624 | IEEE80211_HW_SUPPORTS_PS | | 623 | IEEE80211_HW_SUPPORTS_PS | |
625 | IEEE80211_HW_PS_NULLFUNC_STACK | | 624 | IEEE80211_HW_PS_NULLFUNC_STACK | |
626 | IEEE80211_HW_SPECTRUM_MGMT; | 625 | IEEE80211_HW_SPECTRUM_MGMT; |
627 | 626 | ||
627 | if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) | ||
628 | hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; | ||
629 | |||
628 | if (AR_SREV_9160_10_OR_LATER(sc->sc_ah) || modparam_nohwcrypt) | 630 | if (AR_SREV_9160_10_OR_LATER(sc->sc_ah) || modparam_nohwcrypt) |
629 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; | 631 | hw->flags |= IEEE80211_HW_MFP_CAPABLE; |
630 | 632 | ||
@@ -640,8 +642,7 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) | |||
640 | hw->max_rates = 4; | 642 | hw->max_rates = 4; |
641 | hw->channel_change_time = 5000; | 643 | hw->channel_change_time = 5000; |
642 | hw->max_listen_interval = 10; | 644 | hw->max_listen_interval = 10; |
643 | /* Hardware supports 10 but we use 4 */ | 645 | hw->max_rate_tries = 10; |
644 | hw->max_rate_tries = 4; | ||
645 | hw->sta_data_size = sizeof(struct ath_node); | 646 | hw->sta_data_size = sizeof(struct ath_node); |
646 | hw->vif_data_size = sizeof(struct ath_vif); | 647 | hw->vif_data_size = sizeof(struct ath_vif); |
647 | 648 | ||