Commit 2718bf40 authored by Eliad Peller's avatar Eliad Peller Committed by Luciano Coelho

wlcore: remove WLCORE_QUIRK_NO_ELP

all the current firmwares support elp, so
we can safely remove WLCORE_QUIRK_NO_ELP.
Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 3b44b3b3
...@@ -639,8 +639,7 @@ static int wl18xx_identify_chip(struct wl1271 *wl) ...@@ -639,8 +639,7 @@ static int wl18xx_identify_chip(struct wl1271 *wl)
wl->sr_fw_name = WL18XX_FW_NAME; wl->sr_fw_name = WL18XX_FW_NAME;
/* wl18xx uses the same firmware for PLT */ /* wl18xx uses the same firmware for PLT */
wl->plt_fw_name = WL18XX_FW_NAME; wl->plt_fw_name = WL18XX_FW_NAME;
wl->quirks |= WLCORE_QUIRK_NO_ELP | wl->quirks |= WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN |
WLCORE_QUIRK_RX_BLOCKSIZE_ALIGN |
WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN | WLCORE_QUIRK_TX_BLOCKSIZE_ALIGN |
WLCORE_QUIRK_NO_SCHED_SCAN_WHILE_CONN | WLCORE_QUIRK_NO_SCHED_SCAN_WHILE_CONN |
WLCORE_QUIRK_TX_PAD_LAST_FRAME | WLCORE_QUIRK_TX_PAD_LAST_FRAME |
......
...@@ -577,9 +577,6 @@ int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) ...@@ -577,9 +577,6 @@ int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif)
/* Configure for power according to debugfs */ /* Configure for power according to debugfs */
if (sta_auth != WL1271_PSM_ILLEGAL) if (sta_auth != WL1271_PSM_ILLEGAL)
ret = wl1271_acx_sleep_auth(wl, sta_auth); ret = wl1271_acx_sleep_auth(wl, sta_auth);
/* Configure for power always on */
else if (wl->quirks & WLCORE_QUIRK_NO_ELP)
ret = wl1271_acx_sleep_auth(wl, WL1271_PSM_CAM);
/* Configure for ELP power saving */ /* Configure for ELP power saving */
else else
ret = wl1271_acx_sleep_auth(wl, WL1271_PSM_ELP); ret = wl1271_acx_sleep_auth(wl, WL1271_PSM_ELP);
......
...@@ -2482,9 +2482,6 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl, ...@@ -2482,9 +2482,6 @@ static void __wl1271_op_remove_interface(struct wl1271 *wl,
/* Configure for power according to debugfs */ /* Configure for power according to debugfs */
if (sta_auth != WL1271_PSM_ILLEGAL) if (sta_auth != WL1271_PSM_ILLEGAL)
wl1271_acx_sleep_auth(wl, sta_auth); wl1271_acx_sleep_auth(wl, sta_auth);
/* Configure for power always on */
else if (wl->quirks & WLCORE_QUIRK_NO_ELP)
wl1271_acx_sleep_auth(wl, WL1271_PSM_CAM);
/* Configure for ELP power saving */ /* Configure for ELP power saving */
else else
wl1271_acx_sleep_auth(wl, WL1271_PSM_ELP); wl1271_acx_sleep_auth(wl, WL1271_PSM_ELP);
......
...@@ -515,9 +515,6 @@ wlcore_set_min_fw_ver(struct wl1271 *wl, unsigned int chip, ...@@ -515,9 +515,6 @@ wlcore_set_min_fw_ver(struct wl1271 *wl, unsigned int chip,
/* Older firmwares use an old NVS format */ /* Older firmwares use an old NVS format */
#define WLCORE_QUIRK_LEGACY_NVS BIT(5) #define WLCORE_QUIRK_LEGACY_NVS BIT(5)
/* Some firmwares may not support ELP */
#define WLCORE_QUIRK_NO_ELP BIT(6)
/* pad only the last frame in the aggregate buffer */ /* pad only the last frame in the aggregate buffer */
#define WLCORE_QUIRK_TX_PAD_LAST_FRAME BIT(7) #define WLCORE_QUIRK_TX_PAD_LAST_FRAME BIT(7)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment