reason for this part of code:
"AR5416/AR5418 doesn't work with RTS + aggregates longer than 8KiB,
so the driver has to either limit aggregate sizes to 8KiB or less,
or disable RTS on longer aggregates. This was fixed in subsequent chips.
...
it's quite possible that there's some carrier / enterprise solution
somewhere that uses the AR7010 as an offload CPU for an AR5418 device.
...
I'd eventually like us to support the ethernet offload mode -
even if it's just as a reference we can use internally
at work when demo'ing stuff."
Adrian Chadd
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
HAL_11N_RATE_SERIES series[4];
a_int32_t i, flags;
a_uint8_t rix, cix, rtsctsrate;
- a_uint32_t aggr_limit_with_rts;
a_uint32_t ctsduration = 0;
a_int32_t prot_mode = AH_FALSE;
}
}
- ath_hal_getrtsaggrlimit(sc->sc_ah, &aggr_limit_with_rts);
-
- if (bf->bf_isaggr && aggr_limit_with_rts &&
- bf->bf_al > aggr_limit_with_rts) {
- flags &= ~(HAL_TXDESC_RTSENA);
- }
-
adf_os_mem_set(series, 0, sizeof(HAL_11N_RATE_SERIES) * 4);
for (i = 0; i < 4; i++) {