aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c3
-rw-r--r--drivers/net/wireless/ath/carl9170/main.c3
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c3
-rw-r--r--include/net/mac80211.h1
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c3
5 files changed, 10 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 2ba494567777..bd126c25a727 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -767,7 +767,8 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
767 IEEE80211_HW_PS_NULLFUNC_STACK | 767 IEEE80211_HW_PS_NULLFUNC_STACK |
768 IEEE80211_HW_SPECTRUM_MGMT | 768 IEEE80211_HW_SPECTRUM_MGMT |
769 IEEE80211_HW_REPORTS_TX_ACK_STATUS | 769 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
770 IEEE80211_HW_SUPPORTS_RC_TABLE; 770 IEEE80211_HW_SUPPORTS_RC_TABLE |
771 IEEE80211_HW_SUPPORTS_HT_CCK_RATES;
771 772
772 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) 773 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT)
773 hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; 774 hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION;
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c
index e9010a481dfd..0686375a97b9 100644
--- a/drivers/net/wireless/ath/carl9170/main.c
+++ b/drivers/net/wireless/ath/carl9170/main.c
@@ -1857,7 +1857,8 @@ void *carl9170_alloc(size_t priv_size)
1857 IEEE80211_HW_SUPPORTS_PS | 1857 IEEE80211_HW_SUPPORTS_PS |
1858 IEEE80211_HW_PS_NULLFUNC_STACK | 1858 IEEE80211_HW_PS_NULLFUNC_STACK |
1859 IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC | 1859 IEEE80211_HW_NEED_DTIM_BEFORE_ASSOC |
1860 IEEE80211_HW_SIGNAL_DBM; 1860 IEEE80211_HW_SIGNAL_DBM |
1861 IEEE80211_HW_SUPPORTS_HT_CCK_RATES;
1861 1862
1862 if (!modparam_noht) { 1863 if (!modparam_noht) {
1863 /* 1864 /*
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index 705aa3386ee0..7e66a903cfee 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -5912,7 +5912,8 @@ static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
5912 IEEE80211_HW_SUPPORTS_PS | 5912 IEEE80211_HW_SUPPORTS_PS |
5913 IEEE80211_HW_PS_NULLFUNC_STACK | 5913 IEEE80211_HW_PS_NULLFUNC_STACK |
5914 IEEE80211_HW_AMPDU_AGGREGATION | 5914 IEEE80211_HW_AMPDU_AGGREGATION |
5915 IEEE80211_HW_REPORTS_TX_ACK_STATUS; 5915 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
5916 IEEE80211_HW_SUPPORTS_HT_CCK_RATES;
5916 5917
5917 /* 5918 /*
5918 * Don't set IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING for USB devices 5919 * Don't set IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING for USB devices
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 885898a40d13..4e50d3674431 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1484,6 +1484,7 @@ enum ieee80211_hw_flags {
1484 IEEE80211_HW_SUPPORTS_RC_TABLE = 1<<24, 1484 IEEE80211_HW_SUPPORTS_RC_TABLE = 1<<24,
1485 IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 1<<25, 1485 IEEE80211_HW_P2P_DEV_ADDR_FOR_INTF = 1<<25,
1486 IEEE80211_HW_TIMING_BEACON_ONLY = 1<<26, 1486 IEEE80211_HW_TIMING_BEACON_ONLY = 1<<26,
1487 IEEE80211_HW_SUPPORTS_HT_CCK_RATES = 1<<27,
1487}; 1488};
1488 1489
1489/** 1490/**
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index f5aed963b22e..f3bbea1eb9e7 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -828,6 +828,9 @@ minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi,
828 if (sband->band != IEEE80211_BAND_2GHZ) 828 if (sband->band != IEEE80211_BAND_2GHZ)
829 return; 829 return;
830 830
831 if (!(mp->hw->flags & IEEE80211_HW_SUPPORTS_HT_CCK_RATES))
832 return;
833
831 mi->cck_supported = 0; 834 mi->cck_supported = 0;
832 mi->cck_supported_short = 0; 835 mi->cck_supported_short = 0;
833 for (i = 0; i < 4; i++) { 836 for (i = 0; i < 4; i++) {