Skip to content

Commit

Permalink
wlcore: set max_rx_agg_subframes in mac80211 according to HT conf
Browse files Browse the repository at this point in the history
The max Rx aggregation subframes configured to FW must be the same
number given to the upper layers (mac80211). Derive both from the same
value, given in the conf struct.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
  • Loading branch information
Arik Nemtsov authored and Luciano Coelho committed Apr 12, 2012
1 parent 4a589a6 commit ba421f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4740,7 +4740,7 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)
wl->hw->sta_data_size = sizeof(struct wl1271_station);
wl->hw->vif_data_size = sizeof(struct wl12xx_vif);

wl->hw->max_rx_aggregation_subframes = 8;
wl->hw->max_rx_aggregation_subframes = wl->conf.ht.rx_ba_win_size;

return 0;
}
Expand Down

0 comments on commit ba421f8

Please sign in to comment.