Home
last modified time | relevance | path

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

/hostap-latest/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()
126 const struct wpabuf *nr, const struct wpabuf *lci, in hostapd_neighbor_set() argument
[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.h154 struct wpabuf *lci; member
Dap_config.h1175 struct wpabuf *lci; member
Dbeacon.c2604 params->lci = hapd->iface->conf->lci; in ieee802_11_build_ap_params()
Dap_config.c1051 wpabuf_free(conf->lci); in hostapd_config_free()
/hostap-latest/tests/hwsim/
Dtest_rrm.py33 lci = "01000800101298c0b512926666f6c2f1001c00004104050000c00012" variable
36 def check_nr_results(dev, bssids=None, lci=False, civic=False): argument
54 if lci and "lci=" not in r:
122 …quest("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=" + lci + " civic=" + civic…
134 …quest("SET_NEIGHBOR 00:11:22:33:44:56 ssid=\"test1\" nr=" + nr + " lci=" + lci + " civic=" + civic…
160 …quest("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=" + lci + " civic=" + civic…
164 …"OK" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test2\" nr=" + nr + " lci=" + lci):
181 …quest("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test3\" nr=" + nr + " lci=" + lci + " civic=" + civic…
219 … cmd = "SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1\" nr=" + nr + " lci=" + lci + " civic=" + civic
280 …uest("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test3\" nr=" + nr1 + " lci=" + lci + " civic=" + civic…
[all …]
/hostap-latest/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()
10621 char lci[256 * 2 + 1]; in wpas_ctrl_neighbor_rep_cb() local
10646 lci[0] = '\0'; in wpas_ctrl_neighbor_rep_cb()
[all …]
Dwpa_supplicant_i.h1430 struct wpabuf *lci; member
1774 int lci, int civic,
Dsme.c379 if (wpa_s->lci) in sme_auth_handle_rrm()
Dwpa_supplicant.c721 wpabuf_free(wpa_s->lci); in wpa_supplicant_cleanup()
722 wpa_s->lci = NULL; in wpa_supplicant_cleanup()
/hostap-latest/hostapd/
Dconfig_file.c4746 wpabuf_free(conf->lci); in hostapd_config_fill()
4747 conf->lci = wpabuf_parse_bin(pos); in hostapd_config_fill()
4748 if (conf->lci && wpabuf_len(conf->lci) == 0) { in hostapd_config_fill()
4749 wpabuf_free(conf->lci); in hostapd_config_fill()
4750 conf->lci = NULL; in hostapd_config_fill()
Dctrl_iface.c3361 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local
3415 lci = wpabuf_parse_bin(tmp + 4); in hostapd_ctrl_iface_set_neighbor()
3416 if (!lci) { in hostapd_ctrl_iface_set_neighbor()
3456 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor()
3461 wpabuf_free(lci); in hostapd_ctrl_iface_set_neighbor()
/hostap-latest/src/drivers/
Ddriver.h1672 const struct wpabuf *lci; member
Ddriver_nl80211.c5317 (params->lci && in wpa_driver_nl80211_set_ap()
5319 wpabuf_len(params->lci), in wpa_driver_nl80211_set_ap()
5320 wpabuf_head(params->lci))) || in wpa_driver_nl80211_set_ap()