Re: [ath9k-devel] Patching ath9k/mac80211 to change MAC layer features

2011-06-28 Thread Daniel Smith
On Tue, Jun 28, 2011 at 3:00 AM, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Mon, Jun 27, 2011 at 11:07 PM, Fred Matthews fre...@hotmail.co.uk wrote: Hi all, Much appreciated Mohammed Shafi, disabling aggregation works when replacing those lines with  sc-sc_flags = ~SC_OP_TXAGGR;  

Re: [ath9k-devel] 802.11n PCI-E 300Mbps with AP mode?

2011-07-13 Thread Daniel Smith
On Wed, Jul 13, 2011 at 3:55 PM, Grant emailgr...@gmail.com wrote: How about a card like I describe that is compatible with ath9k but without AP mode support?  The router I'm building needs one card to act as a client to a wireless bridge that is connected to the WAN. - Grant I am not sure

[ath9k-devel] Possible over driving AR9106, how to detect?

2011-09-07 Thread Daniel Smith
resulting in a signal strength of 70dB. I was wondering if there might be an interrupt that I could mask in or some other means to detect if the radio is in fact being over driven. Thanks in advance! V/r, Daniel Smith ___ ath9k-devel mailing list ath9k

Re: [ath9k-devel] Possible over driving AR9106, how to detect?

2011-09-07 Thread Daniel Smith
Thanks for the quick response Adrian. On Wed, Sep 7, 2011 at 11:47 AM, Adrian Chadd adr...@freebsd.org wrote: If the DMA RX stop storm occured then it meant the NIC thought it hit the end of the RX descriptor list (whether you did or not) and it just kept signalling it couldn't write packets

Re: [ath9k-devel] Possible over driving AR9106, how to detect?

2011-09-08 Thread Daniel Smith
On Wed, Sep 7, 2011 at 8:37 PM, Adrian Chadd adr...@freebsd.org wrote: Right. The reason you won't see unable to stop RX dma is because it hasn't locked up anything like that.. Ahh, so you think this possible could be a precursor to the DMA storm? That looks like my solution. But I have extra

Re: [ath9k-devel] Netgear1100, monitor mode

2011-09-12 Thread Daniel Smith
mode. Any suggestions? So I had a few issues with the stock 11.04 ath9k_htc driver and putting the devices into AP mode. Even when in managed mode I was getting a very poor rate. After installing compat-wireless-3.0.2 and firmware 1.3 my devices have been humming. V/r Daniel Smith

[ath9k-devel] Help clarifying TX power setting

2011-09-14 Thread Daniel Smith
, would expect it to be processed by the function __ieee80211_parse_tx_radiotap. So if I want to limit tx power via radiotap I will have to parse it in mac80211, in someway ensure it gets passed down to ath9k, and then make ath9k act on it? I would appreciate any help. Thanks! v/r, Daniel Smith

[ath9k-devel] Help clarifying TX power setting

2011-09-15 Thread Daniel Smith
Thanks for responding! On Thu, Sep 15, 2011 at 10:32 AM, Adrian Chadd adr...@freebsd.org wrote: I think the rule is: * if the TPC enable bit is set, it's set in the descriptor * else it's set in AR_PHY_POWER_* per-rate registers and the ACK/CTS/CHIRP power register. I just found this

Re: [ath9k-devel] Help clarifying TX power setting

2011-09-16 Thread Daniel Smith
Just as a follow-up to let future readers know what I did. On Thu, Sep 15, 2011 at 1:10 PM, Adrian Chadd adr...@freebsd.org wrote: On 16 September 2011 01:00, Daniel Smith viscous.liq...@gmail.com wrote: I can't help with the radiotap stuff, sorry. No problem, that was provided more

Re: [ath9k-devel] TP-Link TL-WN722N not working

2011-09-17 Thread Daniel Smith
On 09/14/2011 10:28 PM, Grant wrote: For anyone that has the TP-Link TL-WN722N, does it rattle? - Grant I checked on of mine and yes there is a rattling sound inside. Daniel ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] How can I use ath9k adapter + Wireshark to disect/monitor wireless 802.11 abgn network traffic.

2011-09-19 Thread Daniel Smith
On 9/19/2011 3:58 AM, Mohammed Shafi wrote: On Mon, Sep 19, 2011 at 12:53 PM, shashikant ajegaonkar ajegaon...@gmail.com wrote: Hi All, Please forward the earlier mail thread if any or your views on using ath9k adapter + Wireshark to disect/monitor wireless 802.11 abgn network traffic

[ath9k-devel] Unrealistic RSSI values being reported

