aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2013-12-13 21:33:01 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-12-18 15:23:09 -0500
commit699b027b9cefbaf779ad8eaab5e9ea122620827c (patch)
treed9fd454ff2c6179102471a12274c27a6341ae905 /drivers/net/wireless/mwifiex/main.h
parentd39fbc88956ef56a67b8030d53c7e8fa645a4e00 (diff)
mwifiex: download cal-data from device-tree to firmware
Currently only conf file based cal-data downloading is supported. On embedded platforms a better place to store the cal-data is in device tree. Add cal-data downloading from device tree to firmware. Both methods can co-exist. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index dc34457557f3..2f5035492ef9 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -32,6 +32,7 @@
32#include <net/lib80211.h> 32#include <net/lib80211.h>
33#include <linux/firmware.h> 33#include <linux/firmware.h>
34#include <linux/ctype.h> 34#include <linux/ctype.h>
35#include <linux/of.h>
35 36
36#include "decl.h" 37#include "decl.h"
37#include "ioctl.h" 38#include "ioctl.h"
@@ -739,6 +740,7 @@ struct mwifiex_adapter {
739 u8 scan_delay_cnt; 740 u8 scan_delay_cnt;
740 u8 empty_tx_q_cnt; 741 u8 empty_tx_q_cnt;
741 const struct firmware *cal_data; 742 const struct firmware *cal_data;
743 struct device_node *dt_node;
742 744
743 /* 11AC */ 745 /* 11AC */
744 u32 is_hw_11ac_capable; 746 u32 is_hw_11ac_capable;