HomeFreeBSD

[net80211] separate out node allocation and node initialisation.

Description

[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

Details

Provenance
adrianAuthored on
Parents
rS362155: Remove usage of empty macro.
Branches
Unknown
Tags
Unknown