Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2003 01:51:25 +0200
From:      "Ritz, Bruno" <bruno_ritz@gmx.ch>
To:        <freebsd-hackers@freebsd.org>
Subject:   if_wi patch
Message-ID:  <GNENKHPCNMLFKGMPLJONIEMFCFAA.bruno_ritz@gmx.ch>
In-Reply-To: <GNENKHPCNMLFKGMPLJONCEMCCFAA.bruno_ritz@gmx.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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);




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