Home | History | Annotate | Download | only in ap

Lines Matching refs:conf

35 	if (hapd->conf->assoc_sa_query_max_timeout > tu)
36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu;
39 if (timeout < hapd->conf->assoc_sa_query_max_timeout)
179 if (hapd->conf->proxy_arp)
183 if (hapd->conf->wnm_sleep_mode)
185 if (hapd->conf->bss_transition)
192 if (hapd->conf->time_advertisement == 2)
194 if (hapd->conf->interworking)
198 if (hapd->conf->qos_map_set_len)
200 if (hapd->conf->tdls & TDLS_PROHIBIT)
202 if (hapd->conf->tdls & TDLS_PROHIBIT_CHAN_SWITCH) {
209 if (hapd->conf->hs20)
213 if (hapd->conf->mbo_enabled)
218 if (hapd->conf->ssid.utf8_ssid)
224 if (hapd->conf->ftm_responder)
226 if (hapd->conf->ftm_initiator)
230 if ((hapd->conf->wpa & WPA_PROTO_RSN) &&
231 wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt))
244 if (hapd->conf->tdls & (TDLS_PROHIBIT | TDLS_PROHIBIT_CHAN_SWITCH))
246 if (len < 4 && hapd->conf->interworking)
248 if (len < 3 && hapd->conf->wnm_sleep_mode)
252 if (len < 7 && hapd->conf->ssid.utf8_ssid)
255 (hapd->conf->ftm_initiator || hapd->conf->ftm_responder))
262 if (hapd->conf->hs20 && len < 6)
266 if (hapd->conf->mbo_enabled && len < 6)
270 if ((!(hapd->conf->wpa & WPA_PROTO_RSN) ||
271 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) && len < 10)
304 u8 len = hapd->conf->qos_map_set_len;
311 os_memcpy(pos, hapd->conf->qos_map_set, len);
324 if (!hapd->conf->interworking)
330 *pos = hapd->conf->access_network_type;
331 if (hapd->conf->internet)
333 if (hapd->conf->asra)
335 if (hapd->conf->esr)
337 if (hapd->conf->uesa)
341 if (hapd->conf->venue_info_set) {
342 *pos++ = hapd->conf->venue_group;
343 *pos++ = hapd->conf->venue_type;
346 if (!is_zero_ether_addr(hapd->conf->hessid)) {
347 os_memcpy(pos, hapd->conf->hessid, ETH_ALEN);
364 if (!hapd->conf->interworking)
384 if (!hapd->conf->interworking ||
385 hapd->conf->roaming_consortium == NULL ||
386 hapd->conf->roaming_consortium_count == 0)
393 if (hapd->conf->roaming_consortium_count > 3 + 255)
395 else if (hapd->conf->roaming_consortium_count > 3)
396 *pos++ = hapd->conf->roaming_consortium_count - 3;
401 *pos = hapd->conf->roaming_consortium[0].len;
402 if (hapd->conf->roaming_consortium_count > 1)
403 *pos |= hapd->conf->roaming_consortium[1].len << 4;
406 if (hapd->conf->roaming_consortium_count > 3)
409 count = hapd->conf->roaming_consortium_count;
412 os_memcpy(pos, hapd->conf->roaming_consortium[i].oi,
413 hapd->conf->roaming_consortium[i].len);
414 pos += hapd->conf->roaming_consortium[i].len;
426 if (hapd->conf->time_advertisement != 2)
448 if (hapd->conf->time_advertisement != 2)
451 len = os_strlen(hapd->conf->time_zone);
455 os_memcpy(eid, hapd->conf->time_zone, len);
469 if (hapd->conf->time_advertisement != 2)
520 if (hapd->conf->ap_max_inactivity > 0) {
524 val = hapd->conf->ap_max_inactivity;
550 if (!hapd->conf->mbo_enabled && !hapd->enable_oce)
553 if (hapd->conf->mbo_enabled) {
560 if (hapd->conf->mbo_enabled && hapd->mbo_assoc_disallow) {
589 if (!hapd->conf->mbo_enabled && !hapd->enable_oce)
597 if (hapd->conf->mbo_enabled)
636 if (!(hapd->conf->wpa & WPA_PROTO_RSN) ||
637 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt))
640 realms = dl_list_len(&hapd->conf->fils_realms);
647 if (hapd->conf->erp_domain) {
652 if (hapd->conf->fils_cache_id_set)
654 if (hessid && !is_zero_ether_addr(hapd->conf->hessid))
658 if (hapd->conf->fils_dh_group) {
666 if (hapd->conf->fils_cache_id_set) {
667 conf->fils_cache_id, FILS_CACHE_ID_LEN);
670 if (hessid && !is_zero_ether_addr(hapd->conf->hessid)) {
671 os_memcpy(pos, hapd->conf->hessid, ETH_ALEN);
675 dl_list_for_each(realm, &hapd->conf->fils_realms, struct fils_realm,