summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/init.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-10-05 11:55:40 +0200
committerLuciano Coelho <coelho@ti.com>2011-10-07 08:32:32 +0300
commit92c77c734f958474ac73af670834bc32cb833e54 (patch)
tree0bb5c3d1c3fe88624ddb7f3cbbd533eb9cf270e9 /drivers/net/wireless/wl12xx/init.h
parent784f694d0f3ca927361aa0c26de1aa340eb5b275 (diff)
downloadblackbird-op-linux-92c77c734f958474ac73af670834bc32cb833e54.tar.gz
blackbird-op-linux-92c77c734f958474ac73af670834bc32cb833e54.zip
wl12xx: start reworking the init sequence
Split the init sequence into common commands (non role-specific) and role-specific commands. We still need to call the common commands only on add_interface() (rather than on start()) as the fw must get the mac address when uploading the nvs. Future patches will refactor the init sequence further more. Signed-off-by: Eliad Peller <eliad@wizery.com> [fixed a couple of sparse warnings] Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.h')
-rw-r--r--drivers/net/wireless/wl12xx/init.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/init.h b/drivers/net/wireless/wl12xx/init.h
index b1f97bcc47c0..64320c0224ca 100644
--- a/drivers/net/wireless/wl12xx/init.h
+++ b/drivers/net/wireless/wl12xx/init.h
@@ -27,12 +27,13 @@
#include "wl12xx.h"
int wl1271_hw_init_power_auth(struct wl1271 *wl);
-int wl1271_sta_init_templates_config(struct wl1271 *wl);
+int wl1271_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_chip_specific_init(struct wl1271 *wl);
-int wl1271_hw_init(struct wl1271 *wl, struct ieee80211_vif *vif);
+int wl1271_hw_init(struct wl1271 *wl);
+int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif);
int wl1271_init_ap_rates(struct wl1271 *wl);
int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif);
OpenPOWER on IntegriCloud