Got it done, <br><br>Was hanging out in a different direction. <br><br>For future reference,<br>Step 1) Clone to the git : git://<a href="http://w1.fi/srv/git/hostap.git">w1.fi/srv/git/hostap.git</a><br>Step 2) Download the patch : <a href="http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/hostapd/acs-all-in-one-v1.patch">http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/hostapd/acs-all-in-one-v1.patch</a><br>
Step 3) apply through git apply<br><br>Thanks,<br><br><div class="gmail_quote">On Mon, Jul 11, 2011 at 11:16 AM, Swaminathan Vasanth Rajaraman <span dir="ltr">&lt;<a href="mailto:swaminathanvasanth.r@gmail.com">swaminathanvasanth.r@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br><br> Did anyone applied the hostapd Auto channel selection patch ?<br><br>I have the code and the patch file in the same directory. <br>

Any pointers on why is it happening? <br><br> I am trying it but getting this error : <br><br>rajaras1@kesateekkari:~/hostapdtest/hostapd-0.6.10$ patch -p0 &lt;acs-all-in-one-v1.patch <br>patching file b/src/ap/hostapd.h<br>

Hunk #1 FAILED at 30.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/hostapd.h.rej<br>patching file b/src/ap/hw_features.c<br>Hunk #1 FAILED at 599.<br>Hunk #2 FAILED at 610.<br>Hunk #3 FAILED at 634.<br>3 out of 3 hunks FAILED -- saving rejects to file b/src/ap/hw_features.c.rej<br>

patching file b/src/ap/ap_drv_ops.h<br>Hunk #1 FAILED at 202.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/ap_drv_ops.h.rej<br>patching file b/src/ap/drv_callbacks.c<br>Hunk #1 FAILED at 487.<br>Hunk #2 FAILED at 576.<br>

2 out of 2 hunks FAILED -- saving rejects to file b/src/ap/drv_callbacks.c.rej<br>patching file b/src/ap/hostapd.h<br>Hunk #1 FAILED at 227.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/hostapd.h.rej<br>patching file b/src/ap/ap_drv_ops.h<br>

Hunk #1 FAILED at 213.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/ap_drv_ops.h.rej<br>patching file b/src/ap/drv_callbacks.c<br>Hunk #1 FAILED at 545.<br>Hunk #2 FAILED at 633.<br>Hunk #3 FAILED at 643.<br>

3 out of 3 hunks FAILED -- saving rejects to file b/src/ap/drv_callbacks.c.rej<br>patching file b/src/ap/hostapd.h<br>Hunk #1 FAILED at 231.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/hostapd.h.rej<br>patching file b/src/drivers/driver.h<br>

Hunk #1 FAILED at 26.<br>Hunk #2 FAILED at 58.<br>Hunk #3 FAILED at 2253.<br>Hunk #4 FAILED at 2655.<br>Hunk #5 FAILED at 3187.<br>5 out of 5 hunks FAILED -- saving rejects to file b/src/drivers/driver.h.rej<br>patching file b/src/drivers/driver_nl80211.c<br>

Hunk #1 FAILED at 6603.<br>Hunk #2 FAILED at 6676.<br>2 out of 2 hunks FAILED -- saving rejects to file b/src/drivers/driver_nl80211.c.rej<br>patching file b/hostapd/Makefile<br>Hunk #1 FAILED at 736.<br>1 out of 1 hunk FAILED -- saving rejects to file b/hostapd/Makefile.rej<br>

patching file b/hostapd/config_file.c<br>Hunk #1 FAILED at 1736.<br>Hunk #2 FAILED at 1751.<br>2 out of 2 hunks FAILED -- saving rejects to file b/hostapd/config_file.c.rej<br>patching file b/hostapd/defconfig<br>Hunk #1 FAILED at 208.<br>

1 out of 1 hunk FAILED -- saving rejects to file b/hostapd/defconfig.rej<br>patching file b/hostapd/hostapd.conf<br>Hunk #1 FAILED at 106.<br>1 out of 1 hunk FAILED -- saving rejects to file b/hostapd/hostapd.conf.rej<br>

patching file b/src/ap/acs.c<br>patching file b/src/ap/acs.h<br>patching file b/src/ap/ap_config.c<br>Hunk #1 FAILED at 96.<br>Hunk #2 FAILED at 162.<br>2 out of 2 hunks FAILED -- saving rejects to file b/src/ap/ap_config.c.rej<br>

patching file b/src/ap/ap_config.h<br>Hunk #1 FAILED at 393.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/ap_config.h.rej<br>patching file b/src/ap/ap_drv_ops.h<br>Hunk #1 FAILED at 228.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/ap_drv_ops.h.rej<br>

patching file b/src/ap/drv_callbacks.c<br>Hunk #1 FAILED at 35.<br>Hunk #2 FAILED at 531.<br>Hunk #3 FAILED at 542.<br>3 out of 3 hunks FAILED -- saving rejects to file b/src/ap/drv_callbacks.c.rej<br>patching file b/src/ap/hostapd.c<br>

Hunk #1 FAILED at 700.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/hostapd.c.rej<br>patching file b/src/ap/hostapd.h<br>Hunk #1 FAILED at 239.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/ap/hostapd.h.rej<br>

patching file b/src/ap/hw_features.c<br>Hunk #1 FAILED at 25.<br>Hunk #2 FAILED at 648.<br>Hunk #3 FAILED at 671.<br>Hunk #4 FAILED at 708.<br>4 out of 4 hunks FAILED -- saving rejects to file b/src/ap/hw_features.c.rej<br>

patching file b/src/drivers/driver.h<br>Hunk #1 FAILED at 75.<br>1 out of 1 hunk FAILED -- saving rejects to file b/src/drivers/driver.h.rej<br>rajaras1@kesateekkari:~/hostapdtest/hostapd-0.6.10$ <br><br><br clear="all">
Thanks,<br>
-- <br>Best Regards,<br><font color="#888888">Swaminathan Vasanth Rajaraman<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Swaminathan Vasanth Rajaraman<br>