Lines Matching refs:wpabuf_len
187 size_t len = 2 + wpabuf_len(nr->nr); in hostapd_neighbor_report_len()
190 len += 2 + wpabuf_len(nr->lci); in hostapd_neighbor_report_len()
193 len += 2 + wpabuf_len(nr->civic); in hostapd_neighbor_report_len()
249 wpabuf_put_u8(buf, wpabuf_len(nr->lci)); in hostapd_send_nei_report_resp()
261 wpabuf_put_u8(buf, wpabuf_len(nr->civic)); in hostapd_send_nei_report_resp()
273 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_nei_report_resp()
426 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
530 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
537 wpabuf_put_u8(buf, wpabuf_len(nr->nr)); in hostapd_send_range_req()
542 *len = wpabuf_len(buf) - 7; in hostapd_send_range_req()
545 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_range_req()
583 if (wpabuf_len(req) < 13) { in hostapd_send_beacon_req()
634 buf = wpabuf_alloc(5 + 2 + 3 + wpabuf_len(req)); in hostapd_send_beacon_req()
649 wpabuf_put_u8(buf, 3 + wpabuf_len(req)); in hostapd_send_beacon_req()
656 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_beacon_req()