]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
wl12xx: add hw configuration for max supported AMDPU size
authorLuciano Coelho <coelho@ti.com>
Wed, 12 Jan 2011 13:27:03 +0000 (14:27 +0100)
committerLuciano Coelho <coelho@ti.com>
Mon, 24 Jan 2011 20:13:49 +0000 (22:13 +0200)
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>
drivers/net/wireless/wl12xx/main.c

index 907655504983dc9a3c800e36063066d641d8a449..77f6ac6466b25dc12bb17a9e8ba47c2f064f6e9e 100644 (file)
@@ -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);