On Wed, May 30, 2012 at 4:13 PM, Stratos Keranidis <efker...@gmail.com> wrote: > Hi Shafi,
Hi Stratos, > > I cleared the following flag in init.c: > > hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; > > and I confirm that AMPDU aggregation is disabled, > as the function: static enum ATH_AGGR_STATUS ath_tx_form_aggr > does not anymore print the information I have inserted in order to > print the aggregation length. fine! > > Moreover, I provide some Iperf UDP tests with and without AMPDU aggregation: > > DISABLED: > [ 4] 0.0- 1.0 sec 4.36 MBytes 36.6 Mbits/sec 0.488 ms 0/ 3113 (0%) > [ 4] 1.0- 2.0 sec 4.72 MBytes 39.6 Mbits/sec 0.457 ms 0/ 3364 (0%) > [ 4] 2.0- 3.0 sec 4.26 MBytes 35.8 Mbits/sec 0.466 ms 0/ 3041 (0%) > [ 4] 3.0- 4.0 sec 4.50 MBytes 37.7 Mbits/sec 0.341 ms 0/ 3208 (0%) > [ 4] 4.0- 5.0 sec 4.78 MBytes 40.1 Mbits/sec 0.591 ms 0/ 3412 (0%) > > ENABLED: > [ 3] 0.0- 1.0 sec 13.9 MBytes 117 Mbits/sec 0.199 ms 1230/11151 (11%) > [ 3] 1.0- 2.0 sec 15.2 MBytes 128 Mbits/sec 0.079 ms 1170/12037 (9.7%) > [ 3] 2.0- 3.0 sec 16.8 MBytes 141 Mbits/sec 0.067 ms 1779/13730 (13%) > [ 3] 3.0- 4.0 sec 15.5 MBytes 130 Mbits/sec 0.162 ms 1807/12897 (14%) > [ 3] 4.0- 5.0 sec 18.3 MBytes 154 Mbits/sec 0.032 ms 993/14078 (7.1%) thanks for sharing the result. its very useful! > > Thank you, > Shafi. > > > > On Wed, May 30, 2012 at 8:26 AM, Mohammed Shafi > <shafi.wirel...@gmail.com> wrote: >> On Wed, May 30, 2012 at 4:28 AM, Stratos Keranidis <efker...@gmail.com> >> wrote: >>> HI, >> >> hi, >> >>> >>> I checked in the archives and found that a proper way to disable AMPDU >>> aggregation is to >>> >>> replace these two lines in /drivers/net/wireless/ath/ath9k/init.c of >>> function ath9k_init_misc() >>> >>> sc->sc_flags |= SC_OP_TXAGGR; >>> sc->sc_flags |= SC_OP_RXAGGR; >>> >>> with the following: >>> >>> sc->sc_flags &= ~SC_OP_TXAGGR >>> sc->sc_flags &= ~SC_OP_RXAGGR >> >> these flags were removed in the latest wireless-testing >> >>> >>> However, when I recompile and reload the modules, my PC hangs, just >>> after associating with the AP. >> >> it could be a problem in the older stuff, where we would access >> aggregation related tid structures without checking those flags, >> did you try a somewhat newer version of compat wireless where this >> flags were still present ? >> >>> >>> Did anyone have some relevant problem? >>> >>> Is there some other proper way to disable packet aggregation? >> >> clearing the below flag in init.c will not start aggregation session >> >> 682 hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; >> >> if you got any freeze even after clearing the above flags please let >> me know. we may need to disable the >> flag ATH9K_HW_CAP_HT >> >> >>> >>> Thank you, >>> Stratos. >>> _______________________________________________ >>> ath9k-devel mailing list >>> ath9k-devel@lists.ath9k.org >>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >> >> >> >> -- >> thanks, >> shafi -- thanks, shafi _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel