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()
476 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_lci_req()
580 if (wpabuf_tailroom(buf) < 2 + wpabuf_len(nr->nr)) { in hostapd_send_range_req()
587 wpabuf_put_u8(buf, wpabuf_len(nr->nr)); in hostapd_send_range_req()
592 *len = wpabuf_len(buf) - 7; in hostapd_send_range_req()
595 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_range_req()
634 if (wpabuf_len(req) < 13) { in hostapd_send_beacon_req()
685 buf = wpabuf_alloc(5 + 2 + 3 + wpabuf_len(req)); in hostapd_send_beacon_req()
700 wpabuf_put_u8(buf, 3 + wpabuf_len(req)); in hostapd_send_beacon_req()
707 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_beacon_req()
783 wpabuf_head(buf), wpabuf_len(buf)); in hostapd_send_link_measurement_req()