summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: adcc235)
raw | patch | inline | side by side (parent: adcc235)
author | Guy Mishol <guym@ti.com> | |
Sun, 10 May 2015 08:53:23 +0000 (11:53 +0300) | ||
committer | Yaniv Machani <yanivma@ti.com> | |
Sun, 17 May 2015 20:11:43 +0000 (23:11 +0300) |
Add sched_scan num_short_intervals
scan cycles before switching to long intervals
and the interval between each long scheduled scan cycle.
Signed-off-by: Guy Mishol <guym@ti.com>
scan cycles before switching to long intervals
and the interval between each long scheduled scan cycle.
Signed-off-by: Guy Mishol <guym@ti.com>
diff --git a/wlconf/conf.h b/wlconf/conf.h
index 6cc2c7a2a1375f621cbe993565345ec075794f50..117fd400208a4e1b7ef68edb0f49514ed0e20e01 100644 (file)
--- a/wlconf/conf.h
+++ b/wlconf/conf.h
/* SNR threshold to be used for filtering */
s8 snr_threshold;
+
+ /*
+ * number of short intervals scheduled scan cycles before
+ * switching to long intervals
+ */
+ u8 num_short_intervals;
+
+ /* interval between each long scheduled scan cycle (in ms) */
+ u16 long_interval;
} __packed;
struct conf_ht_setting {
};
#define WL18XX_CONF_MAGIC 0x10e100ca
-#define WL18XX_CONF_VERSION 0x00060007
+#define WL18XX_CONF_VERSION 0x00070007
#define WL18XX_CONF_MASK 0x0000ffff
#define WL18XX_CONF_SIZE (WLCORE_CONF_SIZE + \
sizeof(struct wl18xx_priv_conf))
diff --git a/wlconf/default.conf b/wlconf/default.conf
index 0788d9fe0fc58296b4b8d1c5ea2863885cfcd473..3e77a754456d9ca1c3d40ae652c5848cafc15425 100755 (executable)
--- a/wlconf/default.conf
+++ b/wlconf/default.conf
core.sched_scan.num_probe_reqs = 0x02
core.sched_scan.rssi_threshold = 0xa6
core.sched_scan.snr_threshold = 0x00
+core.sched_scan.num_short_intervals = 0x0d
+core.sched_scan.long_interval = 0x7530
core.ht.rx_ba_win_size = 0x20
core.ht.tx_ba_win_size = 0x40
core.ht.inactivity_timeout = 0x2710
diff --git a/wlconf/example.conf b/wlconf/example.conf
index 304a482d7250765d08bfb81da401bac89fda56ee..c8b12db6ec1c8f8f0ef017984aa204f90149bae1 100644 (file)
--- a/wlconf/example.conf
+++ b/wlconf/example.conf
core.sched_scan.num_probe_reqs = 0x02
core.sched_scan.rssi_threshold = 0xa6
core.sched_scan.snr_threshold = 0x00
+core.sched_scan.num_short_intervals = 0x0d
+core.sched_scan.long_interval = 0x7530
core.ht.rx_ba_win_size = 0x20
core.ht.tx_ba_win_size = 0x40
core.ht.inactivity_timeout = 0x2710
diff --git a/wlconf/struct.bin b/wlconf/struct.bin
index 8f1b6b109cb7bf250f50a580ab7538a399e9ea66..7e1af5fcda14fd05c5720346ff14cf98dd91036d 100644 (file)
Binary files a/wlconf/struct.bin and b/wlconf/struct.bin differ
Binary files a/wlconf/struct.bin and b/wlconf/struct.bin differ
index 09c48288bc0e29382190d8b036e4a549c0505dd9..df97f7878976badb8028bc435e8ef9dfac08ea7e 100755 (executable)
Binary files a/wlconf/wl18xx-conf-default.bin and b/wlconf/wl18xx-conf-default.bin differ
Binary files a/wlconf/wl18xx-conf-default.bin and b/wlconf/wl18xx-conf-default.bin differ