freebsd-skq/sys/dev/usb/wlan
Adrian Chadd e97796e2b6 [net80211] extend the ieee80211_rx_stats struct to include more information.
There are a variety of more interesting RX statistics that we should
keep track of but we don't.  This is a starting point for adding more
information.

Specifically:

* now the RX rate information and some of the packet status is
  passed up;
* The 32 bit or 64 bit TSF is passed up;
* the PHY mode is passed up;
* the "I'm decap'ed AMSDU!" state is passed up;
* number of RX chains is bumped to 4.

This is all mostly a placeholder for getting the data into the RX status
before we pass it up to net80211 - unfortunately we don't yet enforce
that drivers provide it, nor do we pass the provided info back up the
stack so anyone can use the data.

We're going to need to use some of this data moving forward.
Notably, now that some hardware can do AMSDU decap for us (the intel iwm
driver can do it when we flip it on; the ath10k port I'm doing does
it for us) then we need to pass it up through the stack so the duplicate
RX sequence numbers and crypto/IV details don't cause the packet to
be dropped and/or counted against a replay counter.

It's also the beginning of being able to do more interesting node
accounting in net80211.  Specifically, once drivers start populating
per-packet rate information, AMPDU information, timestamps, etc,
we can start providing histograms of rate-versus-RSSI, account
for receive time spent per node and other such interesting things.

(Note: I'm also hoping to include ranging and RTT information for
future chipset support; and it's likely going to include it in
this kind of fashion.)
2016-10-08 01:12:29 +00:00
..
if_rsu.c [net80211] extend the ieee80211_rx_stats struct to include more information. 2016-10-08 01:12:29 +00:00
if_rsureg.h
if_rum.c net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_rumfw.h
if_rumreg.h rum: add legacy power saving support (STA mode). 2016-03-21 22:29:24 +00:00
if_rumvar.h net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_run.c net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_runreg.h run: switch to ieee80211_add_channel_list_*() 2016-05-26 15:05:37 +00:00
if_runvar.h net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_uath.c net80211 + drivers: hide size of 'bands' array behind a macro. 2016-04-29 22:14:11 +00:00
if_uathreg.h
if_uathvar.h
if_upgt.c net80211 + drivers: hide size of 'bands' array behind a macro. 2016-04-29 22:14:11 +00:00
if_upgtvar.h
if_ural.c net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_uralreg.h
if_uralvar.h net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_urtw.c urtw: fix unused variable assignments. 2016-06-02 12:01:58 +00:00
if_urtwreg.h urtw: switch to ieee80211_add_channel_list_2ghz(). 2016-05-26 16:15:10 +00:00
if_urtwvar.h
if_zyd.c net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00
if_zydfw.h
if_zydreg.h net80211: ieee80211_ratectl*: switch to reusable KPI 2016-10-02 20:35:55 +00:00