cfg80211: clarify frames covered by average ACK signal report
authorBalaji Pothunoori <bpothuno@codeaurora.org>
Thu, 19 Jul 2018 13:26:27 +0000 (18:56 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Aug 2018 09:01:51 +0000 (11:01 +0200)
commit9c06602b1b920ed6b546632bdbbc1f400eea5242
treec95fac53efc9ccda7168aa7af4f91907c00d872c
parent1ecef20cf12865729c86b0e428584635c77159ba
cfg80211: clarify frames covered by average ACK signal report

Modify the API to include all ACK frames in average ACK
signal strength reporting, not just ACKs for data frames.
Make exposing the data conditional on implementing the
extended feature flag.

This is how it was really implemented in mac80211, update
the code there to use the new defines and clean up some of
the setting code.

Keep nl80211.h source compatibility by keeping the old names.

Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
[rewrite commit log, change compatibility to be old=new
 instead of the other way around, update kernel-doc,
 roll in mac80211 changes, make mac80211 depend on valid
 bit instead of HW flag]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/mac80211/sta_info.c
net/wireless/nl80211.c