wl1271: add most of the normal initialization commands to PLT mode
We need to configure PLT mode almost in the same way as normal mode. Most of the configuration functions need to be called also when entering PLT, with the exception of a few RX and TX configuration (which cause mac80211 warnings if enable while runnning PLT tests). Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
7b21b6f821
commit
12419cce88
@@ -49,7 +49,7 @@ static int wl1271_init_hwenc_config(struct wl1271 *wl)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wl1271_init_templates_config(struct wl1271 *wl)
|
||||
int wl1271_init_templates_config(struct wl1271 *wl)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -113,7 +113,7 @@ static int wl1271_init_rx_config(struct wl1271 *wl, u32 config, u32 filter)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wl1271_init_phy_config(struct wl1271 *wl)
|
||||
int wl1271_init_phy_config(struct wl1271 *wl)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -156,7 +156,7 @@ static int wl1271_init_beacon_filter(struct wl1271 *wl)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wl1271_init_pta(struct wl1271 *wl)
|
||||
int wl1271_init_pta(struct wl1271 *wl)
|
||||
{
|
||||
int ret;
|
||||
|
||||
@@ -171,7 +171,7 @@ static int wl1271_init_pta(struct wl1271 *wl)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wl1271_init_energy_detection(struct wl1271 *wl)
|
||||
int wl1271_init_energy_detection(struct wl1271 *wl)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
Reference in New Issue
Block a user