mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
e0fe371b74
Split HW init sequence into AP/STA specific parts The AP specific init sequence includes configuration of templates, rate classes, power mode, etc. Also unmask AP specific events in the event mbox. Separate the differences between AP and STA init into mode specific functions called from wl1271_hw_init. The first is called after radio configuration and the second after memory configuration. Signed-off-by: Arik Nemtsov <arik@wizery.com> Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/*
|
|
* This file is part of wl1271
|
|
*
|
|
* Copyright (C) 2009 Nokia Corporation
|
|
*
|
|
* Contact: Luciano Coelho <luciano.coelho@nokia.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
* 02110-1301 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef __INIT_H__
|
|
#define __INIT_H__
|
|
|
|
#include "wl12xx.h"
|
|
|
|
int wl1271_hw_init_power_auth(struct wl1271 *wl);
|
|
int wl1271_sta_init_templates_config(struct wl1271 *wl);
|
|
int wl1271_init_phy_config(struct wl1271 *wl);
|
|
int wl1271_init_pta(struct wl1271 *wl);
|
|
int wl1271_init_energy_detection(struct wl1271 *wl);
|
|
int wl1271_hw_init(struct wl1271 *wl);
|
|
|
|
#endif
|