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
F82008883: D12553.id.diff
Wed, Apr 24, 11:41 AM
Unknown Object (File)
Mar 22 2024, 10:23 PM
Unknown Object (File)
Jan 6 2024, 5:58 AM
Unknown Object (File)
Nov 15 2023, 2:54 AM
Unknown Object (File)
Nov 3 2023, 5:44 PM
Unknown Object (File)
Aug 29 2023, 4:50 PM
Unknown Object (File)
Jul 30 2023, 12:42 AM
Unknown Object (File)
Jul 24 2023, 12:47 AM
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.