Search Linux Wireless

Re: Fwd: p54: testing AP mode: cannot switch to master mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Johannes and Holger,

indeed I overlooked the AID bit in the relevant traffic sequences.
Knowing now what to look for, I can follow what is going on and find
it ok - except for the huge delay in between http request and reply.
Typically, the http request is sent, the iPod goes to sleep, and
several seconds pass (with numerous beacons without any AID bit set),
before we see one or two "traffic for you" beacons, then the iPod
wakes up and gets the reply. Most of the time my app already
timeouted.

I have checked that my app indeed completes its TCP reply in almost no
time. Mysteriously, the data takes several seconds from boost::asio
write completion until it appears on the air. That's the problem.

I will go back to square one and the fact that I see different
behaviour in the iPod and my other clients. I will work out the
differences. Will be back in case I come up with more wireless
questions.

Thank you for your help! Great work!
  Stefan.


2008/11/21 Holger Schurig <hs4233@xxxxxxxxxxxxxxxxxxxx>:
> On Thursday 20 November 2008 20:21:44 Stefan Steuerwald wrote:
>> The iPod alternates Null Functions with the PWR MGT bit on and
>> off - whatever that means. Is it ignoring the AP and snoring
>> away?
>
> This is because the Ipod WLAN card all the time takes a nap of
> sleep. Whenever it goes to sleep, it sets the PWR_MGT bit. When
> it wakes up, it sends again a null packet with the bit off. So
> the AP should always know if the station sleeps or not.
>
> If the Ipod has data for the Ipod while it sleeps, it simply
> wakes up and sends the data, with the PWR_MGT bit off. Maybe it
> also sends a NULL packet iwth the PWR_MGT bit off in advance.
>
> If the AP has data for the Ipod while the Ipod sleeps, it sets
> the bit that corresponds to the AID of the Ipod in its TIM map.
> This is sent in the beacons of the AP. Even when a WLAN station
> sleeps, it knows when a beacon get's broadcasted and wakes up
> just in order to receive this beacon and check for it's AID bit.
> If it is set, it wakes up fully, notifies the AP about this and
> the AP sends the data packet to the now fully awoke WLAN
> station.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux