]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] separate out node allocation and node initialisation.
authoradrian <adrian@FreeBSD.org>
Sat, 13 Jun 2020 22:20:02 +0000 (22:20 +0000)
committeradrian <adrian@FreeBSD.org>
Sat, 13 Jun 2020 22:20:02 +0000 (22:20 +0000)
commit67fae78da35b1117522005e7076de2e1c1f35d1a
treed87793c05799a4d9ef06202817d82da2630d4bbd
parentf6fa051646890c579cd0d6ec40d0d95bb458102d
[net80211] separate out node allocation and node initialisation.

This is a new, optional (for now!) method that drivers can use to separate
node allocation and node initialisation.  Right now they're the same, and
drivers that need to do node allocation via firmware commands need to sleep
and thus they need to defer node allocation into an internal taskqueue.

Right now they're just separate but not deferred.  Later on if I get the time
we'll start deferring the node and key related operations but that requires
making a bunch of other stuff (notably things that generate frames!) also
async/deferred.

Tested:

* RT3593, STA/DWDS mode
* AR9380, STA/AP modes
* QCA9880 (athp) - STA/AP modes
sys/net80211/ieee80211_node.c
sys/net80211/ieee80211_var.h