summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rsi/rsi_main.h
diff options
context:
space:
mode:
authorJahnavi Meher <jahnavi.meher@gmail.com>2014-06-16 18:16:48 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-06-19 23:49:23 +0400
commit686a254177929cf82bc34af0944906e6866e393a (patch)
tree5f978546fb52148cc134f256144536d35f36d9b4 /drivers/net/wireless/rsi/rsi_main.h
parent85af5bf829813df5571779e795b73ee498173945 (diff)
downloadlinux-686a254177929cf82bc34af0944906e6866e393a.tar.xz
rsi: Adding support for host based bgscan.
Added support for host based bgscan. The h/w queues are blocked while bgscan is being performed and after coming to the connected channel, the queues are unblocked. Signed-off-by: Jahnavi Meher <jahnavi.meher@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rsi/rsi_main.h')
-rw-r--r--drivers/net/wireless/rsi/rsi_main.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/rsi/rsi_main.h b/drivers/net/wireless/rsi/rsi_main.h
index 86291310e293..5baed945f60e 100644
--- a/drivers/net/wireless/rsi/rsi_main.h
+++ b/drivers/net/wireless/rsi/rsi_main.h
@@ -142,6 +142,12 @@ struct rsi_thread {
atomic_t thread_done;
};
+struct cqm_info {
+ s8 last_cqm_event_rssi;
+ int rssi_thold;
+ u32 rssi_hyst;
+};
+
struct rsi_hw;
struct rsi_common {
@@ -194,6 +200,9 @@ struct rsi_common {
u32 pkt_cnt;
u8 min_weight;
+ /* bgscan related */
+ struct cqm_info cqm_info;
+
bool hw_data_qs_blocked;
};