2011-11-03 Thread Daniel Smith
I recently upgraded to compat-wireless-3.1-rc8 from compat-wireless-2.6.39-1-sn and have discovered an interesting behavior. When in monitor mode I use the signal strength field reported in radiotap and with 3.1 I am now getting a range of values. The more interesting ones are all the frames

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-04 Thread Daniel Smith
On 11/3/2011 7:10 PM, Mohammed Shafi wrote: Hi Daniel, On Fri, Nov 4, 2011 at 12:58 AM, Daniel Smithviscous.liq...@gmail.com wrote: I recently upgraded to compat-wireless-3.1-rc8 from compat-wireless-2.6.39-1-sn and have discovered an interesting behavior. When in monitor mode I use the

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-04 Thread Daniel Smith
On 11/3/2011 7:10 PM, Mohammed Shafi wrote: Hi Daniel, i tried with the AR9382 card in 3.1.0-wl with the attached debug patch, can you please give a sample log with the patch applied and putting the interface in monitor mode. did you print/check rs_rssi somewhere else? did you also try with

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-21 Thread Daniel Smith
Just wanted to follow-up to let everyone know the status and for anyone people that may stumble on this from a search. Also, I have a pcap file from one of the captures done with 2.6.39-1-sn if anyone wants to inspect the frames themselves, just email me directly if would like it. Some

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-22 Thread Daniel Smith
On 11/21/2011 3:09 PM, Adrian Chadd wrote: Hi, See if those valid or invalid RSSI's coincide with aggregate frames. ath9k_process_rssi() has a bit of logic which only considers frames that aren't part of continuing aggregate: if (rx_stats-rs_rssi != ATH9K_RSSI_BAD

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-23 Thread Daniel Smith
On 11/22/2011 6:05 PM, Adrian Chadd wrote: Ok. Does it trigger on aggregation frames w/ more, or not w/ more, or both? adrian So here is the observed patterns, * When the RSSI override is triggered, rs_isaggr and rs_moreaggr is set(true) * When rs_isaggr and rs_moreaggr is set,

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-23 Thread Daniel Smith
On 11/23/2011 1:06 AM, Mohammed Shafi wrote: Hi Daniel, sorry was busy with some other urgent work. a value upto 127 seems to be valid for Atheros chipsets, bad -128 http://en.wikipedia.org/wiki/Received_signal_strength_indication :) further the negative value should be caught by the check

Re: [ath9k-devel] Unrealistic RSSI values being reported

2011-11-23 Thread Daniel Smith
On Wed, Nov 23, 2011 at 9:24 AM, Felix Fietkau n...@openwrt.org wrote: On 2011-11-23 9:14 PM, Adrian Chadd wrote: Ok, cool. So I was right. :) Yes, the nice solution would be to expose those aggregate frame boundary delimiters to userland and then only marking those frames with valid RSSI ..

Re: [ath9k-devel] fcs, phy_err, crc_err info in userspace

2011-11-27 Thread Daniel Smith
On Sun, Nov 27, 2011 at 2:18 AM, abhinav narain abhinavnarai...@gmail.com wrote: hi, I am using ath9k device drriver. I wanted to get FCS value in userspace. It looks like radiotap header doesn't give it. How can I get it ? If you are capturing frames in monitor mode then the last 4 bytes of

[ath9k-devel] Selectively powering down chains

2011-12-09 Thread Daniel Smith
Greetings, I am in a situation where I need to do some serious power consumption (mainly to reduce heat). So I am trying to see how one might disable power to the RX/TX chains in the RF block. I did some digging in reg.h eeprom code and phy code to see if there might be any hints on how to do

Re: [ath9k-devel] Question about IEEE80211_TX_CTL_NO_ACK in ath_9k

2011-12-19 Thread Daniel Smith
2011/12/19 李刚 gang...@watchdata.com: Hi, Daniel, Thanks you ! Sorry, I didn't make it clear! My 9280 is an USB card, so the related code is htc_drv_*.c. No worries, I just was not aware of any USB devices with the 9280 in it and the ath9k_htc supported chips are the 9271 and 7010. I

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2012-01-10 Thread Daniel Smith
On Tue, Jan 10, 2012 at 3:45 PM, Hasan Rashid hras...@avionica.com wrote: Adrian, This is not an OS issue as I see similar results in Windows, it is definitely a low-level hardware issue. I am using a Portwell PQ7-C100XL carrier board with a Portwell PQ7-M105 Q7 module. The radio is

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2012-01-11 Thread Daniel Smith
On Tue, Jan 10, 2012 at 4:54 PM, Adrian Chadd adr...@freebsd.org wrote: On 10 January 2012 13:25, Daniel Smith viscous.liq...@gmail.com wrote: We actually had the exact same problem with a board we were prototyping on. Working with the manufacturer it turned out to be a feature of the AMI

Re: [ath9k-devel] limited interface of mac80211 to drivers

2012-02-22 Thread Daniel Smith
Hi Abhiav, On 2/21/2012 11:42 PM, abhinav narain wrote: hi, I am working on ath9k device driver. I want to pass some driver data to the userspace the most crucial point is transferring skbuff from ath_rx_tasklet() to ieee80211_rx() using struct ath_hw. But there is no way to pass any

Re: [ath9k-devel] Transmitter Independent of Receiver

2012-05-03 Thread Daniel Smith
to be a 3x3:3 dual band that you can split into a simultaneous 2x2:2 and 1x1:1. v/r Daniel Smith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Support for QCA9890 chipset?

2013-03-04 Thread Daniel Smith
On Thu, Feb 28, 2013 at 12:47 PM, Adrian Chadd adr...@freebsd.org wrote: The MAC looks a lot like the 11n series chips from a programming perspective but with some key differences (eg keycache handling, some of the offload processing.) I'm sure the hardware could be coaxed into doing the

Re: [ath9k-devel] Sparklan WPEA-121N AR9382 168c:abcd

2013-04-01 Thread Daniel Smith
On Wed, Mar 27, 2013 at 7:04 PM, Peter Stuge pe...@stuge.se wrote: Adrian Chadd wrote: the quick fix is to re-reset the PCI slot or the PCI bus. Read the quote from Daniel's email again. It explains how that caused the problem. In his bad case there was a reset at time 1 and another reset