Lines Matching refs:sp

240 	const struct ieee80211_scanparams *sp,
277 if (sp->ssid[1] != 0 &&
279 memcpy(ise->se_ssid, sp->ssid, 2+sp->ssid[1]);
280 KASSERT(sp->rates[1] <= IEEE80211_RATE_MAXSIZE,
281 ("rate set too large: %u", sp->rates[1]));
282 memcpy(ise->se_rates, sp->rates, 2+sp->rates[1]);
283 if (sp->xrates != NULL) {
285 KASSERT(sp->xrates[1] <= IEEE80211_RATE_MAXSIZE,
286 ("xrate set too large: %u", sp->xrates[1]));
287 memcpy(ise->se_xrates, sp->xrates, 2+sp->xrates[1]);
291 if ((sp->status & IEEE80211_BPARSE_OFFCHAN) == 0) {
302 memcpy(ise->se_tstamp.data, sp->tstamp, sizeof(ise->se_tstamp));
303 ise->se_intval = sp->bintval;
304 ise->se_capinfo = sp->capinfo;
306 if (sp->meshid != NULL && sp->meshid[1] != 0)
307 memcpy(ise->se_meshid, sp->meshid, 2+sp->meshid[1]);
314 if (sp->status & IEEE80211_BPARSE_OFFCHAN) {
318 * sp->chan has this value because it's used to calculate
321 c = ieee80211_find_channel_byieee(ic, sp->chan,
333 if (IEEE80211_IS_CHAN_VHT(ise->se_chan) && sp->vhtcap == NULL) {
346 if (IEEE80211_IS_CHAN_HT(ise->se_chan) && sp->htcap == NULL) {
358 ise->se_fhdwell = sp->fhdwell;
359 ise->se_fhindex = sp->fhindex;
360 ise->se_erp = sp->erp;
361 ise->se_timoff = sp->timoff;
362 if (sp->tim != NULL) {
364 (const struct ieee80211_tim_ie *) sp->tim;
367 if (sp->country != NULL) {
369 (const struct ieee80211_country_ie *) sp->country;
394 (void) ieee80211_ies_init(&ise->se_ies, sp->ies, sp->ies_len);
407 KASSERT(sizeof(sp->bchan) == 1, ("bchan size"));
408 if (rssi > st->st_maxrssi[sp->bchan])
409 st->st_maxrssi[sp->bchan] = rssi;