iwlwifi: use maximum aggregation size
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Jan 2011 10:53:54 +0000 (02:53 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 31 Jan 2011 21:19:32 +0000 (13:19 -0800)
commit7b09068721b1a1bbba9372d0293c21d2425b14de
tree6875faf8f18a44276fabff5a27c0ddb8eed5a8ab
parent9b7688328422b88a7a15dc0dc123ad9ab1a6e22d
iwlwifi: use maximum aggregation size

Use the values from the peer to set up the ucode
for the right maximum number of subframes in an
aggregate. Since the ucode only tracks this per
station, use the minimum across all aggregation
sessions with this peer.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h