aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-10-05 07:11:56 -0400
committerLuciano Coelho <luciano.coelho@nokia.com>2010-10-05 09:27:48 -0400
commit644a48607cd40954b6fb095b39a3ccaa0204191e (patch)
tree86a55ea150c95ff25b30274a66d2a135ed5cc6b1 /drivers/net/wireless/wl12xx/wl1271_main.c
parentd25611da0c75c4b0f72c73d66887d0470aacef40 (diff)
wl1271: Add extended radio parameter initialization
Currently a command to initialize extended radio parameter tables in the hardware is missing. Add the initialization Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index d826b6684e39..48a4b9961ae6 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -242,6 +242,16 @@ static struct conf_drv_settings default_conf = {
242 .max_dwell_time_passive = 60000, 242 .max_dwell_time_passive = 60000,
243 .num_probe_reqs = 2, 243 .num_probe_reqs = 2,
244 }, 244 },
245 .rf = {
246 .tx_per_channel_power_compensation_2 = {
247 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
248 },
249 .tx_per_channel_power_compensation_5 = {
250 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
251 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
252 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
253 },
254 },
245}; 255};
246 256
247static void __wl1271_op_remove_interface(struct wl1271 *wl); 257static void __wl1271_op_remove_interface(struct wl1271 *wl);
@@ -357,6 +367,10 @@ static int wl1271_plt_init(struct wl1271 *wl)
357 if (ret < 0) 367 if (ret < 0)
358 return ret; 368 return ret;
359 369
370 ret = wl1271_cmd_ext_radio_parms(wl);
371 if (ret < 0)
372 return ret;
373
360 ret = wl1271_init_templates_config(wl); 374 ret = wl1271_init_templates_config(wl);
361 if (ret < 0) 375 if (ret < 0)
362 return ret; 376 return ret;