summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-12-08 15:04:35 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-01-14 11:13:14 +0100
commit4352a4d7f6bfd0aed0276a13fa4993db35714db4 (patch)
treeba4792edce85432dbfde2a057774c62b82f730aa /include/net/mac80211.h
parentmac80211: pass RX aggregation window size to driver (diff)
downloadlinux-4352a4d7f6bfd0aed0276a13fa4993db35714db4.tar.xz
linux-4352a4d7f6bfd0aed0276a13fa4993db35714db4.zip
mac80211: document status.freq restrictions
It's not always necessary to set the status.freq field, for example when this would be an expensive calculation. It must be set for all management frames (as they might be reported to userspace), but for data frames it's not really required. Document this. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index a990338a766e..bdee1cc19c7e 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1108,6 +1108,8 @@ enum mac80211_rx_vht_flags {
* it but can store it and pass it back to the driver for synchronisation
* @band: the active band when this frame was received
* @freq: frequency the radio was tuned to when receiving this frame, in MHz
+ * This field must be set for management frames, but isn't strictly needed
+ * for data (other) frames - for those it only affects radiotap reporting.
* @signal: signal strength when receiving this frame, either in dBm, in dB or
* unspecified depending on the hardware capabilities flags
* @IEEE80211_HW_SIGNAL_*