Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 436
  • Last Modified:

802.11 power mode question

Hi all,
Every body can explain me or redirect for information about power mode behavior?
Specifically, what happens between the NIC and Access Point(AP) when I change the power mode to Ndis802_11PowerModeMAX_PSP.

Really, I am want to notify AP that the NIC is sleeping, so the AP will not send nothig to NIC before it notified that NIC is wake. But I need that NIC is not sleeping this time.

Also, any information about which hardware independent "commands" I can ask the NIC to do that is not NDIS requests is interesting also.
0
Aviram_Sobol
Asked:
Aviram_Sobol
  • 2
  • 2
1 Solution
 
opanzaCommented:
Hi,

"Ndis802_11PowerModeMAX_PSP specifies the maximum power saving for the 802.11 NIC radio. OID_802_11_POWER_MODE requests that the miniport driver set the power mode of the 802.11 NIC to this value."

Don't understand the question. Could you be a bit more precise?
0
 
Aviram_SobolAuthor Commented:
Thanks, it is not what I need yet, but I will try to explain myself again.
I try to find an information about behavior between STAtion to Access Point.
After you assign Ndis802_11PowerModeMAX_PSP to NIC, what happen after such assignation?
The STA notify AP immidiatelly after assignation about this mode and from this point AP send packets to STA only on demand?
Or the NIC go sleep in some period and notify AP each time about going to sleep?
0
 
opanzaCommented:
Ok. Here is a link you may find of interest. It refers to an 802.11g rt2570 USB driver source code:

http://dev.gentoo.org/~steev/files/patches/rt2570-cvs-update.patch

After reading through the code I found a possible answer for your question. In the PeerBeacon function (executed when a beacon is received from peer) it looks like it performs a number of steps to act when the Infrastructure mode is on and then PowerMode flag is set to PWR_SAVE. This is what they do:

1. AP has backlogged unicast-to-me frame, stay AWAKE, send PSPOLL
2. AP has backlogged broadcast/multicast frame and we want those frames, stay AWAKE
3. we have outgoing frames in TxRing or PrioRing, better stay AWAKE
4. Psm change to PWR_SAVE, but AP not been informed yet, we better stay AWAKE
5. otherwise, put PHY back to sleep to save battery.

It seems to keep connected to the AP until all outstanding frames has been sent out and the AP is informed that we go to sleep. Then it turns the power down to save battery.
0
 
Aviram_SobolAuthor Commented:
Thanks, opanza.

Moderators\Administrators, please don't close this topic yet, I will back later to this question. (This time I haven't time to continue deal with it)
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now