/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | neighbor_db.c | 51 char civic[2 * 255 + 1]; in hostapd_neighbor_show() local 70 civic[0] = '\0'; in hostapd_neighbor_show() 71 if (nr->civic) in hostapd_neighbor_show() 72 wpa_snprintf_hex(civic, sizeof(civic), in hostapd_neighbor_show() 73 wpabuf_head(nr->civic), in hostapd_neighbor_show() 74 wpabuf_len(nr->civic)); in hostapd_neighbor_show() 81 nr->civic ? " civic=" : "", civic, 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 D | rrm.c | 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len() 202 u8 civic, u16 lci_max_age) in hostapd_send_nei_report_resp() 231 len = hostapd_neighbor_report_len(buf, nr, send_lci, civic); in hostapd_send_nei_report_resp() 259 if (civic && nr->civic) { in hostapd_send_nei_report_resp() 261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp() 267 wpabuf_put_buf(buf, nr->civic); in hostapd_send_nei_report_resp() 268 *msmt_token = civic; in hostapd_send_nei_report_resp() 287 u8 lci = 0, civic in hostapd_handle_nei_report_req() local 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 D | ap_rrm.c | 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len() 202 u8 civic, u16 lci_max_age) in hostapd_send_nei_report_resp() 231 len = hostapd_neighbor_report_len(buf, nr, send_lci, civic); in hostapd_send_nei_report_resp() 259 if (civic && nr->civic) { in hostapd_send_nei_report_resp() 261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp() 267 wpabuf_put_buf(buf, nr->civic); in hostapd_send_nei_report_resp() 268 *msmt_token = civic; in hostapd_send_nei_report_resp() 287 u8 lci = 0, civic in hostapd_handle_nei_report_req() local 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 D | neighbor_db.h | 20 const struct wpabuf *civic, int stationary,
|
H A D | hostapd.h | 137 struct wpabuf *civic; member
|
H A D | ap_config.h | 1060 struct wpabuf *civic; member
|
H A D | beacon.c | 1749 params->civic = hapd->iface->conf->civic; in ieee802_11_build_ap_params()
|
H A D | ap_config.c | 1002 wpabuf_free(conf->civic); in hostapd_config_free()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | neighbor_db.c | 43 wpabuf_free(nr->civic); in hostapd_neighbor_clear_entry() 44 nr->civic = NULL; in hostapd_neighbor_clear_entry() 69 const struct wpabuf *civic, int stationary) in hostapd_neighbor_set() 94 if (civic && wpabuf_len(civic)) { in hostapd_neighbor_set() 95 entry->civic = wpabuf_dup(civic); in hostapd_neighbor_set() 96 if (!entry->civic) in hostapd_neighbor_set() 258 hapd->iconf->civic, hapd->iconf->stationary_ap); 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 D | ap_rrm.c | 192 if (send_civic && nr->civic) in hostapd_neighbor_report_len() 193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len() 202 u8 civic, u16 lci_max_age) in hostapd_send_nei_report_resp() 231 len = hostapd_neighbor_report_len(buf, nr, send_lci, civic); in hostapd_send_nei_report_resp() 259 if (civic && nr->civic) { in hostapd_send_nei_report_resp() 261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp() 267 wpabuf_put_buf(buf, nr->civic); in hostapd_send_nei_report_resp() 268 *msmt_token = civic; in hostapd_send_nei_report_resp() 287 u8 lci = 0, civic in hostapd_handle_nei_report_req() local 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 D | neighbor_db.h | 19 const struct wpabuf *civic, int stationary);
|
H A D | hostapd.h | 128 struct wpabuf *civic; member
|
H A D | ap_config.h | 978 struct wpabuf *civic; member
|
H A D | beacon.c | 1374 params->civic = hapd->iface->conf->civic; in ieee802_11_build_ap_params()
|
H A D | ap_config.c | 893 wpabuf_free(conf->civic); in hostapd_config_free()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | rrm.c | 121 * @civic: if set, neighbor request will include civic location request 136 int lci, int civic, in wpas_rrm_send_neighbor_rep_request() 173 (civic ? 2 + MEASURE_REQUEST_CIVIC_LEN : 0)); in wpas_rrm_send_neighbor_rep_request() 227 if (civic) { in wpas_rrm_send_neighbor_rep_request() 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 D | wpa_supplicant_i.h | 1371 int lci, int civic,
|
H A D | ctrl_iface.c | 9520 char civic[256 * 2 + 1]; in wpas_ctrl_neighbor_rep_cb() local 9545 civic[0] = '\0'; in wpas_ctrl_neighbor_rep_cb() 9566 if (civic[0]) in wpas_ctrl_neighbor_rep_cb() 9568 wpa_snprintf_hex(civic, sizeof(civic), in wpas_ctrl_neighbor_rep_cb() 9584 civic[0] ? " civic=" : "", civic); in wpas_ctrl_neighbor_rep_cb() 9599 int ret, lci = 0, civic = 0; in wpas_ctrl_iface_send_neighbor_rep() local 9614 * "civic" in wpas_ctrl_iface_send_neighbor_rep() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | rrm.c | 127 * @civic: if set, neighbor request will include civic location request 142 int lci, int civic, in wpas_rrm_send_neighbor_rep_request() 179 (civic ? 2 + MEASURE_REQUEST_CIVIC_LEN : 0)); in wpas_rrm_send_neighbor_rep_request() 237 if (civic) { in wpas_rrm_send_neighbor_rep_request() 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 D | wpa_supplicant_i.h | 1731 int lci, int civic,
|
H A D | ctrl_iface.c | 10759 char civic[256 * 2 + 1]; 10784 civic[0] = '\0'; 10805 if (civic[0]) 10807 wpa_snprintf_hex(civic, sizeof(civic), 10823 civic[0] ? " civic=" : "", civic); 10838 int ret, lci = 0, civic = 0; 10854 * "civic" [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | ap_ctrl_iface.c | 2686 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local 2751 tmp = os_strstr(buf, "civic="); in hostapd_ctrl_iface_set_neighbor() 2756 civic = wpabuf_parse_bin(tmp + 6); in hostapd_ctrl_iface_set_neighbor() 2757 if (!civic) { in hostapd_ctrl_iface_set_neighbor() 2759 "CTRL: SET_NEIGHBOR: Bad civic subelement"); in hostapd_ctrl_iface_set_neighbor() 2773 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor() 2778 wpabuf_free(civic); in hostapd_ctrl_iface_set_neighbor()
|
H A D | ap_config_file.c | 4267 } else if (os_strcmp(buf, "civic") == 0) { 4268 wpabuf_free(conf->civic); 4269 conf->civic = wpabuf_parse_bin(pos); 4270 if (conf->civic && wpabuf_len(conf->civic) == 0) { 4271 wpabuf_free(conf->civic); 4272 conf->civic = NULL;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | ap_config_file.c | 4517 } else if (os_strcmp(buf, "civic") == 0) { in hostapd_config_fill() 4518 wpabuf_free(conf->civic); in hostapd_config_fill() 4519 conf->civic = wpabuf_parse_bin(pos); in hostapd_config_fill() 4520 if (conf->civic && wpabuf_len(conf->civic) == 0) { in hostapd_config_fill() 4521 wpabuf_free(conf->civic); in hostapd_config_fill() 4522 conf->civic = NULL; in hostapd_config_fill()
|
H A D | ap_ctrl_iface.c | 3195 struct wpabuf *nr, *lci = NULL, *civic = NULL; in hostapd_ctrl_iface_set_neighbor() local 3260 tmp = os_strstr(buf, "civic="); in hostapd_ctrl_iface_set_neighbor() 3265 civic = wpabuf_parse_bin(tmp + 6); in hostapd_ctrl_iface_set_neighbor() 3266 if (!civic) { in hostapd_ctrl_iface_set_neighbor() 3268 "CTRL: SET_NEIGHBOR: Bad civic subelement"); in hostapd_ctrl_iface_set_neighbor() 3290 ret = hostapd_neighbor_set(hapd, bssid, &ssid, nr, lci, civic, in hostapd_ctrl_iface_set_neighbor() 3296 wpabuf_free(civic); in hostapd_ctrl_iface_set_neighbor()
|