Return-path: Received: from mx1.uni-rostock.de ([139.30.22.71]:55150 "EHLO mx1.uni-rostock.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727600AbeGQIPy (ORCPT ); Tue, 17 Jul 2018 04:15:54 -0400 Subject: Re: Setting tx retry count in ath10k To: Ben Greear , ath10k , "linux-wireless@vger.kernel.org" References: From: Benjamin Beichler Message-ID: (sfid-20180717_094447_116886_E007BE71) Date: Tue, 17 Jul 2018 09:39:36 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, Am 17.07.2018 um 02:37 schrieb Ben Greear: > I spent a bit of time looking into setting the tx retry count in > ath10k (wave-1 firmware).=C2=A0 The firmware has support for setting th= is as > a vdev parameter, and it defaults to '2', at least in my wave-1 firmwar= e. > > I enabled propagating the setting from mac80211, ie: > iw phy wiphy0 set retry short 2 long 2 > > And while debugging this, I noticed that mac80211 has a default of > 4, but the ath10k firmware has a default of 2.=C2=A0 Now, I am not sure= > if I should enable setting the retry count since it will change > the behaviour even if users don't set anything. > Maybe I'm wrong, but I have in mind, that 7 retries is the default setting of mac80211. Although 2 or even 4 seems to be pretty low for the overall retry count, so maybe the values are somehow changed in the firmware? From our experiments we know (at least for 802.11n) you need for normal operation a retry count of something between 5 - 9, but sometimes also 12 or 15 is beneficial. We use for our experimental setup mainly ath9k cards and rt28xx nics, and with them you need definitely more retries. Nonetheless, I don't think the change from 2 to 4 does really affect the behavior in a negative way (if it works as expected). > Any opinions on this? > > Thanks, > Ben > --=20 M.Sc. Benjamin Beichler Universit=C3=A4t Rostock, Fakult=C3=A4t f=C3=BCr Informatik und Elektrote= chnik Institut f=C3=BCr Angewandte Mikroelektronik und Datentechnik University of Rostock, Department of CS and EE Institute of Applied Microelectronics and CE Richard-Wagner-Stra=C3=9Fe 31 18119 Rostock Deutschland/Germany phone: +49 (0) 381 498 - 7278 email: Benjamin.Beichler@uni-rostock.de www: http://www.imd.uni-rostock.de/