diff options
author | Eliad Peller <eliad@wizery.com> | 2011-08-14 12:17:07 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-08-22 11:35:24 +0200 |
commit | c690ec816f9fa2ab2b6200c5b79b6933acca49a4 (patch) | |
tree | 984c89b9708b81724daee5f5a77eb9b4d1e2284d /drivers/net/wireless/wl12xx/wl12xx.h | |
parent | wl12xx: update acx commands (diff) | |
download | linux-c690ec816f9fa2ab2b6200c5b79b6933acca49a4.tar.xz linux-c690ec816f9fa2ab2b6200c5b79b6933acca49a4.zip |
wl12xx: update commands & events
Change the commands and events according to the new fw api
(fw >= 6/7.3.0.0.75).
The main change is the replacement of JOIN/DISCONNECT commands,
with ROLE_START/ROLE_STOP commands.
The use of these commands should be preceded by the ROLE_ENABLE
command (allocating role resources), and followed by the
ROLE_DISABLE command (freeing role resources).
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl12xx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl12xx.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h index 9f71dc75a01b..3d43875163e1 100644 --- a/drivers/net/wireless/wl12xx/wl12xx.h +++ b/drivers/net/wireless/wl12xx/wl12xx.h @@ -137,6 +137,7 @@ extern u32 wl12xx_debug_level; #define WL1271_DEFAULT_BEACON_INT 100 #define WL1271_DEFAULT_DTIM_PERIOD 1 +#define WL12XX_MAX_ROLES 4 #define WL12XX_MAX_LINKS 8 #define WL12XX_INVALID_ROLE_ID 0xff #define WL12XX_INVALID_LINK_ID 0xff @@ -394,6 +395,10 @@ struct wl1271 { int channel; u8 role_id; u8 sta_hlid; + u8 dev_hlid; + + unsigned long links_map[BITS_TO_LONGS(WL12XX_MAX_LINKS)]; + unsigned long roles_map[BITS_TO_LONGS(WL12XX_MAX_ROLES)]; struct wl1271_acx_mem_map *target_mem_map; |