Re: [ath9k-devel] tx99 memory allocate failure

2016-05-17 Thread Mathieu Slabbinck
Solved! Thanks a bunch!!! Kr Mathieu On Tue, May 17, 2016 at 4:16 PM, Eduardo Abinader < eduardo.abina...@riverbed.com> wrote: > Hi Mathieu, > > Add the monitor interface like this: > > #iw phy phy0 interface add moni0 type monitor flags active > > > BR, > Eduardo Abinader >

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:

Re: [ath9k-devel] tx99 memory allocate failure

2016-05-17 Thread Mathieu Slabbinck
Hi Eduardo, I'm using this: #!/bin/bash mount -t debugfs nodev /sys/kernel/debug echo "Prep for tx99" iw phy phy0 interface add moni0 type monitor ip link set dev moni0 up echo "Activating tx99" echo 15 > /sys/kernel/debug/ieee80211/phy0/ath9k/tx99_power echo 1 >

[ath9k-devel] tx99 memory allocate failure

2016-05-17 Thread Mathieu Slabbinck
Hi, I'm having some issues running the tx99 features of the ath9k driver. Seems like every time I try to run it, I get this: sh: write error: cannot allocate memory. After some poking, I found it's returning -ENOMEN in tx99.c. Which is due to !sc-tx99_skb Which on it's turn is due to an empty

Re: [ath9k-devel] [PATCH v2] ath9k: interpret requested txpower in EIRP domain

2016-05-17 Thread Zefir Kurtisi
On 05/17/2016 01:11 PM, Felix Fietkau wrote: > On 2016-05-17 12:54, Zefir Kurtisi wrote: >> On 05/14/2016 02:50 PM, Felix Fietkau wrote: >>> On 2016-04-01 11:37, Zefir Kurtisi wrote: Tx power limitations at upper layers are interpreted in the EIRP domain. When the user requests a given

Re: [ath9k-devel] [PATCH v2] ath9k: interpret requested txpower in EIRP domain

2016-05-17 Thread Felix Fietkau
On 2016-05-17 12:54, Zefir Kurtisi wrote: > On 05/14/2016 02:50 PM, Felix Fietkau wrote: >> On 2016-04-01 11:37, Zefir Kurtisi wrote: >>> Tx power limitations at upper layers are interpreted in >>> the EIRP domain. When the user requests a given maximum >>> txpower, e.g. with: 'iw phy0 set txpower

Re: [ath9k-devel] [PATCH v2] ath9k: interpret requested txpower in EIRP domain

2016-05-17 Thread Zefir Kurtisi
On 05/14/2016 02:50 PM, Felix Fietkau wrote: > On 2016-04-01 11:37, Zefir Kurtisi wrote: >> Tx power limitations at upper layers are interpreted in >> the EIRP domain. When the user requests a given maximum >> txpower, e.g. with: 'iw phy0 set txpower fixed 1500', >> he expects the EIRP to be at or