aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl12xx
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2012-11-26 11:05:44 -0500
committerLuciano Coelho <coelho@ti.com>2012-12-04 09:36:07 -0500
commitde40750f4b10aa236ae44a9a3f10f50998e1c345 (patch)
tree85878f1c50bf4922dcc6fa1a320e4663bd4d9eff /drivers/net/wireless/ti/wl12xx
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/wl12xx')
-rw-r--r--drivers/net/wireless/ti/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index 17ee0fd14bcc..97cc79c1bcf0 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -1676,6 +1676,7 @@ static int wl12xx_setup(struct wl1271 *wl)
1676 wl->rtable = wl12xx_rtable; 1676 wl->rtable = wl12xx_rtable;
1677 wl->num_tx_desc = WL12XX_NUM_TX_DESCRIPTORS; 1677 wl->num_tx_desc = WL12XX_NUM_TX_DESCRIPTORS;
1678 wl->num_rx_desc = WL12XX_NUM_RX_DESCRIPTORS; 1678 wl->num_rx_desc = WL12XX_NUM_RX_DESCRIPTORS;
1679 wl->num_channels = 1;
1679 wl->num_mac_addr = WL12XX_NUM_MAC_ADDRESSES; 1680 wl->num_mac_addr = WL12XX_NUM_MAC_ADDRESSES;
1680 wl->band_rate_to_idx = wl12xx_band_rate_to_idx; 1681 wl->band_rate_to_idx = wl12xx_band_rate_to_idx;
1681 wl->hw_tx_rate_tbl_size = WL12XX_CONF_HW_RXTX_RATE_MAX; 1682 wl->hw_tx_rate_tbl_size = WL12XX_CONF_HW_RXTX_RATE_MAX;