Newest legend firmware uses 2.6.22.1 kernel. Only kmod files are in kernel directories. Generic, kernel-nonspecific packages are in the "ipkg" folder. These are all packages that I have compiled from the main openwrt source repository, the webif repository, and from a few Makefiles I have either found or written. I have not tested all of the packages from the repositories, but most of them will work. They did compile correctly after all. The patched madwifi directory contains madwifi/madwifi-ng ipkgs and sources that are guaranteed to work well with packet injection. The NG drivers are recommended unless you still have a reason to use the 0.9.3.1 driver (2.6.22.X kernels can't use 0.9.3.1 at all). The madwifi-ng in the kernel directories at this level (here) are, like most of the rest of the packages around them, are from the repositories and ARE NOT PATCHED, but may still work with injection.