Page MenuHomeFreeBSD

wlandebug(8): use new IEEE80211_IOC_UNIT ioctl request
AbandonedPublic

Authored by avos on Sep 30 2017, 11:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 7:02 PM
Unknown Object (File)
Oct 4 2024, 7:41 PM
Unknown Object (File)
Oct 4 2024, 4:10 AM
Unknown Object (File)
Oct 3 2024, 10:18 AM
Unknown Object (File)
Oct 1 2024, 5:29 PM
Unknown Object (File)
Oct 1 2024, 2:18 PM
Unknown Object (File)
Sep 5 2024, 11:27 PM
Unknown Object (File)
Sep 5 2024, 11:19 PM
Subscribers

Details

Reviewers
adrian
Summary

Try to get original interface unit number even when interface name was changed; use old method in case if something fails during request.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

adrian added inline comments.
usr.sbin/wlandebug/wlandebug.c
171

hm, should we put this in lib80211?

This revision is now accepted and ready to land.Sep 30 2017, 11:35 PM
usr.sbin/wlandebug/wlandebug.c
171

interface name -> unit translation?

maybe the libifconfig thing that was done recently?

-a

nope; however, libifconfig seems to be more appropriate for such things (so there are alternative versions in D12554 (libifconfig) and D12555 (wlandebug)).

Version which uses libifconfig was accepted / committed instead.