Lines Matching defs:dialog

71 	wpa_msg(hapd->msg_ctx, MSG_ERROR, "ANQP: Could not create dialog for "
98 wpa_printf(MSG_DEBUG, "ANQP: Could not find dialog for "
563 wpa_printf(MSG_DEBUG, "GAS: Timeout triggered, clearing dialog for "
564 "dialog token %d", dia->dialog_token);
801 wpa_printf(MSG_INFO, "ANQP: Could not create dialog "
802 "for " MACSTR " (dialog token %u)",
846 "GAS: GAS Initial Request from " MACSTR " (dialog token %u) ",
935 struct gas_dialog_info *dialog)
938 u8 dialog_token = dialog->dialog_token;
941 if (dialog->sd_resp == NULL) {
943 dialog->all_requested,
944 dialog, NULL, 0);
949 dialog->sd_resp = buf;
950 dialog->sd_resp_pos = 0;
952 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos;
953 if (frag_len > hapd->gas_frag_limit || dialog->comeback_delay ||
955 u16 comeback_delay_tus = dialog->comeback_delay +
968 dialog->comeback_delay);
991 gas_serv_clear_cached_ies, dialog,
996 buf = wpabuf_alloc_copy(wpabuf_head_u8(dialog->sd_resp) +
997 dialog->sd_resp_pos, frag_len);
1010 dialog->sd_frag_id, (int) frag_len);
1011 dialog->sd_frag_id++;
1017 gas_serv_clear_cached_ies(dialog, NULL);
1025 struct gas_dialog_info *dialog;
1038 dialog = gas_serv_dialog_find(hapd, sa, dialog_token);
1039 if (!dialog) {
1041 "response fragment for " MACSTR " dialog token %u",
1054 if (dialog->sd_resp == NULL) {
1056 dialog->requested, dialog->received);
1057 if ((dialog->requested & dialog->received) !=
1058 dialog->requested) {
1061 gas_serv_dialog_clear(dialog);
1072 dialog->all_requested,
1073 dialog, NULL, 0);
1078 dialog->sd_resp = buf;
1079 dialog->sd_resp_pos = 0;
1081 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos;
1088 buf = wpabuf_alloc_copy(wpabuf_head_u8(dialog->sd_resp) +
1089 dialog->sd_resp_pos, frag_len);
1097 dialog->sd_frag_id,
1104 dialog->sd_frag_id, more, (int) frag_len);
1105 dialog->sd_frag_id++;
1106 dialog->sd_resp_pos += frag_len;
1111 (int) (wpabuf_len(dialog->sd_resp) -
1112 dialog->sd_resp_pos));
1116 gas_serv_dialog_clear(dialog);
1127 gas_serv_clear_cached_ies(dialog, NULL);