From bf1e04335eef2ce167922e8f0e7092f663504636 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 18 Apr 2010 00:56:38 +0000 Subject: ath9k: add stbc support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20976 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/567-ath9k_rc_stbc_support.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/mac80211/patches/567-ath9k_rc_stbc_support.patch (limited to 'package/mac80211/patches/567-ath9k_rc_stbc_support.patch') diff --git a/package/mac80211/patches/567-ath9k_rc_stbc_support.patch b/package/mac80211/patches/567-ath9k_rc_stbc_support.patch new file mode 100644 index 000000000..4a4b099ce --- /dev/null +++ b/package/mac80211/patches/567-ath9k_rc_stbc_support.patch @@ -0,0 +1,13 @@ +--- a/drivers/net/wireless/ath/ath9k/rc.c ++++ b/drivers/net/wireless/ath/ath9k/rc.c +@@ -700,6 +700,10 @@ static void ath_get_rate(void *priv, str + (sta->ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)) + tx_info->flags |= IEEE80211_TX_CTL_LDPC; + ++ if (conf_is_ht(&sc->hw->conf) && ++ (sta->ht_cap.cap & IEEE80211_HT_CAP_TX_STBC)) ++ tx_info->flags |= IEEE80211_TX_CTL_STBC; ++ + if (is_probe) { + /* set one try for probe rates. For the + * probes don't enable rts */ -- cgit v1.2.3