Skip to contentSkip to conversation

wl12xx: add hw configuration for max supported AMDPU size

PATCH Applied [email protected] 1 participant 2 messages Jan 12, 2011 – Jan 24, 2011 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wl12xx: add hw configuration for max supported AMDPU size

From: Luciano Coelho <[email protected]>

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.

---
 drivers/net/wireless/wl12xx/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/wl12xx/main.c +2 -0
index 67732ea..463d6bf 100644
@@ -3178,6 +3178,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);
Signature · 1 line
1.7.1