r4012 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Sat Feb 2 01:23:23 CET 2008


Author: werner
Date: 2008-02-02 01:23:08 +0100 (Sat, 02 Feb 2008)
New Revision: 4012

Modified:
   branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch
Log:
ar6k: Beacon filtering enabled once scan is done

When we're done with scanning, the host doesn't need to get all the
beacons anymore. Later on, we could fine tune that to only get our
BSS beacons (mandatory for roaming).

But for now, we just filter them all after scanning is done so that
we don't get dozens of interrupts per seconds because of that.

Signed-off-by: Samuel Ortiz <sameo at openedhand.com>

---
 drivers/sdio/function/wlan/ar6000/ar6000/wireless_ext.c |    5 +++++
 1 file changed, 5 insertions(+)



Modified: branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch	2008-02-01 23:47:42 UTC (rev 4011)
+++ branches/src/target/kernel/2.6.24.x/patches/atheros_2_0_function.patch	2008-02-02 00:23:08 UTC (rev 4012)
@@ -8377,7 +8377,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6.24/drivers/sdio/function/wlan/ar6000/ar6000/wireless_ext.c
-@@ -0,0 +1,1941 @@
+@@ -0,0 +1,1946 @@
 +/*
 + *
 + * Copyright (c) 2004-2007 Atheros Communications Inc.
@@ -10160,6 +10160,11 @@
 +    wait_event_interruptible_timeout(ar6000_scan_queue, ar->scan_complete,
 +				     5 * HZ);
 +
++    if (wmi_bssfilter_cmd(ar->arWmi, NONE_BSS_FILTER, 0) != A_OK) {
++	    printk("Couldn't set filtering\n");
++	    ret = -EIO;
++    }
++
 +    return ret;
 +#undef  ACT_DWELLTIME_DEFAULT
 +#undef HOME_TXDRAIN_TIME





More information about the commitlog mailing list