aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-01-12 08:27:03 -0500
committerLuciano Coelho <coelho@ti.com>2011-01-24 15:13:49 -0500
commit4c9cfa780643dc3f609366b85fec2444a67cad64 (patch)
treec999c560132428ec743fb09b6bbe294cff214c4f /drivers/net/wireless/wl12xx/main.c
parent491bbd6bdddafb49d0d6a9258d53441aee4bb622 (diff)
wl12xx: add hw configuration for max supported AMDPU size
The wl12xx chips do the AMDPU aggregation work in the firmware, but it supports a maximum of 8 frames per block. Configure the mac80211 hw structure accordingly. Signed-off-by: Luciano Coelho <coelho@ti.com> Tested-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 907655504983..77f6ac6466b2 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3180,6 +3180,8 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
3180 3180
3181 wl->hw->sta_data_size = sizeof(struct wl1271_station); 3181 wl->hw->sta_data_size = sizeof(struct wl1271_station);
3182 3182
3183 wl->hw->max_rx_aggregation_subframes = 8;
3184
3183 return 0; 3185 return 0;
3184} 3186}
3185EXPORT_SYMBOL_GPL(wl1271_init_ieee80211); 3187EXPORT_SYMBOL_GPL(wl1271_init_ieee80211);