OpenWrt Forum Archive

Topic: How to add zd1211rw Ad-Hoc mode patch to Kamikaze-trunk?

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,

I need to run Kamikaze with olsrd on my Asus WL500GP v2. Additionally I really need to have kernel 2.6 on it.
Because the Broadcom WiFi does not work with 2.6 (yet?), I want to connect Zydas zd1211 based external wifi card.
To do it I need to be able to put zd1211 chipset in the Ad-Hoc mode.
I have verified that this card works correctly after I applied the patch: http://marc.info/?l=linux-wireless& … 60&w=2
on the standard Debian system (well in fact i had also to remove checking of the result of the zd_set_beacon_interval in zd_mac.c after applying a patch).

Now I'd like to compile Kamikaze trunk with this patch.
To compile Kamikaze trunk I use the following script:

svn co https://svn.openwrt.org/openwrt/trunk/
cd trunk
./scripts/feeds update
make V=99 defconfig
make V=99 package/symlinks
make menuconfig # Select your target, packages and other options. Only select th
e packages you need.
make V=99 world

How should I modify this script (or something else?) to be able to apply my own patch to the Kamikaze trunk sources?
--
TIA, WZab

I just checked the fresh 2.6.27 kernel. The zd1211rw driver in 2.6.27 seems to work correctly with the zd1211rw chipset in Ad-Hoc mode.
So my problem may disappear when 2.6.27 is available for brcm47xx target...

Anyway it would be good to know how to add private patches for my own copy of openwrt!!!
--
Regards, WZab

The discussion might have continued from here.