From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 16:50:28 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCAE537B401 for ; Mon, 23 Jun 2003 16:50:28 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A311D43F93 for ; Mon, 23 Jun 2003 16:50:27 -0700 (PDT) (envelope-from bruno_ritz@gmx.ch) Received: (qmail 29570 invoked by uid 65534); 23 Jun 2003 23:50:26 -0000 Received: from dclient217-162-108-200.hispeed.ch (EHLO brunoritz) (217.162.108.200) by mail.gmx.net (mp003) with SMTP; 24 Jun 2003 01:50:26 +0200 From: "Ritz, Bruno" To: Date: Tue, 24 Jun 2003 01:51:25 +0200 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: if_wi patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bruno_ritz@gmx.ch List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 23:50:29 -0000 the first patch i have submitted was crap. it worked, but i was still too familiar with the old drivers so i did not notice the wlan module. daniel eischen was so kindly to inform me about that... i have a new patch (for 5.1-release) which adds authmode support to the if_wi driver, but nothing more as my old patch wrongly did. hope it is ok this time... regards bruno --- sys/dev/wi/if_wi.c.orig Tue Jun 24 01:35:41 2003 +++ sys/dev/wi/if_wi.c Tue Jun 24 01:43:53 2003 @@ -1117,6 +1117,9 @@ error = copyout(sc->sc_nodename, ireq->i_data, ireq->i_len); break; + case IEEE80211_IOC_AUTHMODE: + ireq->i_val = sc->sc_cnfauthmode; + break; default: error = ieee80211_ioctl(ifp, cmd, data); break; @@ -1146,6 +1149,9 @@ } memcpy(sc->sc_nodename, nodename, IEEE80211_NWID_LEN); sc->sc_nodelen = ireq->i_len; + break; + case IEEE80211_IOC_AUTHMODE: + sc->sc_cnfauthmode = ireq->i_val; break; default: error = ieee80211_ioctl(ifp, cmd, data);