[ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Oleksij Rempel
Hallo all, i was playing with STBC functionality and wont to see more statistic about it. If i'm correct Some MACs can report if it got STBC frame or at least report duplicat frames. After greping the source, i'm confused about location of this registers. If i'm correct, STBC and Duplicate

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Adrian Chadd
Hi, There's no way to know that you received an STBC encoded frame. :( GI is short/long guard interval, not STBC. Adrian On 27 April 2013 01:08, Oleksij Rempel li...@rempel-privat.de wrote: Hallo all, i was playing with STBC functionality and wont to see more statistic about it. If i'm

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Oleksij Rempel
Am 27.04.2013 10:27, schrieb Adrian Chadd: Hi, There's no way to know that you received an STBC encoded frame. :( GI is short/long guard interval, not STBC. I do not mean encoded frame, i mean only status flag. Looks like ar9271 provide it. Adrian On 27 April 2013 01:08, Oleksij

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Adrian Chadd
On 27 April 2013 01:30, Oleksij Rempel li...@rempel-privat.de wrote: I do not mean encoded frame, i mean only status flag. Looks like ar9271 provide it. There's an STBC received status flag in the RX decriptor? Where? adrian ___ ath9k-devel

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Oleksij Rempel
Am 27.04.2013 10:53, schrieb Adrian Chadd: On 27 April 2013 01:30, Oleksij Rempel li...@rempel-privat.de wrote: I do not mean encoded frame, i mean only status flag. Looks like ar9271 provide it. There's an STBC received status flag in the RX decriptor? Where? 7. Word, 3. bit. --

Re: [ath9k-devel] 3.9.0-rc8+ (hacked) splat.

2013-04-27 Thread Felix Fietkau
On 2013-04-27 1:46 AM, Ben Greear wrote: Was running around 200 stations against a VAP on this system, and then changed the channel from 1 to 36 (by restarting hostapd with new config). Looks like null-pointer de-ref... Anyone seen anything similar? I've never seen this one. Please use gdb

[ath9k-devel] A-MPDU scheduler/logic algorithm

2013-04-27 Thread Chen Mike
Hi, I'm monitoring the number of MPDUs sent out in an A-MPDU frame. This number seems to vary between successive A-MPDUs transmissions. Is there a frame aggregation logic/scheduler somewhere in the code which decides the number of MPDUs that can be aggregated for the next transmission? Is it

[ath9k-devel] [PATCH RFC] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Oleksij Rempel
Collect statistics about recived duplicate and STBC packets. This information should help see if STBC is actually working. Tested on ar9285; Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/debug.c | 20 +++-

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Adrian Chadd
On 27 April 2013 01:55, Oleksij Rempel li...@rempel-privat.de wrote: There's an STBC received status flag in the RX decriptor? Where? 7. Word, 3. bit. Where'd you source that from? The datasheets don't say that. :) Adrian ___ ath9k-devel mailing

Re: [ath9k-devel] rx status registers for ar9280/ar9825/ar9287

2013-04-27 Thread Adrian Chadd
On 27 April 2013 09:00, Adrian Chadd adr...@freebsd.org wrote: On 27 April 2013 01:55, Oleksij Rempel li...@rempel-privat.de wrote: There's an STBC received status flag in the RX decriptor? Where? 7. Word, 3. bit. Where'd you source that from? The datasheets don't say that. :) Hey look!

[ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Oleksij Rempel
Collect statistics about recived duplicate and STBC packets. This information should help see if STBC is actually working. Tested on ar9285; Should work for all chips after ar9280. Changes: - v2. test for stbc vield only on ar9280 and later. reanme rx_gi to rx_short_gi Signed-off-by:

Re: [ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Adrian Chadd
Hiya, Why not just bump rs_flags to be a u16, rather than a u8? then you don't need an rs_flags_2. (And then go and re-align things inside that struct so you don't waste space.) Adrian ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Oleksij Rempel
Am 27.04.2013 20:51, schrieb Adrian Chadd: Hiya, Why not just bump rs_flags to be a u16, rather than a u8? then you don't need an rs_flags_2. ok (And then go and re-align things inside that struct so you don't waste space.) hmm.. what do you mean here? -- Regards, Oleksij

Re: [ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Adrian Chadd
On 27 April 2013 11:53, Oleksij Rempel li...@rempel-privat.de wrote: (And then go and re-align things inside that struct so you don't waste space.) hmm.. what do you mean here? Structure alignment? Well, you typically want to have everything be dword aligned (32 bits) or word (16 bits)

Re: [ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Oleksij Rempel
Am 27.04.2013 21:06, schrieb Adrian Chadd: On 27 April 2013 11:53, Oleksij Rempel li...@rempel-privat.de wrote: (And then go and re-align things inside that struct so you don't waste space.) hmm.. what do you mean here? Structure alignment? Well, you typically want to have everything be

Re: [ath9k-devel] [PATCH v2] ath9k: collect statistics about Rx-Dup and Rx-STBC packets

2013-04-27 Thread Felix Fietkau
On 2013-04-27 9:06 PM, Adrian Chadd wrote: On 27 April 2013 11:53, Oleksij Rempel li...@rempel-privat.de wrote: (And then go and re-align things inside that struct so you don't waste space.) hmm.. what do you mean here? Structure alignment? Well, you typically want to have everything be

Re: [ath9k-devel] A-MPDU scheduler/logic algorithm

2013-04-27 Thread ��Ʈ���ڷκ�
You should check xmit.c, it does scheduling. There can be up to 2 aggregate frames in queue each with max. 32 MPDUs. But aggregate frame size depends on current transmission rate. Also, probing MPDUs impact on aggregate frame.Shinnazar. --- Original Message --- From : Chen Mike