Lines Matching defs:sp
3267 struct ieee80211_scanparams sp;
3285 memset(&sp, 0, sizeof(sp));
3292 sp.capinfo |= IEEE80211_CAPINFO_PRIVACY;
3293 sp.bintval = wb->nwbx_config.nc_beaconperiod;
3296 sp.capinfo |= IEEE80211_CAPINFO_IBSS;
3299 sp.capinfo |= IEEE80211_CAPINFO_ESS;
3302 sp.rates = &rates[0];
3311 sp.ssid = (uint8_t *)&ssid[0];
3312 memcpy(sp.ssid + 2, &wb->nwbx_ssid.ns_ssid,
3314 sp.ssid[1] = wb->nwbx_ssid.ns_ssidlen;
3318 sp.chan = sp.bchan = ieee80211_mhz2ieee(freq, chanflag);
3330 sp.tstamp = frm; frm += 8;
3331 sp.bintval = le16toh(*(uint16_t *)frm); frm += 2;
3332 sp.capinfo = le16toh(*(uint16_t *)frm); frm += 2;
3333 sp.ies = frm;
3334 sp.ies_len = efrm - frm;
3338 ether_sprintf(wb->nwbx_macaddr), freq, sp.bchan, chanflag,
3340 ieee80211_add_scan(vap, ic->ic_curchan, &sp, &wh, 0, rssi, noise);