From: BC Date: Fri, 21 Jan 2011 15:17:17 -0500 (EST) Subject: [ath9k-devel] disable dynamic power save in AR9280 Message-ID: <8CD87BF5595BB26-FA8-1327@webmail-d045.sysops.aol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org I am working with AR9280 wireless cards and I cannot seem to disable the dynamic power save poll. I have tried "iw wlan1 power_save off" and I also tried "iwconfig wlan1 power off", and when I run iwconfig it shows "Power Management: off" but still during my experiments I found that every ~120 seconds for a duration of about ~15 seconds the stations enter power save mode which severely effects the throughput and jitter. Is there a way to disable this dynamic power save? I cannot move on with my experiments until I solve this issue, any help is greatly appreciated. Note that I am familiar with hacking the driver so maybe someone can point me in the right direction on where to change the code (unless there is an easier solution?). I am currently running compat-wireless 2.6.37-4-sn and I also had this problem with compat-wireless 2.6.35-1. Here is a little more information on how I am set-up: I am using Iperf to generate UDP traffic between two stations. I send for a duration of 300 sec and I can see in my plots of throughput and jitter that they are very smooth except every ~120 sec for a duration of about ~15 seconds the jitter and throughput graphs go "crazy" (the jitter is increased and more varied and throughput becomes random). I looked at my wireshark packet sniffer output and noticed power save polls and Null packets being sent during these times. Here is my system info: SparkLAN WPEA-111N miniPCIx a,b,g,n AR9280 ~/Desktop$ uname -a Linux mike-netbook 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux ~/Desktop$ sudo lspci -vvv 05:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01) Subsystem: Lite-On Communications Inc Device 6512 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-