Re: [ath9k-devel] Capture all transmissions with monitor interface

2012-12-05 Thread Julien Herzen
Alex, Thanks a lot for your answer. Best, Julien On Wed, Dec 5, 2012 at 6:45 AM, Alex Hacker wrote: > On Tue, Dec 04, 2012 at 07:43:40PM +0100, Julien Herzen wrote: > >Hello, > > > >I'm sending traffic from a node A to a node B, and I'm capturing > traffic > >sent by node A, at n

[ath9k-devel] PHY error frame timimg

2012-12-05 Thread abhinav narain
hi, I am trying to measure the timestamp of phy error frames. Though the counters in debugfs are incrementing after setting the ATH9K_RXERR_PHY flag; I don't see any printk printing anything in dmesg logs ! so that i can later log the time in rx_tasklet if (rx_stats->rs_status & ATH9K_RXERR_PHY

Re: [ath9k-devel] Capture all transmissions with monitor interface

2012-12-05 Thread Julien Herzen
Thanks for your reply, Does this mean that a packet is passed to the monitor interface only once it has been successfully ACK'd by the receiver? In this case, do you know how to exactly interpret the retry bit of the packets received by the monitor interface? In particular, if the retry bit is set

Re: [ath9k-devel] [RFC 3/3] ath9k: add spectral scan feature

2012-12-05 Thread Simon Wunderlich
Adrian, thanks a lot for your feedback! On Fri, Nov 30, 2012 at 08:00:51PM -0800, Adrian Chadd wrote: > Not that I'm specifically getting into this in any deep way right now, but.. > > On 27 November 2012 11:01, Simon Wunderlich > wrote: > > [snip] - this should apply to AR9380 and later I thi

Re: [ath9k-devel] [RFC 3/3] ath9k: add spectral scan feature

2012-12-05 Thread Felix Fietkau
On 2012-12-05 11:40 AM, Simon Wunderlich wrote: >> I suggest experimenting around with those particular parameters. You >> should be able to coax out specific numbers of spectral scan events >> when you set the COUNT parameter to something other than 8. But >> polling that bit isn't needed. It shou

Re: [ath9k-devel] [RFC 3/3] ath9k: add spectral scan feature

2012-12-05 Thread Adrian Chadd
On 5 December 2012 03:38, Felix Fietkau wrote: > How about using relay (Documentation/filesystems/relay.txt) to stream > sample data to user space via the debugfs file? > That way you don't have to keep a linked list of small struct fft_sample > buffers in the kernel and you can stream much more

Re: [ath9k-devel] [PATCH] ath9k_htc: update RSSI values only when the device is associated

2012-12-05 Thread Holger Schurig
And I think the commercial for your sponsor should be after the "---" line, not inside the commit description ... ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Capture all transmissions with monitor interface

2012-12-05 Thread abhinav narain
On Wed, Dec 5, 2012 at 5:29 AM, Julien Herzen wrote: > Thanks for your reply, > > Does this mean that a packet is passed to the monitor interface only once > it has been successfully ACK'd by the receiver? In this case, do you know > how to exactly interpret the retry bit of the packets received

Re: [ath9k-devel] [PATCH] ath9k_htc: update RSSI values only when the device is associated

2012-12-05 Thread Bernhard Urban
Hi Mohammed, thanks for your comment On Mon, Dec 3, 2012 at 7:41 AM, Mohammed Shafi wrote: > >> - last_rssi = priv->rx.last_rssi; > >> + if (is_mybeacon && priv->ah->opmode == NL80211_IFTYPE_STATION) { > >> + if (rxbuf->rxstatus.rs_rssi != ATH9K_RSSI_BAD && > >> +

Re: [ath9k-devel] [PATCH] ath9k_htc: update RSSI values only when the device is associated

2012-12-05 Thread Bernhard Urban
On Tue, Dec 4, 2012 at 6:02 PM, Holger Schurig wrote: > And I think the commercial for your sponsor should be after the "---" > line, not inside the commit description ... well, try `git log | grep -i sponsor' in the git tree. I don't find something in the docs though. ___

[ath9k-devel] Change CCA threshold

2012-12-05 Thread Julien Herzen
Dear all, Do you know if there is currently an easy way to change the CCA threshold used by the cards on the fly (while the driver is operating) ? If not, how would you proceed to add this possibility? Add a debugfs? What would be the corresponding variables/functions involved? Thanks! Best, Ju

[ath9k-devel] [PATCH 08/12] ath9k: Use standard #defines for PCIe Capability ASPM fields

2012-12-05 Thread Bjorn Helgaas
Use the standard #defines for PCIe Capability ASPM fields. Previously we used PCIE_LINK_STATE_L0S and PCIE_LINK_STATE_L1 directly, but these are defined for the Linux ASPM interfaces, e.g., pci_disable_link_state(), and only coincidentally match the actual register bits. PCIE_LINK_STATE_CLKPM, al