* [RFC] madwifi staging and hostap-deamon support for madwifi
@ 2007-03-12 3:09 Rod Whitby
2007-03-12 8:08 ` Marcin Juszkiewicz
0 siblings, 1 reply; 2+ messages in thread
From: Rod Whitby @ 2007-03-12 3:09 UTC (permalink / raw)
To: openembedded-devel
I want to get hostap-deamon working for madwifi (on the IOMega NAS100d,
and D-Link DSMG-600 RevA).
Currently, it does not support madwifi, and the current madwifi-ng
recipe is putting the include files in a place other than the place that
hostapd looks for them during the compile. Also, hostapd has an
RDEPENDS on hostapd-modules, which does not make sense for madwifi.
I'd like to change madwifi-ng to put the files in the right place, and
then change hostap-daemon to enable madwifi support and use those
include files. Are there any other known packages that use madwifi
include files that may be affected?
I can either enable this globally, or enable it for the slugos distro
only, or enable it for ixp4xx machines only. Which should I do?
Here is the madwifi-ng.inc patch:
> do_stage() {
> - install -d ${STAGING_INCDIR}/${PN}/include
> - install -d ${STAGING_INCDIR}/${PN}/net80211
> - cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/
> - cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/
> + install -d ${STAGING_INCDIR}/net80211
> + cp --dereference include/compat.h ${STAGING_INCDIR}/net80211/
> + cp --dereference net80211/*.h ${STAGING_INCDIR}/net80211/
> }
Here is the hostap-daemon.inc patch (example using a _ixp4xx override):
> -RDEPENDS = "hostap-modules hostap-utils (${PV})"
> +RDEPENDS = "hostap-utils (${PV})"
> +DEPENDS_append_ixp4xx = " madwifi-ng"
>
> +do_configure_ixp4xx() {
> + sed -e 's/\#CONFIG_DRIVER_MADWIFI=y/CONFIG_DRIVER_MADWIFI=y/' \
> + '${WORKDIR}/defconfig' >>'${S}/.config'
> +}
If there are no responses, I will continue with the madwifi-ng change as
above, and do the override for all _ixp4xx machines.
-- Rod
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] madwifi staging and hostap-deamon support for madwifi
2007-03-12 3:09 [RFC] madwifi staging and hostap-deamon support for madwifi Rod Whitby
@ 2007-03-12 8:08 ` Marcin Juszkiewicz
0 siblings, 0 replies; 2+ messages in thread
From: Marcin Juszkiewicz @ 2007-03-12 8:08 UTC (permalink / raw)
To: openembedded-devel
Dnia poniedziałek, 12 marca 2007, Rod Whitby napisał:
> I want to get hostap-deamon working for madwifi (on the IOMega NAS100d,
> and D-Link DSMG-600 RevA).
And also on any other PCI equipped machines (madwifi req pci iirc).
> Currently, it does not support madwifi, and the current madwifi-ng
> recipe is putting the include files in a place other than the place
> that hostapd looks for them during the compile.
> Also, hostapd has an RDEPENDS on hostapd-modules, which does not make
> sense for madwifi.
Hostap-modules dependency should be dropped - we use hostap from kernel.
I would like to get latest stable hostapd in OE.
> I'd like to change madwifi-ng to put the files in the right place, and
> then change hostap-daemon to enable madwifi support and use those
> include files. Are there any other known packages that use madwifi
> include files that may be affected?
wpa-supplicant use madwifi and also has all needed code for madwifi
support on PCI equipped machines.
> I can either enable this globally, or enable it for the slugos distro
> only, or enable it for ixp4xx machines only. Which should I do?
Enable it for PCI equipped machines like it is in wpa-supplicant 0.5.x
> Here is the hostap-daemon.inc patch (example using a _ixp4xx override):
> > -RDEPENDS = "hostap-modules hostap-utils (${PV})"
> > +RDEPENDS = "hostap-utils (${PV})"
> > +DEPENDS_append_ixp4xx = " madwifi-ng"
> >
> > +do_configure_ixp4xx() {
> > + sed -e
> > 's/\#CONFIG_DRIVER_MADWIFI=y/CONFIG_DRIVER_MADWIFI=y/' \ +
> > '${WORKDIR}/defconfig' >>'${S}/.config'
> > +}
Do this like it is done in wpa-supplicant 0.5.x
Thx
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
Truly a man of few words. I'll bet you don't know what either one of them
means.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-12 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 3:09 [RFC] madwifi staging and hostap-deamon support for madwifi Rod Whitby
2007-03-12 8:08 ` Marcin Juszkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox