[PATCH v2 1/2] ath10k: Fix bug in max. VHT A-MPDU size

Kalle Valo kvalo at qca.qualcomm.com
Mon Oct 7 12:33:35 EDT 2013

Michal Kazior <michal.kazior at tieto.com> writes:

> From: Sujith Manoharan <c_manoha at qca.qualcomm.com>
> For VHT peers, the maximum A-MPDU size has to be calculated
> from the VHT capabilities element and not the HT-cap. The formula
> is the same, but a higher value is used in VHT, allowing larger
> aggregates to be transmitted.
> The patch contains a workaround for some Netgear/Linksys APs that
> report Rx A-MPDU factor incorrectly.
> Signed-off-by: Sujith Manoharan <c_manoha at qca.qualcomm.com>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>

I see warnings with this patch:

drivers/net/wireless/ath/ath10k/mac.c: In function 'ath10k_peer_assoc_h_vht':
drivers/net/wireless/ath/ath10k/mac.c:1049:179: warning: comparison of distinct pointer types lacks a cast [enabled by default]
drivers/net/wireless/ath/ath10k/mac.c:1049:30: error: incompatible types in comparison expression (different signedness)
drivers/net/wireless/ath/ath10k/mac.c:1042: WARNING: line over 80 characters

Kalle Valo

More information about the ath10k mailing list