this is an ebuild for net-wireless/mac80211-5.1.0 (also known as d80211)
Created attachment 116536 [details] net-wireless/mac80211-5.1.0.ebuild
I'm not sure about the installation in /usr/include/net, could someone please help me with this?
citing from README: NOTE: As of mac80211-2.0.0 you must also enable CONFIG_CFG80211 and rebuild your main kernel image. I doubt whether an ebuild for mac80211 is reasonable. the wireless stack is also already included in -mm and inclusion in mainline will happen in the near future (according to lkml).
yeah, I really hope this will happen soon, but this works in the meantime (with gentoo-sources x86).
Created attachment 117103 [details] net-wireless/mac80211-7.0.5.ebuild
(In reply to comment #5) > Created an attachment (id=117103) [edit] > net-wireless/mac80211-7.0.5.ebuild > 1. the package require patch the kernel linked at /usr/src/linux, a. this is a QA violation? i think YES. b. when kernel/link change, the package will be re-emerged 2. we need an other kernel to support this using git repo available? git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git 3. include this patchset into another kernel like gentoo-sources 4. we can make a single ebuild containing the original snapshot, and einfo say: to patch the kernel do: make patch_kernel or do this automatically make menuconfig and add: CONFIG_MAC80211=m Networking ---> Generic IEEE 802.11 Networking Stack (dscape) and rebuild your kernel
> 1. the package require patch the kernel linked at /usr/src/linux No - This package uses "make unmodified" which creates modules which can be used with gentoo-sources-2.6.20 (x86 stable). Could you please test the ebuild with gentoo-sources?
are there any easy way to use the drivers that use mac80211? like the rt2x00 and p54 drivers that use it now?
Created attachment 117262 [details] net-wireless/mac80211-7.0.5.ebuild Hi Steev, I've tried the same trick as in bug #174965 (Add CFLAGS += -I /usr/include/mac80211) and "make CONFIG_RT2500USB=m -C /usr/src/linux M=rt2x00/drivers/net/wireless/mac80211/rt2x00/ modules" on a git clone of rt2x00 and it seems to compile a nice .ko ... Would you like me to post an ebuilds for it?
that would be greatly appreciated if you did - the issue I seem to currently have is, this package requires QoS to be enabled, though there doesn't seem to be a check for that. I also can't seem to get the rt2x00 to compile based on your instructions - its been a long day though, so maybe im missing something (I don't want to configure and compile the rt2x00 git kernel, just use the modules from it, if possible - as well as the p54 stuff, and the rtl818x heh - if you couldn't tell, I really want the new mac80211 stack to get some testing and into mainline soon
Created attachment 117334 [details] net-wireless/mac80211-7.0.5.ebuild check if kernel is configured with CONFIG_NET_SCH_FIFO
Created attachment 117437 [details] net-wireless/mac80211-7.0.5.ebuild Check for required CONFIG_WIRELESS_EXT
(In reply to comment #10) > that would be greatly appreciated if you did - the issue I seem to currently > have is, this package requires QoS to be enabled, though there doesn't seem to > be a check for that. I also can't seem to get the rt2x00 to compile based on > your instructions - its been a long day though, so maybe im missing something > (I don't want to configure and compile the rt2x00 git kernel, just use the > modules from it, if possible - as well as the p54 stuff, and the rtl818x heh - > if you couldn't tell, I really want the new mac80211 stack to get some testing > and into mainline soon > i m using rtl8180x, and this work with the old stack ieee80211, whats is the project that you refer here? http://rtl-wifi.sf.net
(In reply to comment #7) > > 1. the package require patch the kernel linked at /usr/src/linux > > No - This package uses "make unmodified" which creates modules which can be > used with gentoo-sources-2.6.20 (x86 stable). > > Could you please test the ebuild with gentoo-sources? > yes, work with all versions, and another kernels like 2.6.21-rc7
Created attachment 117471 [details] net-wireless/mac80211-7.0.5.ebuild cleanup, DEPEND, CONFIG_CHECK
Doesn't work with kernel 2.6.21: * Checking for suitable kernel configuration options... * CONFIG_NET_SCH_FIFO: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Once you have satisfied these options, please try merging * this package again. There's no such config option with this kernel..
Oh never mind my dumbness.. it does exist. I just had to activate the QoS option... I believe the error could be more explicit, but that's hard to implement so..
Created attachment 117748 [details] net-wireless/mac80211-7.0.8.ebuild
Created attachment 117856 [details] net-wireless/mac80211-7.0.9.ebuild New version and changed kernel config to check for NET_SCH instead of NET_SCH_FIFO. See cangelog for 7.0.3: "Fixed pfifo_qdisc support to work if CONFIG_NET_SCH_FIFO not available"
grep NET_SCH /usr/src/linux/.config CONFIG_NET_SCHED=y CONFIG_NET_SCH_FIFO=y # CONFIG_NET_SCH_CLK_JIFFIES is not set CONFIG_NET_SCH_CLK_GETTIMEOFDAY=y # CONFIG_NET_SCH_CLK_CPU is not set # CONFIG_NET_SCH_CBQ is not set # CONFIG_NET_SCH_HTB is not set # CONFIG_NET_SCH_HFSC is not set # CONFIG_NET_SCH_PRIO is not set # CONFIG_NET_SCH_RED is not set # CONFIG_NET_SCH_SFQ is not set # CONFIG_NET_SCH_TEQL is not set # CONFIG_NET_SCH_TBF is not set # CONFIG_NET_SCH_GRED is not set # CONFIG_NET_SCH_DSMARK is not set # CONFIG_NET_SCH_NETEM is not set # CONFIG_NET_SCH_INGRESS is not set Shouldn't it be CONFIG_NET_SCHED check?
Created attachment 117862 [details] net-wireless/mac80211-7.0.9.ebuild You are right it should be NET_SCHED - sorry for the fuzz.
Created attachment 118656 [details] Compilation failure log of mac80211 7.0.9 ebuild CONFIG_MAC80211_LEDS is a bool option, so shouldn't it read CONFIG_MAC80211_LEDS=y? Compilation dies then though... (see attachment)
Created attachment 118665 [details] net-wireless/mac80211-7.0.9.ebuild Thanks a lot for pointing this out! Please try this ebuild.
Created attachment 119127 [details] net-wireless/mac80211-7.1.0.ebuild
Created attachment 119128 [details] net-wireless/mac80211-7.1.0.ebuild removed dodir and the whitespace at the end
Nice work ArYiX, lets see how this new HT branch will continue. Have you tested this ebuild on PPC? If so, neat! :)
(In reply to comment #26) > Nice work ArYiX, lets see how this new HT branch will continue. Have you tested > this ebuild on PPC? If so, neat! :) > i'm not, fragment of chat #gentoo-overlays (13:01:43) steev: btw, you can keyword it ~ppc as well and now he testing it. thnk's :)
Created attachment 119190 [details] Build failure log This latest version fails for me here. Attached is the build log
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-wireless/mac80211/
Comment on attachment 118665 [details] net-wireless/mac80211-7.0.9.ebuild Everyone should use the ebuild from sunrise :) Steev: That's an experimental kernel isn't it? :-) Please send me an ebuild for it.
This is in vanilla kernel -> WONTFIX.