[ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count

2017-01-08 Thread Eduardo Abinader
On TX99 mode, instead of assuming interrupt mask non ATH9K_INT_GLOBAL, let ath9k_hw_disable_interrupts proper set interrupt ref count. This prevents some PCI PERR occurring specialy when setting 11b and n rates. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drive

[ath9k-devel] [PATCH] ath9k: Remove empty test condition

2017-01-08 Thread Eduardo Abinader
Just some code cleanup to remove an empty if clause. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/d

[ath9k-devel] [PATCH] ath9k: Proper TX99 interrupt ref count

2017-01-08 Thread Eduardo Abinader
On TX99 mode, instead of assuming interrupt mask non ATH9K_INT_GLOBAL, let ath9k_hw_disable_interrupts proper set interrupt ref count. This prevents some PCI PERR occurring specialy when setting 11b and n rates. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drive

[ath9k-devel] [PATCH] ath9k: allow tx99 for ar9002 based cards

2017-01-08 Thread Eduardo Abinader
As there is current support for ar9002 tx99 mode, just allow to init debugfs and enable tx99. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/tx99.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wirele

[ath9k-devel] [PATCH] ath9k: Remove empty test condition

2017-01-08 Thread Eduardo Abinader
Just some code cleanup to remove an empty if clause. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/d

[ath9k-devel] [PATCH] ath9k: allow tx99 for ar9002 based cards

2017-01-08 Thread Eduardo Abinader
As there is current support for ar9002 tx99 mode, just allow to init debugfs and enable tx99. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/tx99.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wirele

Re: [ath9k-devel] TX99 unreliable start sequence

2016-09-08 Thread Eduardo Abinader
Actually, echo $power > tx99_power On Thu, Sep 8, 2016 at 3:08 PM, Eduardo Abinader <eduardoabina...@gmail.com> wrote: > The reason behind that, I think, is due to the fact that you have to > echo 1 > tx99_power, before setting tx99. > > Eduardo > > On Wed, Se

Re: [ath9k-devel] TX99 unreliable start sequence

2016-09-08 Thread Eduardo Abinader
The reason behind that, I think, is due to the fact that you have to echo 1 > tx99_power, before setting tx99. Eduardo On Wed, Sep 7, 2016 at 10:07 PM, Mathieu Slabbinck wrote: > Hi, > > I was looking into the TX99 module recently and found that it was not always >

[ath9k-devel] [PATCH 1/1 V3] ath9k: consider return code on

2016-07-27 Thread Eduardo Abinader
just to comply with current ath9k_hw_nvram_read to return value, hence behaving reacting accordingly. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[ath9k-devel] [PATCH 0/1 V3] ath9k: consider return code on ar9300_eeprom_restore_flash

2016-07-27 Thread Eduardo Abinader
Hi Kale, Just added the two error codes you asked: https://lists.ath9k.org/pipermail/ath9k-devel/2016-July/014686.html Thanks. Eduardo Abinader (1): ath9k: consider return code on ar9300_eeprom_restore_flash drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 6 -- 1 file changed, 4

[ath9k-devel] [PATCH V2] ath9k: consider return code on ar9300_eeprom_restore_flash

2016-07-01 Thread Eduardo Abinader
just to comply with current ath9k_hw_nvram_read to return value, hence behaving reacting accordingly. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[ath9k-devel] [PATCH] ath9k: consider return code on ar9300_eeprom_restore_flash

2016-07-01 Thread Eduardo Abinader
just to comply with current ath9k_hw_nvram_read to return value, hence behaving reacting accordingly. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[ath9k-devel] [PATCH] ath9k: return false when reading wrong eeprom offset

2016-06-16 Thread Eduardo Abinader
Just setting the proper return for reading beyond the eeprom data. Signed-off-by: Eduardo Abinader <eduardo.abina...@riverbed.com> --- drivers/net/wireless/ath/ath9k/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath

Re: [ath9k-devel] tx99 memory allocate failure

2016-05-17 Thread Eduardo Abinader
Hi, Create the monitor interface with active flag set. BR. From: ath9k-devel-boun...@lists.ath9k.org [ath9k-devel-boun...@lists.ath9k.org] on behalf of Mathieu Slabbinck [matty.slabbi...@gmail.com] Sent: Tuesday, May 17, 2016 3:52 PM To:

Re: [ath9k-devel] tx99 memory allocate failure

2016-05-17 Thread Eduardo Abinader
Hi Mathieu, Add the monitor interface like this: #iw phy phy0 interface add moni0 type monitor flags active BR, Eduardo Abinader From: Mathieu Slabbinck [matty.slabbi...@gmail.com] Sent: Tuesday, May 17, 2016 4:11 PM To: Eduardo Abinader Cc: ath9k-devel