wlcore: update acx enum

update the acx enum to the new fw api.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
Eliad Peller 2012-11-22 18:06:17 +02:00 committed by Luciano Coelho
parent 0a1c720c63
commit b6acb4e00e
3 changed files with 8 additions and 3 deletions

View file

@ -75,7 +75,7 @@ int wl18xx_acx_set_checksum_state(struct wl1271 *wl)
acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED;
ret = wl1271_cmd_configure(wl, ACX_CHECKSUM_CONFIG, acx, sizeof(*acx)); ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx));
if (ret < 0) { if (ret < 0) {
wl1271_warning("failed to set Tx checksum state: %d", ret); wl1271_warning("failed to set Tx checksum state: %d", ret);
goto out; goto out;

View file

@ -26,7 +26,13 @@
#include "../wlcore/acx.h" #include "../wlcore/acx.h"
enum { enum {
ACX_CLEAR_STATISTICS = 0x0047, ACX_NS_IPV6_FILTER = 0x0050,
ACX_PEER_HT_OPERATION_MODE_CFG = 0x0051,
ACX_CSUM_CONFIG = 0x0052,
ACX_SIM_CONFIG = 0x0053,
ACX_CLEAR_STATISTICS = 0x0054,
ACX_AUTO_RX_STREAMING = 0x0055,
ACX_PEER_CAP = 0x0056
}; };
/* numbers of bits the length field takes (add 1 for the actual number) */ /* numbers of bits the length field takes (add 1 for the actual number) */

View file

@ -1025,7 +1025,6 @@ enum {
ACX_CONFIG_HANGOVER = 0x0042, ACX_CONFIG_HANGOVER = 0x0042,
ACX_FEATURE_CFG = 0x0043, ACX_FEATURE_CFG = 0x0043,
ACX_PROTECTION_CFG = 0x0044, ACX_PROTECTION_CFG = 0x0044,
ACX_CHECKSUM_CONFIG = 0x0045,
}; };