summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-01-12 13:27:03 (GMT)
committerLuciano Coelho <coelho@ti.com>2011-01-24 20:13:49 (GMT)
commit4c9cfa780643dc3f609366b85fec2444a67cad64 (patch)
treec999c560132428ec743fb09b6bbe294cff214c4f /drivers/net/wireless/wl12xx/main.c
parent491bbd6bdddafb49d0d6a9258d53441aee4bb622 (diff)
downloadlinux-fsl-qoriq-4c9cfa780643dc3f609366b85fec2444a67cad64.tar.xz
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 9076555..77f6ac6 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)
wl->hw->sta_data_size = sizeof(struct wl1271_station);
+ wl->hw->max_rx_aggregation_subframes = 8;
+
return 0;
}
EXPORT_SYMBOL_GPL(wl1271_init_ieee80211);