From 85dbf89ae978d3bd38eac9e20d57bcad035756ca Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 30 Mar 2013 17:23:58 +0100 Subject: [PATCH] build fix: ath_hal_getrtsaggrlimit can be removed here 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 --- target_firmware/wlan/if_owl.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index b24e7d7..375c38c 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -374,7 +374,6 @@ static void ath_buf_set_rate(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) 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; @@ -402,13 +401,6 @@ static void ath_buf_set_rate(struct ath_softc_tgt *sc, struct ath_tx_buf *bf) } } - 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++) { -- 2.25.1