• Eyal Shapira's avatar
    wl12xx: adaptive sched scan dwell times · 6f407e5b
    Eyal Shapira authored
    Set the dwell times for sched scan according to the number
    of probe requests which are going to be transmitted.
    This should fix the too short dwell time problem which
    prevented some of the probe requests from being transmitted
    in cases of high number of SSIDs (10+) to be actively sched scanned.
    However, in the common case of having up to 1-2 SSIDs that
    require active scan, the dwell time would be kept to a minimum
    which should conserve power. This is important as sched scan
    also runs periodically while the host is suspended and there's
    great importance to keep power consumption as low as possible.
    Signed-off-by: default avatarEyal Shapira <eyal@wizery.com>
    [fixed a couple of new strict checkpatch warnings]
    Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
    6f407e5b
main.c 143 KB