Page MenuHomeFreeBSD

wlanwatch: clean up to compile / run
ClosedPublic

Authored by adrian on Feb 27 2025, 2:39 AM.
Referenced Files
Unknown Object (File)
Thu, Jan 8, 2:25 AM
Unknown Object (File)
Sun, Dec 21, 12:19 AM
Unknown Object (File)
Sat, Dec 20, 2:00 AM
Unknown Object (File)
Wed, Dec 17, 10:29 PM
Unknown Object (File)
Nov 30 2025, 11:10 AM
Unknown Object (File)
Nov 30 2025, 7:12 AM
Unknown Object (File)
Nov 30 2025, 3:13 AM
Unknown Object (File)
Nov 27 2025, 8:31 AM
Subscribers

Details

Reviewers
None
Group Reviewers
wireless
Commits
rG92caff2b1b6b: wlanwatch: clean up to compile / run
Summary
  • add static where needed
  • delete old unused flags, dating back to the initial commit from Sam
  • indirect through void * where appropriate, to avoid LLVM alignment errors
  • PRIu64 where needed

This does work, but it currently doesn't track the ifname itself,
so we see ifindexes, not ifnames:

Wed Feb 26 18:35:59 RTM_IEEE80211: if# 2, scan complete
Wed Feb 26 18:35:59 RTM_IEEE80211: if# 2, associate with 30:de:4b:db:46:0a
Wed Feb 26 18:35:59 RTM_IFINFO: if# 2, link: up, flags:<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>

.. but it does work!

Diff Detail

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