]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: PS processing for every Beacon with our AID in TIM
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 19 May 2009 14:01:43 +0000 (17:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:33 +0000 (14:46 -0400)
commit8c74982b5adf55e544672677cde806018b10a78c
tree48f2d37cb7b47d83a1d45c6e9e258d7c8b26800a
parentfd3618b7bc71f9714d7539f0e4662dad0d877c23
mac80211: PS processing for every Beacon with our AID in TIM

If the AP includes our AID in the TIM IE, we need to process the
Beacon frame as far as PS is concerned (send PS-Poll or nullfunc data
with PM=0). The previous code skipped this in cases where the CRC
value did not change and it would not change if the AP continues
including our AID in the TIM..

There is no need to count the crc32 value for directed_tim with this
change, so we can remove that part. In order not to change the order
of operations (i.e., update WMM parameters prior to sending PS-Poll),
the CRC match is checked twice as only after the PS processing step,
the rest of the function is skipped if nothing changed in the Beacon.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c