[Bug 217317] [patch] ifconfig extend printwpsie() to display more WPS attributes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 24 01:58:28 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217317

            Bug ID: 217317
           Summary: [patch] ifconfig extend printwpsie() to display more
                    WPS attributes
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fbsd at opal.com
          Keywords: patch

Created attachment 180253
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180253&action=edit
patch to extend WPS IE display for more attributes

While doing the work to debug PR#217312, I saw that ifconfig's printwpsie() was
printing very little of the attributes in the WPS IE.  I therefore went ahead
and extended it some more.  Patch attached.

This is still not a complete set of attributes.  I have added only the ones I
am seeing broadcast here, so that I am able to check the code works.  I do not
have the WPS IE technical spec (can't find it, perhaps it is hidden behind a
membership paywall somewhere).  So these additions are based on info gleaned
from:

    src/contrib/wpa/wpa_supplicant/wps_supplicant.c
    src/contrib/wpa/src/wps/*

There was a note from a previous developer that certain #defines should be
moved from ifieee80211.c to a separate header, so I have added
<net80211/ieee80211_wps.h> with those and the newly added #defines.  I don't
know if there's a Makefile somewhere that needs to know about this new file, if
there is, please add this file to it.

This is tested on 11.0-stable.  It can be MFC'd.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list