Page MenuHomeFreeBSD

wlanwatch: clean up to compile / run
ClosedPublic

Authored by adrian on Feb 27 2025, 2:39 AM.
Referenced Files
F170648419: D49149.id.diff
Sat, Sep 5, 7:35 PM
F170641806: D49149.diff
Sat, Sep 5, 6:44 PM
F170641732: D49149.diff
Sat, Sep 5, 6:43 PM
F170638238: D49149.diff
Sat, Sep 5, 6:23 PM
F170576165: D49149.id151660.diff
Sat, Sep 5, 11:48 AM
Unknown Object (File)
Thu, Sep 3, 2:31 PM
Unknown Object (File)
Thu, Sep 3, 5:53 AM
Unknown Object (File)
Tue, Sep 1, 1:08 PM
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