]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create a new function to complete 802.11 mbuf transmission.
authoradrian <adrian@FreeBSD.org>
Tue, 27 Aug 2013 14:37:13 +0000 (14:37 +0000)
committeradrian <adrian@FreeBSD.org>
Tue, 27 Aug 2013 14:37:13 +0000 (14:37 +0000)
commitd3ddbbbab853cf18073803b2efc196bec0016cf8
treeddc02b53046e4599bb45d0d969f5b59d6287135b
parent9a7e8d3357b941e823ab05a1bf8cfc06c76faa7a
Create a new function to complete 802.11 mbuf transmission.

The aim of this function is to eventually be the completion entry point
for all 802.11 encapsulated mbufs.  All the wifi drivers end up doing
what is in this function so it's an easy win to turn it into a net80211
method and abstract out this code.

Ideally the drivers will all eventually be modified to queue up completed
mbufs and call this function with all the driver locks not held.
This will allow for some much more interesting software queue handling
in the future (like net80211 based A-MSDU, fast-frames, A-MPDU aggregation
and retransmission.)

Tested:

* ath(4), iwn(4)
sys/net80211/ieee80211_output.c
sys/net80211/ieee80211_proto.h