driver_madwifi.c need the header file include/compat.h, net80211/ieee80211.h, net80211/ieee80211_crypto.h, net80211/ieee80211_ioctl.h??

=?gb2312?q?=CD=F5=ABh?= wangyue0921
Tue Aug 5 02:52:09 PDT 2008


Hi all,
I'm the newbie of hostAP.
I want to deploy hostAP and madwifi on Atheros
chipset.
And I have some questions as follow:

1. Is there any docs on how to deploy hostAP on
madwifi?
   I have deployed madwifi on atheros chipset
successfully and it worked well as both station
and AP. But I don't know how to use hostAP?

2. I created the .config file from defconfig, change
the file as follow:
# Driver interface for Host AP driver
#CONFIG_DRIVER_HOSTAP=y

# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y

# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../home/wangyue/madwifi # change to
reflect local setup; directory for madwifi src

Then run make and make install.
But there are several warning and error infos:

driver_madwifi.c:21:28: warning: include/compat.h: No
such file or directory
driver_madwifi.c:22:32: warning: net80211/ieee80211.h:
No such file or directory
driver_madwifi.c:28:39: warning:
net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:29:38: warning:
net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function
â?˜set80211privâ?™:
driver_madwifi.c:145: error:
â?˜IEEE80211_IOCTL_SETPARAMâ?™
undeclared (first use in this function)
driver_madwifi.c:145: error: (Each undeclared
identifier is reported only once
driver_madwifi.c:145: error: for each function it
appears in.)
.............

(2.1) Maybe someone else got this problem before,
and what can I do for it?

In my OS(FC 7 and kernel version 2.6.21), there arenot
such header files as compat.h and so on, in the path
that driver_madwifi.c refers to.

(2.2) And I searched these files on
http://lxr.linux.no/linux, found compat.h is in
include/net/compat.h and ieee80211.h
include/net/ieee80211.h.
These paths were not the same as the file
driver_madwifi.c refers to.
Is there any question on driver_madwifi.c?

(2.3) There arenot compat.h and ieee80211.h in the 
path include/net/ and include/net/ still of my 
OS.
Maybe my FC7 doesn't contain all kernel headers?
How can I update the headers?

That's all. Thank you.

Best regards,
WangYue


      ___________________________________________________________ 
 ???????????????????????? 
http://cn.mail.yahoo.com/



More information about the Hostap mailing list