Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2017 01:58:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217317] [patch] ifconfig extend printwpsie() to display more WPS attributes
Message-ID:  <bug-217317-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217317

            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@FreeBSD.org
          Reporter: fbsd@opal.com
          Keywords: patch

Created attachment 180253
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180253&action=
=3Dedit
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 ahe=
ad
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217317-8>