if_ndis is broken with recent 802.11 changes

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Thu, 9 Dec 2004 23:06:24 +1030
Hi,
The recent mega commit to the 802.11 stuff has broken if_ndis..

[inchoate 23:02] /usr/src/sys/modules/if_ndis >make
Warning: Object directory not changed from original /usr/src/sys/modules/if_ndis
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I_at_ -I_at_/contrib/altq -I_at_/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c: In function `ndis_setstate_80211':
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1541: error: structure has no member named `ic_wep_mode'
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1541: error: `IEEE80211_WEP_8021X' undeclared (first use in this function)
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1541: error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1541: error: for each function it appears in.)
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1542: error: structure has no member named `ic_wep_mode'
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c: In function `ndis_media_status':
/usr/src/sys/modules/if_ndis/../../dev/if_ndis/if_ndis.c:1708: error: `IEEE80211_MODE_TURBO' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/sys/modules/if_ndis.

If it matters I am using the following driver 
http://ftp.us.dell.com/network/R73206.EXE (w70n51.*)

I have rev 1.72 of if_ndis.c.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Received on Thu Dec 09 2004 - 11:36:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:24 UTC