Search Linux Wireless

Re: [PATCH] iwlwifi: disable TX AMPDU by default for iwldvm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 12, 2014 at 09:35:03AM +0000, Grumbach, Emmanuel wrote:
> > 
> > On Wed, Feb 12, 2014 at 10:10:08AM +0100, Stanislaw Gruszka wrote:
> > > On Wed, Feb 12, 2014 at 10:54:29AM +0200, Emmanuel Grumbach wrote:
> > > > From: Emmanuel Grumbach <emmanuel.grumbach@xxxxxxxxx>
> > > >
> > > > We have had a bug in TX AMPDU in iwldvm for a very long time. This
> > > > bug has been raised in many bugzillas and threads on linux-wireless
> > > > mailing list.
> > > >
> > > > The bug is in firmware and we won't be able to fix it in the near
> > > > future. Hence, we prefer to disable TX AMPDU by default in iwldvm.
> > > > This doesn't affect iwlmvm which supports 7160 /
> > > > 3160 and up.
> > >
> > > ...
> > >
> > > >  #define IWL_DISABLE_HT_ALL	BIT(0)
> > > > -#define IWL_DISABLE_HT_TXAGG	BIT(1)
> > >
> > > Whouln't simple change, by setting disable_11=2 by default, make the
> > > same effect, and allow easly to enable TX aggregation (without kernel
> > > recompile) ?
> > 
> 
> I guess at that point, I prefer to have a compilation flag. In Redhat / Fedora you'd disable it by default right?

No, we do not have any extra options in /etc/modprobe.d/ for iwlwifi,
all is running with default settings.
 
> Also the module parameter is for iwlwifi which includes iwlmvm. When I did this change I mainly thought about distros not wanting to  change their modprobe.conf files. I want to give the possibility for distro to disable TX AMPDU for iwldvm and keep it enable for iwlmvm. We can move the module parameter to be iwldvm only, this would be the best, but it'd require distro to make changes... Ignoring the disable_11n module parameter in iwlmvm seems odd (even if this is what I do know for IWL_DISABLE_HT_ALL and IWL_DISABLE_HT_RXAGG).
> If you (as a distro representative) have a better idea, I am willing to hear. After all, this change is mostly intended to make distro's life easier...

If somebody has working aggregation and we will remove that from kernel,
we will get complains. Telling that he/she have to recompile kernel to
get functionality back, will not make live easier to anyone. Setting
module option is much much easier. 

In the past we have in iwlwifi module parameters initialized differently
for different devices. Though, it does not work with many devices on the
system, this is not an issue since normal users have only one device.
I guess the same could be used here:
0 - default (device specific), 1 - disable TX AGG, 2 - disable RX AGG,
4 - force enable TX AGG, 8 - force enable RX AGG.

> > Also, does the bug affect all iwldvm devices ? They have different firmware
> > images, so I wonder if this is needed for all DVM devices.
> 
> I have seen reports from many users and many devices - and unfortunately I have never been able to reproduce

So, that is argument to do not remove support for TX agg. If someone
has that working, he/she still should be able to use it.

Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux