/* Max AMPDU length = (2 ^ (13 + exponent)) - 1 bytes  */
static __u32 compute_ampdu_length(__u8 exponent)
/* Max AMPDU length = (2 ^ (13 + exponent)) - 1 bytes  */
static __u32 compute_ampdu_length(__u8 exponent)
{
	switch (exponent) {
	case 0: return 8191;
	case 1: return 16383;
	case 2: return 32767;
	case 3: return 65535;
	default: return 0;
	}
}