Home
last modified time | relevance | path

Searched refs:lci (Results 1 – 25 of 34) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dneighbor_db.c50 char lci[2 * 255 + 1]; in hostapd_neighbor_show() local
64 lci[0] = '\0'; in hostapd_neighbor_show()
65 if (nr->lci) in hostapd_neighbor_show()
66 wpa_snprintf_hex(lci, sizeof(lci), in hostapd_neighbor_show()
67 wpabuf_head(nr->lci), in hostapd_neighbor_show()
68 wpabuf_len(nr->lci)); in hostapd_neighbor_show()
80 nr->lci ? " lci=" : "", lci, in hostapd_neighbor_show()
96 wpabuf_free(nr->lci); in hostapd_neighbor_clear_entry()
97 nr->lci = NULL; in hostapd_neighbor_clear_entry()
123 const struct wpabuf *nr, const struct wpabuf *lci, in hostapd_neighbor_set() argument
[all …]
Dap_rrm.c189 if (send_lci && nr->lci) in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
201 struct wpa_ssid_value *ssid, u8 lci, in hostapd_send_nei_report_resp() argument
230 send_lci = (lci != 0) && hostapd_check_lci_age(nr, lci_max_age); in hostapd_send_nei_report_resp()
247 if (send_lci && nr->lci) { in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
255 wpabuf_put_buf(buf, nr->lci); in hostapd_send_nei_report_resp()
256 *msmt_token = lci; in hostapd_send_nei_report_resp()
287 u8 lci = 0, civic = 0; /* Measurement tokens */ in hostapd_handle_nei_report_req() local
319 lci = ie[2]; /* Measurement Token */ in hostapd_handle_nei_report_req()
[all …]
Drrm.c189 if (send_lci && nr->lci) in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
201 struct wpa_ssid_value *ssid, u8 lci, in hostapd_send_nei_report_resp() argument
230 send_lci = (lci != 0) && hostapd_check_lci_age(nr, lci_max_age); in hostapd_send_nei_report_resp()
247 if (send_lci && nr->lci) { in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
255 wpabuf_put_buf(buf, nr->lci); in hostapd_send_nei_report_resp()
256 *msmt_token = lci; in hostapd_send_nei_report_resp()
287 u8 lci = 0, civic = 0; /* Measurement tokens */ in hostapd_handle_nei_report_req() local
319 lci = ie[2]; /* Measurement Token */ in hostapd_handle_nei_report_req()
[all …]
Dneighbor_db.h19 const struct wpabuf *nr, const struct wpabuf *lci,
Dhostapd.h136 struct wpabuf *lci; member
Dap_config.h1059 struct wpabuf *lci; member
Dbeacon.c1748 params->lci = hapd->iface->conf->lci; in ieee802_11_build_ap_params()
Dap_config.c1000 wpabuf_free(conf->lci); in hostapd_config_free()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dneighbor_db.c41 wpabuf_free(nr->lci); in hostapd_neighbor_clear_entry()
42 nr->lci = NULL; in hostapd_neighbor_clear_entry()
68 const struct wpabuf *nr, const struct wpabuf *lci, in hostapd_neighbor_set() argument
88 if (lci && wpabuf_len(lci)) { in hostapd_neighbor_set()
89 entry->lci = wpabuf_dup(lci); in hostapd_neighbor_set()
90 if (!entry->lci || os_get_time(&entry->lci_date)) in hostapd_neighbor_set()
257 hostapd_neighbor_set(hapd, hapd->own_addr, &ssid, nr, hapd->iconf->lci, in hostapd_neighbor_set_own_report()
Dap_rrm.c189 if (send_lci && nr->lci) in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
201 struct wpa_ssid_value *ssid, u8 lci, in hostapd_send_nei_report_resp() argument
230 send_lci = (lci != 0) && hostapd_check_lci_age(nr, lci_max_age); in hostapd_send_nei_report_resp()
247 if (send_lci && nr->lci) { in hostapd_send_nei_report_resp()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
255 wpabuf_put_buf(buf, nr->lci); in hostapd_send_nei_report_resp()
256 *msmt_token = lci; in hostapd_send_nei_report_resp()
287 u8 lci = 0, civic = 0; /* Measurement tokens */ in hostapd_handle_nei_report_req() local
319 lci = ie[2]; /* Measurement Token */ in hostapd_handle_nei_report_req()
[all …]
Dneighbor_db.h18 const struct wpabuf *nr, const struct wpabuf *lci,
Dhostapd.h127 struct wpabuf *lci; member
Dap_config.h977 struct wpabuf *lci; member
Dbeacon.c1373 params->lci = hapd->iface->conf->lci; in ieee802_11_build_ap_params()
Dap_config.c892 wpabuf_free(conf->lci); in hostapd_config_free()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Drrm.c136 int lci, int civic, in wpas_rrm_send_neighbor_rep_request() argument
172 (lci ? 2 + MEASURE_REQUEST_LCI_LEN : 0) + in wpas_rrm_send_neighbor_rep_request()
193 if (lci) { in wpas_rrm_send_neighbor_rep_request()
316 if (!wpa_s->lci) in wpas_rrm_build_lci_report()
349 wpabuf_head_u8(wpa_s->lci), in wpas_rrm_build_lci_report()
350 wpabuf_len(wpa_s->lci)) < 0) { in wpas_rrm_build_lci_report()
Dctrl_iface.c327 struct wpabuf *lci; in wpas_ctrl_iface_set_lci() local
330 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
331 wpa_s->lci = NULL; in wpas_ctrl_iface_set_lci()
335 lci = wpabuf_parse_bin(cmd); in wpas_ctrl_iface_set_lci()
336 if (!lci) in wpas_ctrl_iface_set_lci()
340 wpabuf_free(lci); in wpas_ctrl_iface_set_lci()
344 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
345 wpa_s->lci = lci; in wpas_ctrl_iface_set_lci()
9519 char lci[256 * 2 + 1]; in wpas_ctrl_neighbor_rep_cb() local
9544 lci[0] = '\0'; in wpas_ctrl_neighbor_rep_cb()
[all …]
Dwpa_supplicant_i.h1169 struct wpabuf *lci; member
1371 int lci, int civic,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drrm.c142 int lci, int civic, in wpas_rrm_send_neighbor_rep_request() argument
178 (lci ? 2 + MEASURE_REQUEST_LCI_LEN : 0) + in wpas_rrm_send_neighbor_rep_request()
200 if (lci) { in wpas_rrm_send_neighbor_rep_request()
323 if (!wpa_s->lci) in wpas_rrm_build_lci_report()
356 wpabuf_head_u8(wpa_s->lci), in wpas_rrm_build_lci_report()
357 wpabuf_len(wpa_s->lci)) < 0) { in wpas_rrm_build_lci_report()
Dctrl_iface.c344 struct wpabuf *lci; in wpas_ctrl_iface_set_lci() local
347 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
348 wpa_s->lci = NULL; in wpas_ctrl_iface_set_lci()
352 lci = wpabuf_parse_bin(cmd); in wpas_ctrl_iface_set_lci()
353 if (!lci) in wpas_ctrl_iface_set_lci()
357 wpabuf_free(lci); in wpas_ctrl_iface_set_lci()
361 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
362 wpa_s->lci = lci; in wpas_ctrl_iface_set_lci()
10301 char lci[256 * 2 + 1]; in wpas_ctrl_neighbor_rep_cb() local
10326 lci[0] = '\0'; in wpas_ctrl_neighbor_rep_cb()
[all …]
Dwpa_supplicant_i.h1395 struct wpabuf *lci; member
1660 int lci, int civic,
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c2686 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local
2739 lci = wpabuf_parse_bin(tmp + 4); in hostapd_ctrl_iface_set_neighbor()
2740 if (!lci) { in hostapd_ctrl_iface_set_neighbor()
2761 wpabuf_free(lci); in hostapd_ctrl_iface_set_neighbor()
2773 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor()
2777 wpabuf_free(lci); in hostapd_ctrl_iface_set_neighbor()
Dap_config_file.c4261 wpabuf_free(conf->lci);
4262 conf->lci = wpabuf_parse_bin(pos);
4263 if (conf->lci && wpabuf_len(conf->lci) == 0) {
4264 wpabuf_free(conf->lci);
4265 conf->lci = NULL;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c4416 wpabuf_free(conf->lci); in hostapd_config_fill()
4417 conf->lci = wpabuf_parse_bin(pos); in hostapd_config_fill()
4418 if (conf->lci && wpabuf_len(conf->lci) == 0) { in hostapd_config_fill()
4419 wpabuf_free(conf->lci); in hostapd_config_fill()
4420 conf->lci = NULL; in hostapd_config_fill()
Dap_ctrl_iface.c3192 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local
3246 lci = wpabuf_parse_bin(tmp + 4); in hostapd_ctrl_iface_set_neighbor()
3247 if (!lci) { in hostapd_ctrl_iface_set_neighbor()
3287 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor()
3292 wpabuf_free(lci); in hostapd_ctrl_iface_set_neighbor()

12