summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/565-mac80211_rx_stbc_define.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-18 00:56:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-18 00:56:38 +0000
commit857ed7b676a241ad304166d2a7c7cdb7a2e58da6 (patch)
tree3c5273157da7726178ec4d1045fbe5839b95c8ae /package/mac80211/patches/565-mac80211_rx_stbc_define.patch
parent2f366cb4bd9a535870214d4d74a8d381137fca07 (diff)
downloadmaster-31e0f0ae-857ed7b676a241ad304166d2a7c7cdb7a2e58da6.tar.gz
master-31e0f0ae-857ed7b676a241ad304166d2a7c7cdb7a2e58da6.tar.bz2
master-31e0f0ae-857ed7b676a241ad304166d2a7c7cdb7a2e58da6.zip
ath9k: add stbc support
SVN-Revision: 20976
Diffstat (limited to 'package/mac80211/patches/565-mac80211_rx_stbc_define.patch')
-rw-r--r--package/mac80211/patches/565-mac80211_rx_stbc_define.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/mac80211/patches/565-mac80211_rx_stbc_define.patch b/package/mac80211/patches/565-mac80211_rx_stbc_define.patch
new file mode 100644
index 0000000000..9202708d44
--- /dev/null
+++ b/package/mac80211/patches/565-mac80211_rx_stbc_define.patch
@@ -0,0 +1,29 @@
+--- a/include/linux/ieee80211.h
++++ b/include/linux/ieee80211.h
+@@ -876,6 +876,7 @@ struct ieee80211_ht_cap {
+ #define IEEE80211_HT_CAP_SGI_40 0x0040
+ #define IEEE80211_HT_CAP_TX_STBC 0x0080
+ #define IEEE80211_HT_CAP_RX_STBC 0x0300
++#define IEEE80211_HT_CAP_RX_STBC_SHIFT 8
+ #define IEEE80211_HT_CAP_DELAY_BA 0x0400
+ #define IEEE80211_HT_CAP_MAX_AMSDU 0x0800
+ #define IEEE80211_HT_CAP_DSSSCCK40 0x1000
+--- a/include/net/mac80211.h
++++ b/include/net/mac80211.h
+@@ -275,6 +275,8 @@ struct ieee80211_bss_conf {
+ * MLME command (internal to mac80211 to figure out whether to send TX
+ * status to user space)
+ * @IEEE80211_TX_CTL_LDPC: tells the driver to use LDPC for this frame
++ * @IEEE80211_TX_CTL_STBC: tells the driver to use Space-Time Block Coding
++ * (STBC) for this frame.
+ */
+ enum mac80211_tx_control_flags {
+ IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0),
+@@ -299,6 +301,7 @@ enum mac80211_tx_control_flags {
+ IEEE80211_TX_INTFL_HAS_RADIOTAP = BIT(20),
+ IEEE80211_TX_INTFL_NL80211_FRAME_TX = BIT(21),
+ IEEE80211_TX_CTL_LDPC = BIT(22),
++ IEEE80211_TX_CTL_STBC = BIT(23),
+ };
+
+ /**