Lines Matching refs:conf
151 if (hapd->conf->hs20_oper_friendly_name) in anqp_add_hs_capab_list()
153 if (hapd->conf->hs20_wan_metrics) in anqp_add_hs_capab_list()
155 if (hapd->conf->hs20_connection_capability) in anqp_add_hs_capab_list()
157 if (hapd->conf->nai_realm_data) in anqp_add_hs_capab_list()
159 if (hapd->conf->hs20_operating_class) in anqp_add_hs_capab_list()
161 if (hapd->conf->hs20_osu_providers_count) in anqp_add_hs_capab_list()
163 if (hapd->conf->hs20_icons_count) in anqp_add_hs_capab_list()
177 if (hapd->conf->venue_name) in anqp_add_capab_list()
179 if (hapd->conf->network_auth_type) in anqp_add_capab_list()
181 if (hapd->conf->roaming_consortium) in anqp_add_capab_list()
183 if (hapd->conf->ipaddr_type_configured) in anqp_add_capab_list()
185 if (hapd->conf->nai_realm_data) in anqp_add_capab_list()
187 if (hapd->conf->anqp_3gpp_cell_net) in anqp_add_capab_list()
189 if (hapd->conf->domain_name) in anqp_add_capab_list()
200 if (hapd->conf->venue_name) { in anqp_add_venue_name()
204 wpabuf_put_u8(buf, hapd->conf->venue_group); in anqp_add_venue_name()
205 wpabuf_put_u8(buf, hapd->conf->venue_type); in anqp_add_venue_name()
206 for (i = 0; i < hapd->conf->venue_name_count; i++) { in anqp_add_venue_name()
208 vn = &hapd->conf->venue_name[i]; in anqp_add_venue_name()
221 if (hapd->conf->network_auth_type) { in anqp_add_network_auth_type()
223 wpabuf_put_le16(buf, hapd->conf->network_auth_type_len); in anqp_add_network_auth_type()
224 wpabuf_put_data(buf, hapd->conf->network_auth_type, in anqp_add_network_auth_type()
225 hapd->conf->network_auth_type_len); in anqp_add_network_auth_type()
237 for (i = 0; i < hapd->conf->roaming_consortium_count; i++) { in anqp_add_roaming_consortium()
239 rc = &hapd->conf->roaming_consortium[i]; in anqp_add_roaming_consortium()
250 if (hapd->conf->ipaddr_type_configured) { in anqp_add_ip_addr_type_availability()
253 wpabuf_put_u8(buf, hapd->conf->ipaddr_type_availability); in anqp_add_ip_addr_type_availability()
335 for (j = 0; j < hapd->conf->nai_realm_count && in hs20_add_nai_home_realm_matches()
338 realm = &hapd->conf->nai_realm_data[j]; in hs20_add_nai_home_realm_matches()
382 realm = &hapd->conf->nai_realm_data[matches[i].realm_data_idx]; in hs20_add_nai_home_realm_matches()
394 if (nai_realm && hapd->conf->nai_realm_data) { in anqp_add_nai_realm()
398 wpabuf_put_le16(buf, hapd->conf->nai_realm_count); in anqp_add_nai_realm()
399 for (i = 0; i < hapd->conf->nai_realm_count; i++) { in anqp_add_nai_realm()
403 realm = &hapd->conf->nai_realm_data[i]; in anqp_add_nai_realm()
417 } else if (nai_home_realm && hapd->conf->nai_realm_data && home_realm) { in anqp_add_nai_realm()
427 if (hapd->conf->anqp_3gpp_cell_net) { in anqp_add_3gpp_cellular_network()
430 hapd->conf->anqp_3gpp_cell_net_len); in anqp_add_3gpp_cellular_network()
431 wpabuf_put_data(buf, hapd->conf->anqp_3gpp_cell_net, in anqp_add_3gpp_cellular_network()
432 hapd->conf->anqp_3gpp_cell_net_len); in anqp_add_3gpp_cellular_network()
439 if (hapd->conf->domain_name) { in anqp_add_domain_name()
441 wpabuf_put_le16(buf, hapd->conf->domain_name_len); in anqp_add_domain_name()
442 wpabuf_put_data(buf, hapd->conf->domain_name, in anqp_add_domain_name()
443 hapd->conf->domain_name_len); in anqp_add_domain_name()
453 if (hapd->conf->hs20_oper_friendly_name) { in anqp_add_operator_friendly_name()
461 for (i = 0; i < hapd->conf->hs20_oper_friendly_name_count; i++) in anqp_add_operator_friendly_name()
464 vn = &hapd->conf->hs20_oper_friendly_name[i]; in anqp_add_operator_friendly_name()
477 if (hapd->conf->hs20_wan_metrics) { in anqp_add_wan_metrics()
483 wpabuf_put_data(buf, hapd->conf->hs20_wan_metrics, 13); in anqp_add_wan_metrics()
492 if (hapd->conf->hs20_connection_capability) { in anqp_add_connection_capability()
498 wpabuf_put_data(buf, hapd->conf->hs20_connection_capability, in anqp_add_connection_capability()
499 hapd->conf->hs20_connection_capability_len); in anqp_add_connection_capability()
508 if (hapd->conf->hs20_operating_class) { in anqp_add_operating_class()
514 wpabuf_put_data(buf, hapd->conf->hs20_operating_class, in anqp_add_operating_class()
515 hapd->conf->hs20_operating_class_len); in anqp_add_operating_class()
601 if (hapd->conf->hs20_osu_providers_count) { in anqp_add_osu_providers_list()
610 wpabuf_put_u8(buf, hapd->conf->osu_ssid_len); in anqp_add_osu_providers_list()
611 wpabuf_put_data(buf, hapd->conf->osu_ssid, in anqp_add_osu_providers_list()
612 hapd->conf->osu_ssid_len); in anqp_add_osu_providers_list()
615 wpabuf_put_u8(buf, hapd->conf->hs20_osu_providers_count); in anqp_add_osu_providers_list()
617 for (i = 0; i < hapd->conf->hs20_osu_providers_count; i++) { in anqp_add_osu_providers_list()
619 buf, hapd->conf, in anqp_add_osu_providers_list()
620 &hapd->conf->hs20_osu_providers[i]); in anqp_add_osu_providers_list()
638 for (i = 0; i < hapd->conf->hs20_icons_count; i++) { in anqp_add_icon_binary_file()
639 icon = &hapd->conf->hs20_icons[i]; in anqp_add_icon_binary_file()
645 if (i < hapd->conf->hs20_icons_count) in anqp_add_icon_binary_file()
646 icon = &hapd->conf->hs20_icons[i]; in anqp_add_icon_binary_file()
777 hapd->conf->venue_name != NULL, qi); in rx_anqp_query_list_id()
781 hapd->conf->network_auth_type != NULL, qi); in rx_anqp_query_list_id()
785 hapd->conf->roaming_consortium != NULL, qi); in rx_anqp_query_list_id()
790 hapd->conf->ipaddr_type_configured, qi); in rx_anqp_query_list_id()
794 hapd->conf->nai_realm_data != NULL, qi); in rx_anqp_query_list_id()
799 hapd->conf->anqp_3gpp_cell_net != NULL, qi); in rx_anqp_query_list_id()
803 hapd->conf->domain_name != NULL, qi); in rx_anqp_query_list_id()
840 hapd->conf->hs20_oper_friendly_name != NULL, qi); in rx_anqp_hs_query_list()
844 hapd->conf->hs20_wan_metrics != NULL, qi); in rx_anqp_hs_query_list()
849 hapd->conf->hs20_connection_capability != NULL, in rx_anqp_hs_query_list()
854 hapd->conf->hs20_operating_class != NULL, qi); in rx_anqp_hs_query_list()
858 hapd->conf->hs20_osu_providers_count, qi); in rx_anqp_hs_query_list()
875 if (hapd->conf->nai_realm_data != NULL) { in rx_anqp_hs_nai_home_realm()
892 if (hapd->conf->hs20_icons_count) { in rx_anqp_hs_icon_request()
998 hapd->conf->gas_comeback_delay) { in gas_serv_req_local_processing()
1002 if (hapd->conf->gas_comeback_delay) { in gas_serv_req_local_processing()
1004 comeback_delay = hapd->conf->gas_comeback_delay; in gas_serv_req_local_processing()
1274 if (hapd->conf->gas_frag_limit > 0) in gas_serv_init()
1275 hapd->gas_frag_limit = hapd->conf->gas_frag_limit; in gas_serv_init()