HomeFreeBSD

LinuxKPI: 802.11: avoid using an mbuf tag for now

Description

LinuxKPI: 802.11: avoid using an mbuf tag for now

We are using an mbuf tag to carry the ni reference in the TX path
from the TX function past the taskq along with the mbuf.
Contrary to initial assumptions we only need the ni and no other data
so attach the ni to m->m_pkthdr.PH_loc.ptr avoiding the extra allcation.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit dbae3dcff72f53abe6874466baea78f552b3a316)

Details

Provenance
bzAuthored on Sun, Apr 13, 9:53 PM
Parents
rG9996e4df555c: LinuxKPI; 802.11: start filling rxrate statistics
Branches
Unknown
Tags
Unknown