]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] separate out node allocation and node initialisation.
authorAdrian Chadd <adrian@FreeBSD.org>
Sat, 13 Jun 2020 22:20:02 +0000 (22:20 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sat, 13 Jun 2020 22:20:02 +0000 (22:20 +0000)
commitea3d5fd9df90708b5b996a96dc694c7939e0305d
treed87793c05799a4d9ef06202817d82da2630d4bbd
parentd60bdf8569958540cef80559a94bfdec9491d191
[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