From owner-freebsd-bugs@freebsd.org Fri Feb 24 01:58:28 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 470DCCEA486 for ; Fri, 24 Feb 2017 01:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CB626CB for ; Fri, 24 Feb 2017 01:58:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1O1wRtW040103 for ; Fri, 24 Feb 2017 01:58:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217317] [patch] ifconfig extend printwpsie() to display more WPS attributes Date: Fri, 24 Feb 2017 01:58:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: fbsd@opal.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 01:58:28 -0000 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 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.=