Lines Matching defs:scan
594 const struct ieee80211_scanparams *scan)
600 * If we have no SSID and no scan SSID, return OK.
602 if (vap->iv_des_nssid == 0 && scan->ssid == NULL)
606 * If we have one of (SSID, scan SSID) then return error.
608 if (!! (vap->iv_des_nssid == 0) != !! (scan->ssid == NULL))
612 * Double-check - we need scan SSID.
614 if (scan->ssid == NULL)
618 * Check if the scan SSID matches the SSID list for the VAP.
623 if (vap->iv_des_ssid[i].len != scan->ssid[1])
626 /* Note: SSID in the scan entry is the IE format */
627 if (memcmp(vap->iv_des_ssid[i].ssid, scan->ssid + 2,
852 * Expand scan state into node's format.