Home | History | Annotate | Download | only in ap

Lines Matching refs:conf

57 				       hapd->conf->gas_comeback_delay / 1024 +
155 if (hapd->conf->hs20_oper_friendly_name)
157 if (hapd->conf->hs20_wan_metrics)
159 if (hapd->conf->hs20_connection_capability)
161 if (hapd->conf->nai_realm_data)
163 if (hapd->conf->hs20_operating_class)
165 if (hapd->conf->hs20_osu_providers_count)
167 if (hapd->conf->hs20_icons_count)
179 dl_list_for_each(elem, &hapd->conf->anqp_elem, struct anqp_element,
232 if (hapd->conf->venue_name || get_anqp_elem(hapd, ANQP_VENUE_NAME))
236 if (hapd->conf->network_auth_type ||
239 if (hapd->conf->roaming_consortium ||
242 if (hapd->conf->ipaddr_type_configured ||
245 if (hapd->conf->nai_realm_data ||
248 if (hapd->conf->anqp_3gpp_cell_net ||
257 if (hapd->conf->domain_name || get_anqp_elem(hapd, ANQP_DOMAIN_NAME))
268 if (!dl_list_empty(&hapd->conf->fils_realms) ||
296 if (hapd->conf->venue_name) {
300 wpabuf_put_u8(buf, hapd->conf->venue_group);
301 wpabuf_put_u8(buf, hapd->conf->venue_type);
302 for (i = 0; i < hapd->conf->venue_name_count; i++) {
304 vn = &hapd->conf->venue_name[i];
320 if (hapd->conf->network_auth_type) {
322 wpabuf_put_le16(buf, hapd->conf->network_auth_type_len);
323 wpabuf_put_data(buf, hapd->conf->network_auth_type,
324 hapd->conf->network_auth_type_len);
339 for (i = 0; i < hapd->conf->roaming_consortium_count; i++) {
341 rc = &hapd->conf->roaming_consortium[i];
355 if (hapd->conf->ipaddr_type_configured) {
358 wpabuf_put_u8(buf, hapd->conf->ipaddr_type_availability);
440 for (j = 0; j < hapd->conf->nai_realm_count &&
443 realm = &hapd->conf->nai_realm_data[j];
487 realm = &hapd->conf->nai_realm_data[matches[i].realm_data_idx];
503 if (nai_realm && hapd->conf->nai_realm_data) {
507 wpabuf_put_le16(buf, hapd->conf->nai_realm_count);
508 for (i = 0; i < hapd->conf->nai_realm_count; i++) {
512 realm = &hapd->conf->nai_realm_data[i];
526 } else if (nai_home_realm && hapd->conf->nai_realm_data && home_realm) {
539 if (hapd->conf->anqp_3gpp_cell_net) {
542 hapd->conf->anqp_3gpp_cell_net_len);
543 wpabuf_put_data(buf, hapd->conf->anqp_3gpp_cell_net,
544 hapd->conf->anqp_3gpp_cell_net_len);
554 if (hapd->conf->domain_name) {
556 wpabuf_put_le16(buf, hapd->conf->domain_name_len);
557 wpabuf_put_data(buf, hapd->conf->domain_name,
558 hapd->conf->domain_name_len);
572 count = dl_list_len(&hapd->conf->fils_realms);
581 dl_list_for_each(realm, &hapd->conf->fils_realms,
598 if (hapd->conf->hs20_oper_friendly_name) {
606 for (i = 0; i < hapd->conf->hs20_oper_friendly_name_count; i++)
609 vn = &hapd->conf->hs20_oper_friendly_name[i];
622 if (hapd->conf->hs20_wan_metrics) {
628 wpabuf_put_data(buf, hapd->conf->hs20_wan_metrics, 13);
637 if (hapd->conf->hs20_connection_capability) {
643 wpabuf_put_data(buf, hapd->conf->hs20_connection_capability,
644 hapd->conf->hs20_connection_capability_len);
653 if (hapd->conf->hs20_operating_class) {
659 wpabuf_put_data(buf, hapd->conf->hs20_operating_class,
660 hapd->conf->hs20_operating_class_len);
746 if (hapd->conf->hs20_osu_providers_count) {
755 wpabuf_put_u8(buf, hapd->conf->osu_ssid_len);
756 wpabuf_put_data(buf, hapd->conf->osu_ssid,
757 hapd->conf->osu_ssid_len);
760 wpabuf_put_u8(buf, hapd->conf->hs20_osu_providers_count);
762 for (i = 0; i < hapd->conf->hs20_osu_providers_count; i++) {
764 buf, hapd->conf,
765 &hapd->conf->hs20_osu_providers[i]);
783 for (i = 0; i < hapd->conf->hs20_icons_count; i++) {
784 icon = &hapd->conf->hs20_icons[i];
790 if (i < hapd->conf->hs20_icons_count)
791 icon = &hapd->conf->hs20_icons[i];
868 len += 2 * dl_list_len(&hapd->conf->fils_realms);
976 hapd->conf->venue_name != NULL, qi);
985 hapd->conf->network_auth_type != NULL, qi);
989 hapd->conf->roaming_consortium != NULL, qi);
994 hapd->conf->ipaddr_type_configured, qi);
998 hapd->conf->nai_realm_data != NULL, qi);
1003 hapd->conf->anqp_3gpp_cell_net != NULL, qi);
1022 hapd->conf->domain_name != NULL, qi);
1042 !dl_list_empty(&hapd->conf->fils_realms)) {
1093 hapd->conf->hs20_oper_friendly_name != NULL, qi);
1097 hapd->conf->hs20_wan_metrics != NULL, qi);
1102 hapd->conf->hs20_connection_capability != NULL,
1107 hapd->conf->hs20_operating_class != NULL, qi);
1111 hapd->conf->hs20_osu_providers_count, qi);
1128 if (hapd->conf->nai_realm_data != NULL) {
1145 if (hapd->conf->hs20_icons_count) {
1252 if (wpabuf_len(buf) > hapd->conf->gas_frag_limit ||
1253 hapd->conf->gas_comeback_delay) {
1257 if (hapd->conf->gas_comeback_delay) {
1259 comeback_delay = hapd->conf->gas_comeback_delay;
1456 if (frag_len > hapd->conf->gas_frag_limit) {
1457 frag_len = hapd->conf->gas_frag_limit;
1533 if (hapd->conf->gas_address3 == 1)
1535 else if (hapd->conf->gas_address3 == 2)