Lines Matching refs:conf
152 if (hapd->conf->hs20_oper_friendly_name)
154 if (hapd->conf->hs20_wan_metrics)
156 if (hapd->conf->hs20_connection_capability)
158 if (hapd->conf->nai_realm_data)
160 if (hapd->conf->hs20_operating_class)
162 if (hapd->conf->hs20_osu_providers_count)
164 if (hapd->conf->hs20_icons_count)
176 dl_list_for_each(elem, &hapd->conf->anqp_elem, struct anqp_element,
229 if (hapd->conf->venue_name || get_anqp_elem(hapd, ANQP_VENUE_NAME))
233 if (hapd->conf->network_auth_type ||
236 if (hapd->conf->roaming_consortium ||
239 if (hapd->conf->ipaddr_type_configured ||
242 if (hapd->conf->nai_realm_data ||
245 if (hapd->conf->anqp_3gpp_cell_net ||
254 if (hapd->conf->domain_name || get_anqp_elem(hapd, ANQP_DOMAIN_NAME))
284 if (hapd->conf->venue_name) {
288 wpabuf_put_u8(buf, hapd->conf->venue_group);
289 wpabuf_put_u8(buf, hapd->conf->venue_type);
290 for (i = 0; i < hapd->conf->venue_name_count; i++) {
292 vn = &hapd->conf->venue_name[i];
308 if (hapd->conf->network_auth_type) {
310 wpabuf_put_le16(buf, hapd->conf->network_auth_type_len);
311 wpabuf_put_data(buf, hapd->conf->network_auth_type,
312 hapd->conf->network_auth_type_len);
327 for (i = 0; i < hapd->conf->roaming_consortium_count; i++) {
329 rc = &hapd->conf->roaming_consortium[i];
343 if (hapd->conf->ipaddr_type_configured) {
346 wpabuf_put_u8(buf, hapd->conf->ipaddr_type_availability);
428 for (j = 0; j < hapd->conf->nai_realm_count &&
431 realm = &hapd->conf->nai_realm_data[j];
475 realm = &hapd->conf->nai_realm_data[matches[i].realm_data_idx];
491 if (nai_realm && hapd->conf->nai_realm_data) {
495 wpabuf_put_le16(buf, hapd->conf->nai_realm_count);
496 for (i = 0; i < hapd->conf->nai_realm_count; i++) {
500 realm = &hapd->conf->nai_realm_data[i];
514 } else if (nai_home_realm && hapd->conf->nai_realm_data && home_realm) {
527 if (hapd->conf->anqp_3gpp_cell_net) {
530 hapd->conf->anqp_3gpp_cell_net_len);
531 wpabuf_put_data(buf, hapd->conf->anqp_3gpp_cell_net,
532 hapd->conf->anqp_3gpp_cell_net_len);
542 if (hapd->conf->domain_name) {
544 wpabuf_put_le16(buf, hapd->conf->domain_name_len);
545 wpabuf_put_data(buf, hapd->conf->domain_name,
546 hapd->conf->domain_name_len);
556 if (hapd->conf->hs20_oper_friendly_name) {
564 for (i = 0; i < hapd->conf->hs20_oper_friendly_name_count; i++)
567 vn = &hapd->conf->hs20_oper_friendly_name[i];
580 if (hapd->conf->hs20_wan_metrics) {
586 wpabuf_put_data(buf, hapd->conf->hs20_wan_metrics, 13);
595 if (hapd->conf->hs20_connection_capability) {
601 wpabuf_put_data(buf, hapd->conf->hs20_connection_capability,
602 hapd->conf->hs20_connection_capability_len);
611 if (hapd->conf->hs20_operating_class) {
617 wpabuf_put_data(buf, hapd->conf->hs20_operating_class,
618 hapd->conf->hs20_operating_class_len);
704 if (hapd->conf->hs20_osu_providers_count) {
713 wpabuf_put_u8(buf, hapd->conf->osu_ssid_len);
714 wpabuf_put_data(buf, hapd->conf->osu_ssid,
715 hapd->conf->osu_ssid_len);
718 wpabuf_put_u8(buf, hapd->conf->hs20_osu_providers_count);
720 for (i = 0; i < hapd->conf->hs20_osu_providers_count; i++) {
722 buf, hapd->conf,
723 &hapd->conf->hs20_osu_providers[i]);
741 for (i = 0; i < hapd->conf->hs20_icons_count; i++) {
742 icon = &hapd->conf->hs20_icons[i];
748 if (i < hapd->conf->hs20_icons_count)
749 icon = &hapd->conf->hs20_icons[i];
923 hapd->conf->venue_name != NULL, qi);
932 hapd->conf->network_auth_type != NULL, qi);
936 hapd->conf->roaming_consortium != NULL, qi);
941 hapd->conf->ipaddr_type_configured, qi);
945 hapd->conf->nai_realm_data != NULL, qi);
950 hapd->conf->anqp_3gpp_cell_net != NULL, qi);
969 hapd->conf->domain_name != NULL, qi);
1033 hapd->conf->hs20_oper_friendly_name != NULL, qi);
1037 hapd->conf->hs20_wan_metrics != NULL, qi);
1042 hapd->conf->hs20_connection_capability != NULL,
1047 hapd->conf->hs20_operating_class != NULL, qi);
1051 hapd->conf->hs20_osu_providers_count, qi);
1068 if (hapd->conf->nai_realm_data != NULL) {
1085 if (hapd->conf->hs20_icons_count) {
1192 hapd->conf->gas_comeback_delay) {
1196 if (hapd->conf->gas_comeback_delay) {
1198 comeback_delay = hapd->conf->gas_comeback_delay;
1468 if (hapd->conf->gas_frag_limit > 0)
1469 hapd->gas_frag_limit = hapd->conf->gas_frag_limit;