summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorSimon Wunderlich2012-01-28 17:25:32 +0100
committerJohn W. Linville2012-01-30 21:48:25 +0100
commit24db78c05b1e3ccb5a78aedd17aa1008c91dab5a (patch)
treef41babc8ada871a26619be23f983121ad557da91 /include/net
parentrtlwifi: Move pr_fmt macros to a single location (diff)
downloadkernel-qcow2-linux-24db78c05b1e3ccb5a78aedd17aa1008c91dab5a.tar.gz
kernel-qcow2-linux-24db78c05b1e3ccb5a78aedd17aa1008c91dab5a.tar.xz
kernel-qcow2-linux-24db78c05b1e3ccb5a78aedd17aa1008c91dab5a.zip
nl80211: add support for mcs masks
Allow to set mcs masks through nl80211. We also allow to set MCS rates but no legacy rates (and vice versa). Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 5bb3ed4f99f5..2964205332f4 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1232,8 +1232,7 @@ enum wiphy_params_flags {
struct cfg80211_bitrate_mask {
struct {
u32 legacy;
- /* TODO: add support for masking MCS rates; e.g.: */
- /* u8 mcs[IEEE80211_HT_MCS_MASK_LEN]; */
+ u8 mcs[IEEE80211_HT_MCS_MASK_LEN];
} control[IEEE80211_NUM_BANDS];
};
/**