• Johannes Berg's avatar
    mac80211: improve IBSS scanning · be4a4b6a
    Johannes Berg authored
    When IBSS is fixed to a frequency, it can still
    scan to try to find the right BSSID. This makes
    sense if the BSSID isn't also fixed, but it need
    not scan all channels -- just one is sufficient.
    Make it do that by moving the scan setup code to
    ieee80211_request_internal_scan() and include
    a channel variable setting.
    Note that this can be further improved to start
    the IBSS right away if both frequency and BSSID
    are fixed.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
ibss.c 26.3 KB