diff options
author | Igal Chernobelsky <igalc@ti.com> | 2013-03-12 11:19:35 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2013-03-25 06:33:11 -0400 |
commit | d21553f8900f735d2caedd1c6db75dbd67e5ab9e (patch) | |
tree | f93dfbfdb0ac1a08fdef2147df9a4fbbe32e1a50 /drivers/net/wireless/ti/wl12xx | |
parent | 0c7cc7f22614f70f724c23db2b7f0d8d5b8ded69 (diff) |
wlcore: set max num of Rx BA sessions per chip
Maximum number of supported RX BA sessions depends on chip type.
wl18xx supports 5 RX BA sessions while wl12xx supports 3.
Signed-off-by: Igal Chernobelsky <igalc@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx')
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/main.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ti/wl12xx/wl12xx.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c index 09694e39bb14..1c627da85083 100644 --- a/drivers/net/wireless/ti/wl12xx/main.c +++ b/drivers/net/wireless/ti/wl12xx/main.c | |||
@@ -723,6 +723,7 @@ static int wl12xx_identify_chip(struct wl1271 *wl) | |||
723 | wl->sched_scan_templ_id_2_4 = CMD_TEMPL_CFG_PROBE_REQ_2_4; | 723 | wl->sched_scan_templ_id_2_4 = CMD_TEMPL_CFG_PROBE_REQ_2_4; |
724 | wl->sched_scan_templ_id_5 = CMD_TEMPL_CFG_PROBE_REQ_5; | 724 | wl->sched_scan_templ_id_5 = CMD_TEMPL_CFG_PROBE_REQ_5; |
725 | wl->max_channels_5 = WL12XX_MAX_CHANNELS_5GHZ; | 725 | wl->max_channels_5 = WL12XX_MAX_CHANNELS_5GHZ; |
726 | wl->ba_rx_session_count_max = WL12XX_RX_BA_MAX_SESSIONS; | ||
726 | out: | 727 | out: |
727 | return ret; | 728 | return ret; |
728 | } | 729 | } |
diff --git a/drivers/net/wireless/ti/wl12xx/wl12xx.h b/drivers/net/wireless/ti/wl12xx/wl12xx.h index d4552857480c..222d03540200 100644 --- a/drivers/net/wireless/ti/wl12xx/wl12xx.h +++ b/drivers/net/wireless/ti/wl12xx/wl12xx.h | |||
@@ -63,6 +63,8 @@ | |||
63 | 63 | ||
64 | #define WL12XX_NUM_MAC_ADDRESSES 2 | 64 | #define WL12XX_NUM_MAC_ADDRESSES 2 |
65 | 65 | ||
66 | #define WL12XX_RX_BA_MAX_SESSIONS 3 | ||
67 | |||
66 | struct wl127x_rx_mem_pool_addr { | 68 | struct wl127x_rx_mem_pool_addr { |
67 | u32 addr; | 69 | u32 addr; |
68 | u32 addr_extra; | 70 | u32 addr_extra; |