mac80211: propagate STBC / LDPC flags to radiotap
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 5 Feb 2014 10:48:53 +0000 (12:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Feb 2014 08:34:58 +0000 (09:34 +0100)
commit63c361f5114d81db789f8f5671c76c228c35b021
treef1304b5a7bc415d40e5da8ab4732b407dc8bec9d
parent1b8d242adbea881658071efc31d2c0dcf8a44fb7
mac80211: propagate STBC / LDPC flags to radiotap

This capabilities weren't propagated to the radiotap header.
We don't set here the VHT_KNOWN / MCS_HAVE flag because not
all the low level drivers will know how to properly flag
the frames, hence the low level driver will be in charge
of setting IEEE80211_RADIOTAP_MCS_HAVE_FEC,
IEEE80211_RADIOTAP_MCS_HAVE_STBC and / or
IEEE80211_RADIOTAP_VHT_KNOWN_STBC according to its
capabilities.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/ieee80211_radiotap.h
include/net/mac80211.h
net/mac80211/rx.c