diff options
author | Eliad Peller <eliad@wizery.com> | 2012-11-22 11:06:17 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-11-27 03:49:28 -0500 |
commit | b6acb4e00e187cb5ae8dd479958a02fe0ea97bf0 (patch) | |
tree | 20f6effec4a4b5a726e9e95c137a3a4794df1241 | |
parent | 0a1c720c63be74bbfe416fa085d0783348e4d69b (diff) |
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>
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/acx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/acx.h | 8 | ||||
-rw-r--r-- | drivers/net/wireless/ti/wlcore/acx.h | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/acx.c b/drivers/net/wireless/ti/wl18xx/acx.c index 72840e23bf59..adff9cde7db7 100644 --- a/drivers/net/wireless/ti/wl18xx/acx.c +++ b/drivers/net/wireless/ti/wl18xx/acx.c | |||
@@ -75,7 +75,7 @@ int wl18xx_acx_set_checksum_state(struct wl1271 *wl) | |||
75 | 75 | ||
76 | acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; | 76 | acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; |
77 | 77 | ||
78 | ret = wl1271_cmd_configure(wl, ACX_CHECKSUM_CONFIG, acx, sizeof(*acx)); | 78 | ret = wl1271_cmd_configure(wl, ACX_CSUM_CONFIG, acx, sizeof(*acx)); |
79 | if (ret < 0) { | 79 | if (ret < 0) { |
80 | wl1271_warning("failed to set Tx checksum state: %d", ret); | 80 | wl1271_warning("failed to set Tx checksum state: %d", ret); |
81 | goto out; | 81 | goto out; |
diff --git a/drivers/net/wireless/ti/wl18xx/acx.h b/drivers/net/wireless/ti/wl18xx/acx.h index e2609a6b7341..394d12500834 100644 --- a/drivers/net/wireless/ti/wl18xx/acx.h +++ b/drivers/net/wireless/ti/wl18xx/acx.h | |||
@@ -26,7 +26,13 @@ | |||
26 | #include "../wlcore/acx.h" | 26 | #include "../wlcore/acx.h" |
27 | 27 | ||
28 | enum { | 28 | enum { |
29 | ACX_CLEAR_STATISTICS = 0x0047, | 29 | ACX_NS_IPV6_FILTER = 0x0050, |
30 | ACX_PEER_HT_OPERATION_MODE_CFG = 0x0051, | ||
31 | ACX_CSUM_CONFIG = 0x0052, | ||
32 | ACX_SIM_CONFIG = 0x0053, | ||
33 | ACX_CLEAR_STATISTICS = 0x0054, | ||
34 | ACX_AUTO_RX_STREAMING = 0x0055, | ||
35 | ACX_PEER_CAP = 0x0056 | ||
30 | }; | 36 | }; |
31 | 37 | ||
32 | /* numbers of bits the length field takes (add 1 for the actual number) */ | 38 | /* numbers of bits the length field takes (add 1 for the actual number) */ |
diff --git a/drivers/net/wireless/ti/wlcore/acx.h b/drivers/net/wireless/ti/wlcore/acx.h index d03215d6b3bd..126536c6a393 100644 --- a/drivers/net/wireless/ti/wlcore/acx.h +++ b/drivers/net/wireless/ti/wlcore/acx.h | |||
@@ -1025,7 +1025,6 @@ enum { | |||
1025 | ACX_CONFIG_HANGOVER = 0x0042, | 1025 | ACX_CONFIG_HANGOVER = 0x0042, |
1026 | ACX_FEATURE_CFG = 0x0043, | 1026 | ACX_FEATURE_CFG = 0x0043, |
1027 | ACX_PROTECTION_CFG = 0x0044, | 1027 | ACX_PROTECTION_CFG = 0x0044, |
1028 | ACX_CHECKSUM_CONFIG = 0x0045, | ||
1029 | }; | 1028 | }; |
1030 | 1029 | ||
1031 | 1030 | ||