summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-11-26 18:05:44 +0200
committerLuciano Coelho <coelho@ti.com>2012-12-04 16:36:07 +0200
commitde40750f4b10aa236ae44a9a3f10f50998e1c345 (patch)
tree85878f1c50bf4922dcc6fa1a320e4663bd4d9eff /drivers/net/wireless/ti/wlcore/wlcore.h
parent847cbebd527c2ba184f1951802d91e043fd81b47 (diff)
wlcore/wl18xx/wl12xx: separate channel count between chips
18xx chips are capable of staying on 2 channels at the same time. Introduce a chip-family specific parameter to set the number of channels in the interface-combinations published by the driver. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 037c56e6cae0..5f580e56a19b 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -441,6 +441,9 @@ struct wl1271 {
unsigned int min_fw_ver[NUM_FW_VER];
struct completion nvs_loading_complete;
+
+ /* number of concurrent channels the HW supports */
+ u32 num_channels;
};
int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);