Home
last modified time | relevance | path

Searched refs:lci (Results 1 - 25 of 33) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A 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()
121 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary, u8 bss_parameters) hostapd_neighbor_set() argument
[all...]
H A 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()
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 in hostapd_handle_nei_report_req()
199 hostapd_send_nei_report_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, struct wpa_ssid_value *ssid, u8 lci, u8 civic, u16 lci_max_age) hostapd_send_nei_report_resp() argument
[all...]
H A 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()
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 in hostapd_handle_nei_report_req()
199 hostapd_send_nei_report_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, struct wpa_ssid_value *ssid, u8 lci, u8 civic, u16 lci_max_age) hostapd_send_nei_report_resp() argument
[all...]
H A Dneighbor_db.h19 const struct wpabuf *nr, const struct wpabuf *lci,
H A Dhostapd.h136 struct wpabuf *lci; member
H A Dap_config.h1059 struct wpabuf *lci; member
H A Dbeacon.c1748 params->lci = hapd->iface->conf->lci; in ieee802_11_build_ap_params()
H A Dap_config.c1001 wpabuf_free(conf->lci); in hostapd_config_free()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A 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()
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()
66 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary) hostapd_neighbor_set() argument
H A 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()
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 in hostapd_handle_nei_report_req()
199 hostapd_send_nei_report_resp(struct hostapd_data *hapd, const u8 *addr, u8 dialog_token, struct wpa_ssid_value *ssid, u8 lci, u8 civic, u16 lci_max_age) hostapd_send_nei_report_resp() argument
[all...]
H A Dneighbor_db.h18 const struct wpabuf *nr, const struct wpabuf *lci,
H A Dhostapd.h127 struct wpabuf *lci; member
H A Dap_config.h977 struct wpabuf *lci; member
H A Dbeacon.c1373 params->lci = hapd->iface->conf->lci; in ieee802_11_build_ap_params()
H A Dap_config.c892 wpabuf_free(conf->lci); in hostapd_config_free()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Drrm.c120 * @lci: if set, neighbor request will include LCI request
136 int lci, int civic, in wpas_rrm_send_neighbor_rep_request()
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()
134 wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s, const struct wpa_ssid_value *ssid, int lci, int civic, void (*cb)(void *ctx, struct wpabuf *neighbor_rep), void *cb_ctx) wpas_rrm_send_neighbor_rep_request() argument
H A Dwpa_supplicant_i.h1169 struct wpabuf *lci; member
1371 int lci, int civic,
H A 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()
745 } else if (os_strcasecmp(cmd, "lci") in wpa_supplicant_ctrl_iface_set()
9519 char lci[256 * 2 + 1]; wpas_ctrl_neighbor_rep_cb() local
9599 int ret, lci = 0, civic = 0; wpas_ctrl_iface_send_neighbor_rep() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Drrm.c126 * @lci: if set, neighbor request will include LCI request
142 int lci, int civic, in wpas_rrm_send_neighbor_rep_request()
178 (lci ? 2 + MEASURE_REQUEST_LCI_LEN : 0) + in wpas_rrm_send_neighbor_rep_request()
203 if (lci) { in wpas_rrm_send_neighbor_rep_request()
326 if (!wpa_s->lci) in wpas_rrm_build_lci_report()
359 wpabuf_head_u8(wpa_s->lci), in wpas_rrm_build_lci_report()
360 wpabuf_len(wpa_s->lci)) < 0) { in wpas_rrm_build_lci_report()
140 wpas_rrm_send_neighbor_rep_request(struct wpa_supplicant *wpa_s, const struct wpa_ssid_value *ssid, int lci, int civic, void (*cb)(void *ctx, struct wpabuf *neighbor_rep), void *cb_ctx) wpas_rrm_send_neighbor_rep_request() argument
H A Dwpa_supplicant_i.h1453 struct wpabuf *lci; member
1731 int lci, int civic,
H A Dctrl_iface.c377 struct wpabuf *lci; in wpas_ctrl_iface_set_lci() local
380 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
381 wpa_s->lci = NULL; in wpas_ctrl_iface_set_lci()
385 lci = wpabuf_parse_bin(cmd); in wpas_ctrl_iface_set_lci()
386 if (!lci) in wpas_ctrl_iface_set_lci()
390 wpabuf_free(lci); in wpas_ctrl_iface_set_lci()
394 wpabuf_free(wpa_s->lci); in wpas_ctrl_iface_set_lci()
395 wpa_s->lci = lci; in wpas_ctrl_iface_set_lci()
939 } else if (os_strcasecmp(cmd, "lci") in wpa_supplicant_ctrl_iface_set()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c2686 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local
2734 tmp = os_strstr(buf, "lci="); in hostapd_ctrl_iface_set_neighbor()
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()
H A Dap_config_file.c4260 } else if (os_strcmp(buf, "lci") == 0) {
4261 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/
H A Dap_config_file.c4510 } else if (os_strcmp(buf, "lci") == 0) { in hostapd_config_fill()
4511 wpabuf_free(conf->lci); in hostapd_config_fill()
4512 conf->lci = wpabuf_parse_bin(pos); in hostapd_config_fill()
4513 if (conf->lci && wpabuf_len(conf->lci) == 0) { in hostapd_config_fill()
4514 wpabuf_free(conf->lci); in hostapd_config_fill()
4515 conf->lci = NULL; in hostapd_config_fill()
H A Dap_ctrl_iface.c3195 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local
3244 tmp = os_strstr(buf, "lci="); in hostapd_ctrl_iface_set_neighbor()
3249 lci = wpabuf_parse_bin(tmp + 4); in hostapd_ctrl_iface_set_neighbor()
3250 if (!lci) { in hostapd_ctrl_iface_set_neighbor()
3290 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor()
3295 wpabuf_free(lci); in hostapd_ctrl_iface_set_neighbor()

Completed in 57 milliseconds

12