Skip to content
  • Jouni Malinen's avatar
    mac80211: PS processing for every Beacon with our AID in TIM · 30196673
    Jouni Malinen authored
    
    
    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: default avatarJouni Malinen <jouni.malinen@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    30196673