HomeFreeBSD

otus(4) - use the local node alloc function so there's space for statistics.

Description

otus(4) - use the local node alloc function so there's space for statistics.

  • Use the correct malloc type for node allocation - M_80211_NODE - so the default node free method in net80211 will work correctly.
  • Fix otus_node_alloc() to suit FreeBSD's net80211.
  • .. and actually call otus_node_alloc() so there's space for the per-node tx statistics. Otherwise, well, it will be scribbling over random memory.

Tested:

  • AR9170, STA mode

Details

Provenance
adrianAuthored on Oct 19 2015, 1:21 AM
Parents
rGfd7b55de481b: otus(4) - add initial monitor mode; use lowest rate for EAPOL
Branches
Unknown
Tags
Unknown

Event Timeline