aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/decl.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2014-10-31 06:38:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-10-31 16:07:49 -0400
commitbf35443314acb43fa8a3f9f8046e14cbe178762b (patch)
tree1312ca6d9de7ab6ff736befee045d8bdc774a022 /drivers/net/wireless/mwifiex/decl.h
parent15a892e728299c5879187c8301c10c14af399a0c (diff)
mwifiex: channel statistics support for mwifiex
This patch adds support to record channel statistics during scan. With extended scan, scan results are returned as events from FW while channel statistics are part of scan command response. We store these channel statistics in adapter. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Xinmin Hu <huxm@marvell.com> Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r--drivers/net/wireless/mwifiex/decl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h
index e0d00a7f0ec3..f53e5b50d3d8 100644
--- a/drivers/net/wireless/mwifiex/decl.h
+++ b/drivers/net/wireless/mwifiex/decl.h
@@ -185,4 +185,14 @@ struct mwifiex_arp_eth_header {
185 u8 ar_tha[ETH_ALEN]; 185 u8 ar_tha[ETH_ALEN];
186 u8 ar_tip[4]; 186 u8 ar_tip[4];
187} __packed; 187} __packed;
188
189struct mwifiex_chan_stats {
190 u8 chan_num;
191 u8 bandcfg;
192 u8 flags;
193 s8 noise;
194 u16 total_bss;
195 u16 cca_scan_dur;
196 u16 cca_busy_dur;
197} __packed;
188#endif /* !_MWIFIEX_DECL_H_ */ 198#endif /* !_MWIFIEX_DECL_H_ */