aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-19 19:57:35 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-20 11:52:21 -0400
commitf79d9bad37cb1e7ef23d60b1dd0b7859957ced9e (patch)
tree455199d0e2560726656858deffe12b7aa702a522 /include/net
parent3bb065a7420c90421d6bbea5f7cffe36bd79a048 (diff)
downloadkernel_samsung_espresso10-f79d9bad37cb1e7ef23d60b1dd0b7859957ced9e.zip
kernel_samsung_espresso10-f79d9bad37cb1e7ef23d60b1dd0b7859957ced9e.tar.gz
kernel_samsung_espresso10-f79d9bad37cb1e7ef23d60b1dd0b7859957ced9e.tar.bz2
mac80211: add flags for STBC (Space-Time Block Coding)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mac80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 0e2a1a9..7dc5a67 100644
--- 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: Enables Space-Time Block Coding (STBC) for this
+ * frame and selects the maximum number of streams that it can use.
*/
enum mac80211_tx_control_flags {
IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0),
@@ -299,6 +301,8 @@ 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) | BIT(24),
+#define IEEE80211_TX_CTL_STBC_SHIFT 23
};
/**