Skip to content

Commit

Permalink
wl12xx: add hw configuration for max supported AMDPU size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luciano Coelho committed Jan 24, 2011
1 parent 491bbd6 commit 4c9cfa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c9cfa7

Please sign in to comment.