Lines Matching refs:noa
41 struct wpabuf *noa; member
121 wpabuf_free(group->noa); in p2p_group_deinit()
164 static void p2p_group_add_noa(struct wpabuf *ie, struct wpabuf *noa) in p2p_group_add_noa() argument
166 if (noa == NULL) in p2p_group_add_noa()
170 wpabuf_put_le16(ie, wpabuf_len(noa)); in p2p_group_add_noa()
171 wpabuf_put_buf(ie, noa); in p2p_group_add_noa()
240 p2p_group_add_noa(ie, group->noa); in p2p_group_build_beacon_ie()
450 p2p_group_add_noa(p2p_subelems, group->noa); in p2p_group_build_probe_resp_ie()
809 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa, in p2p_group_notif_noa() argument
812 if (noa == NULL) { in p2p_group_notif_noa()
813 wpabuf_free(group->noa); in p2p_group_notif_noa()
814 group->noa = NULL; in p2p_group_notif_noa()
816 if (group->noa) { in p2p_group_notif_noa()
817 if (wpabuf_size(group->noa) >= noa_len) { in p2p_group_notif_noa()
818 group->noa->used = 0; in p2p_group_notif_noa()
819 wpabuf_put_data(group->noa, noa, noa_len); in p2p_group_notif_noa()
821 wpabuf_free(group->noa); in p2p_group_notif_noa()
822 group->noa = NULL; in p2p_group_notif_noa()
826 if (!group->noa) { in p2p_group_notif_noa()
827 group->noa = wpabuf_alloc_copy(noa, noa_len); in p2p_group_notif_noa()
828 if (group->noa == NULL) in p2p_group_notif_noa()
947 const u8 *noa, size_t noa_len) in p2p_group_presence_req() argument
959 wpa_hexdump(MSG_DEBUG, "P2P: Presence Request NoA", noa, noa_len); in p2p_group_presence_req()