OSDN Git Service

mac80211: support reporting 0-length PSDU in radiotap
authorShaul Triebitz <shaul.triebitz@intel.com>
Wed, 5 Sep 2018 05:06:06 +0000 (08:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:08:25 +0000 (10:08 +0200)
commitc3d1f8752802b2e1fb12c73bee50035bc125bc54
tree8b7874b6f209d0d3f447fbecb1133c989dbe2cf8
parent62872a9b9a106f00360193f428451c321ec2e823
mac80211: support reporting 0-length PSDU in radiotap

For certain sounding frames, it may be useful to report them
to userspace even though they don't have a PSDU in order to
determine the PHY parameters (e.g. VHT rate/stream config.)
Add support for this to mac80211.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/ieee80211_radiotap.h
include/net/mac80211.h
net/mac80211/rx.c