summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-12-07 15:57:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-12-22 13:56:02 -0500
commit9da3e068142ec7856b2f13261dcf0660fad32b61 (patch)
tree1afb5803591d4ec5ecc7aea3c36b103056824541 /include
parent7db94e210351e8578d4a98fed3edd4df5f10ae9d (diff)
downloadlinux-9da3e068142ec7856b2f13261dcf0660fad32b61.tar.gz
linux-9da3e068142ec7856b2f13261dcf0660fad32b61.tar.bz2
linux-9da3e068142ec7856b2f13261dcf0660fad32b61.zip
mac80211: only bother printing highest data rate on debugfs if its set
IEEE-802.11n spec says the RX highest data rate field does not specify the highest supported RX data rate if its not set. Ignore it if not set then. Refer to section 7.3.56.4 Cc: johannes@sipsolutions.net Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index e8d43d0ff2c3..098bedcde9bb 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -775,7 +775,10 @@ struct ieee80211_bar {
/**
* struct ieee80211_mcs_info - MCS information
* @rx_mask: RX mask
- * @rx_highest: highest supported RX rate
+ * @rx_highest: highest supported RX rate. If set represents
+ * the highest supported RX data rate in units of 1 Mbps.
+ * If this field is 0 this value should not be used to
+ * consider the highest RX data rate supported.
* @tx_params: TX parameters
*/
struct ieee80211_mcs_info {