]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] Add initial U-APSD negotiation support.
authoradrian <adrian@FreeBSD.org>
Tue, 16 Jun 2020 00:27:32 +0000 (00:27 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 16 Jun 2020 00:27:32 +0000 (00:27 +0000)
commitba719c391d972a697b74c574a4aceeb4c61ed7b2
treef997e441ba4e6253ef439e71feb03624786448b9
parent6b8f9f044da8bd328562ea261af0eef82cb7178d
[net80211] Add initial U-APSD negotiation support.

U-APSD (unscheduled automatic power save delivery) is a power save method
that's a bit better than legacy PS-POLL - stations can mark frames with
an extra flag that tells the AP to leak out more frames after it sends
its own frames rather than needing to send a PS-POLL to get another frame
from the AP.

Now, this code just handles the negotiation bits; it doesn't actually
implement U-APSD.  That's up to drivers, and nothing in the tree yet
implements this.  I /may/ implement this for ath(4) if I eventually care
enough but right now I plan on just implementing it for firmware offload
based NICs that handle this in the NIC.

I'll commit the ifconfig bit after this and I may have some follow-up
commits as this gets used more by me in local testing.

This should be a glorious no-op for everyone else.  If things change
for anyone that isn't fixed by a complete recompile then please reach out
to me.
sys/net80211/_ieee80211.h
sys/net80211/ieee80211.c
sys/net80211/ieee80211_hostap.c
sys/net80211/ieee80211_ioctl.c
sys/net80211/ieee80211_ioctl.h
sys/net80211/ieee80211_node.h
sys/net80211/ieee80211_output.c
sys/net80211/ieee80211_proto.c
sys/net80211/ieee80211_sta.c
sys/net80211/ieee80211_sta.h
sys/net80211/ieee80211_var.h