Lines Matching defs:dialog_token
39 u8 dialog_token;
50 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token,
153 " dialog_token=%u freq=%d status_code=%u result=%s",
154 MAC2STR(query->addr), query->dialog_token, query->freq,
164 query->cb(query->ctx, query->addr, query->dialog_token, result,
190 gas_query_get_pending(struct gas_query *gas, const u8 *addr, u8 dialog_token)
195 q->dialog_token == dialog_token)
235 " result=%d query=%p dialog_token=%u dur=%d ms",
236 freq, MAC2STR(dst), result, query, query->dialog_token, dur);
304 req = gas_build_comeback_req(query->dialog_token);
327 int dialog_token;
334 dialog_token = gas_query_new_dialog_token(gas, query->addr);
335 if (dialog_token < 0)
340 query->dialog_token = dialog_token;
341 *(wpabuf_mhead_u8(query->req) + 2) = dialog_token;
390 MACSTR " (dialog_token=%u comeback_delay=%u)",
391 MAC2STR(query->addr), query->dialog_token, comeback_delay);
422 MACSTR " (dialog_token=%u frag_id=%u more_frags=%u "
424 MAC2STR(query->addr), query->dialog_token, frag_id,
494 u8 action, dialog_token, frag_id = 0, more_frags = 0;
516 dialog_token = *pos++;
522 query = gas_query_get_pending(gas, sa, dialog_token);
525 " dialog token %u", MAC2STR(sa), dialog_token);
535 "response", MAC2STR(sa), dialog_token);
542 "response", MAC2STR(sa), dialog_token);
555 MAC2STR(sa), dialog_token, query->status_code);
631 MAC2STR(query->addr), query->dialog_token);
637 const u8 *dst, u8 dialog_token)
642 dialog_token == q->dialog_token)
693 query->dialog_token);
702 int dialog_token;
704 for (dialog_token = 0; dialog_token < 256; dialog_token++) {
706 gas, dst, (next_start + dialog_token) % 256))
709 if (dialog_token == 256)
711 dialog_token = (next_start + dialog_token) % 256;
712 next_start = (dialog_token + 1) % 256;
713 return dialog_token;
730 void (*cb)(void *ctx, const u8 *dst, u8 dialog_token,
737 int dialog_token;
742 dialog_token = gas_query_new_dialog_token(gas, dst);
743 if (dialog_token < 0)
752 query->dialog_token = dialog_token;
759 *(wpabuf_mhead_u8(req) + 2) = dialog_token;
762 " dialog_token=%u freq=%d",
763 MAC2STR(query->addr), query->dialog_token, query->freq);
771 return dialog_token;
779 * @dialog_token: Dialog token from gas_query_req()
781 void gas_query_cancel(struct gas_query *gas, const u8 *dst, u8 dialog_token)
785 query = gas_query_get_pending(gas, dst, dialog_token);