Page MenuHomeFreeBSD

LinuxKPI: 802.11: improve lladdr change to not use ifnet internals
ClosedPublic

Authored by bz on Nov 8 2024, 10:12 PM.
Tags
None
Referenced Files
F107141051: D47490.diff
Fri, Jan 10, 6:21 PM
Unknown Object (File)
Thu, Jan 2, 1:39 PM
Unknown Object (File)
Mon, Dec 23, 6:20 PM
Unknown Object (File)
Nov 28 2024, 6:34 AM
Unknown Object (File)
Nov 27 2024, 3:21 AM
Unknown Object (File)
Nov 18 2024, 10:03 AM
Unknown Object (File)
Nov 17 2024, 8:42 AM
Unknown Object (File)
Nov 17 2024, 7:29 AM

Details

Summary

The changes from 4aff4048 were based on net80211 which is still using
if_private.h details. Adjust the code to no longer depend on internal
details of ifnet. We also switch the "check"-functionn from if_init to
if_transmit which we can query. Given we do have a per-vif eventhandler
we could do without that check but would still need to check
if_getflags() for IFF_UP.

Sponsored by: The FreeBSD Foundation
Reported by: jhibbits
Fixes: 4aff4048
MFC after: 3 days

Test Plan

Soon; once my release builds are done

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable