diff options
author | Levi, Shahar <shahar_levi@ti.com> | 2011-01-23 01:27:22 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-01-24 15:58:20 -0500 |
commit | 4b7fac77b4c1badac84df3dcbdf07199d94cb1c3 (patch) | |
tree | 5296c389602351400fae7986d456e16442b8010d /drivers/net/wireless/wl12xx/wl12xx.h | |
parent | 6c89b7b2f856a2b67f53313ddfa3af4ab52bae28 (diff) |
wl12xx: BA initiator support
Add 80211n BA initiator session support wl1271 driver.
Include BA supported FW version auto detection mechanism.
BA initiator session management included in FW independently.
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Reviewed-by: Luciano Coelho <coelho@ti.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 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl12xx.h b/drivers/net/wireless/wl12xx/wl12xx.h index ca727e0c4ce9..e0bac79cd516 100644 --- a/drivers/net/wireless/wl12xx/wl12xx.h +++ b/drivers/net/wireless/wl12xx/wl12xx.h | |||
@@ -38,6 +38,13 @@ | |||
38 | #define DRIVER_NAME "wl1271" | 38 | #define DRIVER_NAME "wl1271" |
39 | #define DRIVER_PREFIX DRIVER_NAME ": " | 39 | #define DRIVER_PREFIX DRIVER_NAME ": " |
40 | 40 | ||
41 | /* | ||
42 | * FW versions support BA 11n | ||
43 | * versions marks x.x.x.50-60.x | ||
44 | */ | ||
45 | #define WL12XX_BA_SUPPORT_FW_COST_VER2_START 50 | ||
46 | #define WL12XX_BA_SUPPORT_FW_COST_VER2_END 60 | ||
47 | |||
41 | enum { | 48 | enum { |
42 | DEBUG_NONE = 0, | 49 | DEBUG_NONE = 0, |
43 | DEBUG_IRQ = BIT(0), | 50 | DEBUG_IRQ = BIT(0), |
@@ -182,10 +189,13 @@ struct wl1271_partition_set { | |||
182 | 189 | ||
183 | struct wl1271; | 190 | struct wl1271; |
184 | 191 | ||
192 | #define WL12XX_NUM_FW_VER 5 | ||
193 | |||
185 | /* FIXME: I'm not sure about this structure name */ | 194 | /* FIXME: I'm not sure about this structure name */ |
186 | struct wl1271_chip { | 195 | struct wl1271_chip { |
187 | u32 id; | 196 | u32 id; |
188 | char fw_ver[21]; | 197 | char fw_ver_str[ETHTOOL_BUSINFO_LEN]; |
198 | unsigned int fw_ver[WL12XX_NUM_FW_VER]; | ||
189 | }; | 199 | }; |
190 | 200 | ||
191 | struct wl1271_stats { | 201 | struct wl1271_stats { |
@@ -460,6 +470,11 @@ struct wl1271 { | |||
460 | 470 | ||
461 | /* bands supported by this instance of wl12xx */ | 471 | /* bands supported by this instance of wl12xx */ |
462 | struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; | 472 | struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; |
473 | |||
474 | /* RX BA constraint value */ | ||
475 | bool ba_support; | ||
476 | u8 ba_allowed; | ||
477 | u8 ba_rx_bitmap; | ||
463 | }; | 478 | }; |
464 | 479 | ||
465 | struct wl1271_station { | 480 | struct wl1271_station { |