* [ath9k-devel] disable dynamic power save in AR9280
@ 2011-01-21 20:17 BC
2011-01-22 11:33 ` Mohammed Shafi
0 siblings, 1 reply; 5+ messages in thread
From: BC @ 2011-01-21 20:17 UTC (permalink / raw)
To: ath9k-devel
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- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency L0 <512ns, L1 <64us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000000
Kernel driver in use: ath9k
Kernel modules: ath9k
~/Desktop$ sudo lshw
*-network
description: Wireless interface
product: AR928X Wireless Network Adapter (PCI-Express)
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci at 0000:05:00.0
logical name: wlan1
version: 01
serial: 00:0e:8e:28:01:ed
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless logical
configuration: broadcast=yes driver=ath9k driverversion=2.6.32-27-generic firmware=N/A ip=149.161.112.136 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:16 memory:f0100000-f010ffff
Brandon M. Combs
Brmcombs@iusb.edu
cs.iusb.edu/~bcombs
(574)202-0972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110121/695083f3/attachment-0001.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] disable dynamic power save in AR9280
2011-01-21 20:17 [ath9k-devel] disable dynamic power save in AR9280 BC
@ 2011-01-22 11:33 ` Mohammed Shafi
2011-01-28 21:33 ` BC
0 siblings, 1 reply; 5+ messages in thread
From: Mohammed Shafi @ 2011-01-22 11:33 UTC (permalink / raw)
To: ath9k-devel
On Sat, Jan 22, 2011 at 1:47 AM, BC <combsiu@aol.com> wrote:
> 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?).
Hi quick guess please tell if it works or not when you test it.Please
comment out this flag
IEEE80211_HW_PS_NULLFUNC_STACK
and in addition you can disable this flag too IEEE80211_HW_SUPPORTS_PS
In init.c
void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
{
struct ath_common *common = ath9k_hw_common(sc->sc_ah);
hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
IEEE80211_HW_SIGNAL_DBM |
IEEE80211_HW_SUPPORTS_PS |
// IEEE80211_HW_PS_NULLFUNC_STACK | Comment this out ?
IEEE80211_HW_SPECTRUM_MGMT |
IEEE80211_HW_REPORTS_TX_ACK_STATUS;
> 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- <TAbort-
> <MAbort- >SERR- <PERR- INTx-
> ?? ?Latency: 0, Cache Line Size: 32 bytes
> ?? ?Interrupt: pin A routed to IRQ 16
> ?? ?Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
> ?? ?Capabilities: [40] Power Management version 2
> ?? ??? ?Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA
> PME(D0+,D1+,D2-,D3hot+,D3cold-)
> ?? ??? ?Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> ?? ?Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
> Enable-
> ?? ??? ?Address: 00000000? Data: 0000
> ?? ?Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
> ?? ??? ?DevCap:?? ?MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1
> <64us
> ?? ??? ??? ?ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> ?? ??? ?DevCtl:?? ?Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
> ?? ??? ??? ?RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
> ?? ??? ??? ?MaxPayload 128 bytes, MaxReadReq 512 bytes
> ?? ??? ?DevSta:?? ?CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr-
> TransPend-
> ?? ??? ?LnkCap:?? ?Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency
> L0 <512ns, L1 <64us
> ?? ??? ??? ?ClockPM- Suprise- LLActRep- BwNot-
> ?? ??? ?LnkCtl:?? ?ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain-
> CommClk+
> ?? ??? ??? ?ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> ?? ??? ?LnkSta:?? ?Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
> BWMgmt- ABWMgmt-
> ?? ?Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
> ?? ??? ?Vector table: BAR=0 offset=00000000
> ?? ??? ?PBA: BAR=0 offset=00000000
> ?? ?Kernel driver in use: ath9k
> ?? ?Kernel modules: ath9k
> ~/Desktop$ sudo lshw
> ?? ?*-network
> ??????????????? description: Wireless interface
> ??????????????? product: AR928X Wireless Network Adapter (PCI-Express)
> ??????????????? vendor: Atheros Communications Inc.
> ??????????????? physical id: 0
> ??????????????? bus info: pci at 0000:05:00.0
> ??????????????? logical name: wlan1
> ??????????????? version: 01
> ??????????????? serial: 00:0e:8e:28:01:ed
> ??????????????? width: 64 bits
> ??????????????? clock: 33MHz
> ??????????????? capabilities: pm msi pciexpress msix bus_master cap_list
> ethernet physical wireless logical
> ??????????????? configuration: broadcast=yes driver=ath9k
> driverversion=2.6.32-27-generic firmware=N/A ip=149.161.112.136 latency=0
> link=yes multicast=yes wireless=IEEE 802.11abgn
> ??????????????? resources: irq:16 memory:f0100000-f010ffff
> Brandon M. Combs
> Brmcombs at iusb.edu
> cs.iusb.edu/~bcombs
> (574)202-0972
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] disable dynamic power save in AR9280
2011-01-22 11:33 ` Mohammed Shafi
@ 2011-01-28 21:33 ` BC
2011-01-29 9:00 ` Mohammed Shafi
0 siblings, 1 reply; 5+ messages in thread
From: BC @ 2011-01-28 21:33 UTC (permalink / raw)
To: ath9k-devel
Thanks for your replies Mohammed and Vivek.
I found out that it was in fact gnome NetworkManager that was giving me the power save issue. (See Vivek's comment below.)
I installed wicd and uninstalled gnome Network Manager and the issue stopped occurring.
Note: I had to run 'iwconfig wlan1 power off' before I could connect to the AP otherwise before that I kept getting 'could not obtain IP address' errors and I could not associate. But all is now working great. Thanks again for your replies.
Aside: how do I automatically add the ">" to show what I am replying to for this mailing list?
Brandon Combs
>BC <combsiu@aol.com> wrote:
> 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.
Power save is definitely disabled using the above commands. It looks
like you are using Network Manager and a scan is triggered
periodically for which mac80211 intimates a "fake sleep" to the AP
before moving to other channels for scanning.
To fix You need to prevent scanning. You can connect using iwconfig or iw or
wpa_supplicant which just associate to the AP and these do not
initiate scan automatically.
Vivek.
-----Original Message-----
From: Mohammed Shafi <shafi.ath9k@gmail.com>
To: BC <combsiu@aol.com>
Cc: ath9k-devel <ath9k-devel@lists.ath9k.org>
Sent: Sat, Jan 22, 2011 1:33 am
Subject: Re: [ath9k-devel] disable dynamic power save in AR9280
On Sat, Jan 22, 2011 at 1:47 AM, BC <combsiu@aol.com> wrote:
> 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?).
Hi quick guess please tell if it works or not when you test it.Please
comment out this flag
IEEE80211_HW_PS_NULLFUNC_STACK
and in addition you can disable this flag too IEEE80211_HW_SUPPORTS_PS
In init.c
void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
{
struct ath_common *common = ath9k_hw_common(sc->sc_ah);
hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
IEEE80211_HW_SIGNAL_DBM |
IEEE80211_HW_SUPPORTS_PS |
// IEEE80211_HW_PS_NULLFUNC_STACK | Comment this out ?
IEEE80211_HW_SPECTRUM_MGMT |
IEEE80211_HW_REPORTS_TX_ACK_STATUS;
> 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- <TAbort-
> <MAbort- >SERR- <PERR- INTx-
> Latency: 0, Cache Line Size: 32 bytes
> Interrupt: pin A routed to IRQ 16
> Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
> Capabilities: [40] Power Management version 2
> Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA
> PME(D0+,D1+,D2-,D3hot+,D3cold-)
> Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
> Enable-
> Address: 00000000 Data: 0000
> Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1
> <64us
> ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
> DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
> Unsupported-
> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
> MaxPayload 128 bytes, MaxReadReq 512 bytes
> DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr-
> TransPend-
> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency
> L0 <512ns, L1 <64us
> ClockPM- Suprise- LLActRep- BwNot-
> LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain-
> CommClk+
> ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
> BWMgmt- ABWMgmt-
> Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
> Vector table: BAR=0 offset=00000000
> PBA: BAR=0 offset=00000000
> Kernel driver in use: ath9k
> Kernel modules: ath9k
> ~/Desktop$ sudo lshw
> *-network
> description: Wireless interface
> product: AR928X Wireless Network Adapter (PCI-Express)
> vendor: Atheros Communications Inc.
> physical id: 0
> bus info: pci at 0000:05:00.0
> logical name: wlan1
> version: 01
> serial: 00:0e:8e:28:01:ed
> width: 64 bits
> clock: 33MHz
> capabilities: pm msi pciexpress msix bus_master cap_list
> ethernet physical wireless logical
> configuration: broadcast=yes driver=ath9k
> driverversion=2.6.32-27-generic firmware=N/A ip=149.161.112.136 latency=0
> link=yes multicast=yes wireless=IEEE 802.11abgn
> resources: irq:16 memory:f0100000-f010ffff
> Brandon M. Combs
> Brmcombs at iusb.edu
> cs.iusb.edu/~bcombs
> (574)202-0972
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20110128/62c74c77/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] disable dynamic power save in AR9280
2011-01-28 21:33 ` BC
@ 2011-01-29 9:00 ` Mohammed Shafi
0 siblings, 0 replies; 5+ messages in thread
From: Mohammed Shafi @ 2011-01-29 9:00 UTC (permalink / raw)
To: ath9k-devel
On Sat, Jan 29, 2011 at 3:03 AM, BC <combsiu@aol.com> wrote:
> Thanks for your replies Mohammed and Vivek.
>
> I found out that it was in fact gnome NetworkManager that was giving me the
> power save issue. (See Vivek's comment below.)
>
Yes sure thanks.
> I installed wicd and uninstalled gnome Network Manager and the issue
> stopped?occurring.
>
> Note: I had to run 'iwconfig wlan1 power off' before I could connect to the
> AP otherwise before that I kept getting 'could not obtain IP address' errors
> and I could not associate. But all is now working great. Thanks again for
> your replies.
>
> Aside: how do I automatically add the ">" to show what I am replying to for
> this mailing list?
You have to choose the plain text format in Rich formatting
option(This for gmail)
>
> Brandon Combs
>
>>BC <combsiu@aol.com> wrote:
>> 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.
>
> Power save is definitely disabled using the above commands. It looks
> like you are using Network Manager and a scan is triggered
> periodically for which mac80211 intimates a "fake sleep" to the AP
> before moving to other channels for scanning.
>
> To fix You need to prevent scanning. You can connect using ?iwconfig or iw
> or
> wpa_supplicant which just associate to the AP and these do not
> initiate scan automatically.
>
> Vivek.
>
> -----Original Message-----
> From: Mohammed Shafi <shafi.ath9k@gmail.com>
> To: BC <combsiu@aol.com>
> Cc: ath9k-devel <ath9k-devel@lists.ath9k.org>
> Sent: Sat, Jan 22, 2011 1:33 am
> Subject: Re: [ath9k-devel] disable dynamic power save in AR9280
>
> On Sat, Jan 22, 2011 at 1:47 AM, BC <combsiu@aol.com> wrote:
>> 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?).
>
> Hi quick guess please tell if it works or not when you test it.Please
> comment out this flag
> ? IEEE80211_HW_PS_NULLFUNC_STACK
> and in addition you can disable this flag too IEEE80211_HW_SUPPORTS_PS
>
>
> In init.c
> void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
> {
> ? ? ? ? struct ath_common *common = ath9k_hw_common(sc->sc_ah);
>
> ? ? ? ? hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
> ? ? ? ? ? ? ? ? IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING |
> ? ? ? ? ? ? ? ? IEEE80211_HW_SIGNAL_DBM |
> ? ? ? ? ? ? ? ? IEEE80211_HW_SUPPORTS_PS |
> // ? ? ? ? ? ? ? ?IEEE80211_HW_PS_NULLFUNC_STACK | Comment this out ?
> ? ? ? ? ? ? ? ? IEEE80211_HW_SPECTRUM_MGMT |
> ? ? ? ? ? ? ? ? IEEE80211_HW_REPORTS_TX_ACK_STATUS;
>
>
>
>
>> 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-
>> <TAbort-
>> <MAbort- >SERR- <PERR- INTx-
>> ?? ?Latency: 0, Cache Line Size: 32 bytes
>> ?? ?Interrupt: pin A routed to IRQ 16
>> ?? ?Region 0: Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
>> ?? ?Capabilities: [40] Power Management version 2
>> ?? ??? ?Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA
>> PME(D0+,D1+,D2-,D3hot+,D3cold-)
>> ?? ??? ?Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>> ?? ?Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
>> Queue=0/0
>> Enable-
>> ?? ??? ?Address: 00000000? Data: 0000
>> ?? ?Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
>> ?? ??? ?DevCap:?? ?MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns,
>> L1
>> <64us
>> ?? ??? ??? ?ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>> ?? ??? ?DevCtl:?? ?Report errors: Correctable- Non-Fatal- Fatal-
>> Unsupported-
>> ?? ??? ??? ?RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
>> ?? ??? ??? ?MaxPayload 128 bytes, MaxReadReq 512 bytes
>> ?? ??? ?DevSta:?? ?CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr-
>> TransPend-
>> ?? ??? ?LnkCap:?? ?Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency
>> L0 <512ns, L1 <64us
>> ?? ??? ??? ?ClockPM- Suprise- LLActRep- BwNot-
>> ?? ??? ?LnkCtl:?? ?ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain-
>> CommClk+
>> ?? ??? ??? ?ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>> ?? ??? ?LnkSta:?? ?Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
>> DLActive-
>> BWMgmt- ABWMgmt-
>> ?? ?Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
>> ?? ??? ?Vector table: BAR=0 offset=00000000
>> ?? ??? ?PBA: BAR=0 offset=00000000
>> ?? ?Kernel driver in use: ath9k
>> ?? ?Kernel modules: ath9k
>> ~/Desktop$ sudo lshw
>> ?? ?*-network
>> ??????????????? description: Wireless interface
>> ??????????????? product: AR928X Wireless Network Adapter (PCI-Express)
>> ??????????????? vendor: Atheros Communications Inc.
>> ??????????????? physical id: 0
>> ??????????????? bus info: pci at 0000:05:00.0
>> ??????????????? logical name: wlan1
>> ??????????????? version: 01
>> ??????????????? serial: 00:0e:8e:28:01:ed
>> ??????????????? width: 64 bits
>> ??????????????? clock: 33MHz
>> ??????????????? capabilities: pm msi pciexpress msix bus_master cap_list
>> ethernet physical wireless logical
>> ??????????????? configuration: broadcast=yes driver=ath9k
>> driverversion=2.6.32-27-generic firmware=N/A ip=149.161.112.136 latency=0
>> link=yes multicast=yes wireless=IEEE 802.11abgn
>> ??????????????? resources: irq:16 memory:f0100000-f010ffff
>> Brandon M. Combs
>> Brmcombs at iusb.edu
>> cs.iusb.edu/~bcombs
>> (574)202-0972
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>>
>>
>
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ath9k-devel] disable dynamic power save in AR9280
[not found] <4D3D1038.9000002@atheros.com>
@ 2011-01-24 5:46 ` Vivek Natarajan
0 siblings, 0 replies; 5+ messages in thread
From: Vivek Natarajan @ 2011-01-24 5:46 UTC (permalink / raw)
To: ath9k-devel
BC <combsiu@aol.com> wrote:
> 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.
Power save is definitely disabled using the above commands. It looks
like you are using Network Manager and a scan is triggered
periodically for which mac80211 intimates a fake sleep to the AP
before moving to other channels for scanning.
Vivek.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-01-29 9:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-21 20:17 [ath9k-devel] disable dynamic power save in AR9280 BC
2011-01-22 11:33 ` Mohammed Shafi
2011-01-28 21:33 ` BC
2011-01-29 9:00 ` Mohammed Shafi
[not found] <4D3D1038.9000002@atheros.com>
2011-01-24 5:46 ` Vivek Natarajan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.