Lines Matching refs:noa
40 struct wpabuf *noa;
120 wpabuf_free(group->noa);
161 static void p2p_group_add_noa(struct wpabuf *ie, struct wpabuf *noa)
163 if (noa == NULL)
167 wpabuf_put_le16(ie, wpabuf_len(noa));
168 wpabuf_put_buf(ie, noa);
228 p2p_group_add_noa(ie, group->noa);
410 p2p_group_add_noa(p2p_subelems, group->noa);
762 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa,
765 if (noa == NULL) {
766 wpabuf_free(group->noa);
767 group->noa = NULL;
769 if (group->noa) {
770 if (wpabuf_size(group->noa) >= noa_len) {
771 group->noa->used = 0;
772 wpabuf_put_data(group->noa, noa, noa_len);
774 wpabuf_free(group->noa);
775 group->noa = NULL;
779 if (!group->noa) {
780 group->noa = wpabuf_alloc_copy(noa, noa_len);
781 if (group->noa == NULL)
900 const u8 *noa, size_t noa_len)
912 wpa_hexdump(MSG_DEBUG, "P2P: Presence Request NoA", noa, noa_len);
921 p2p_dbg(group->p2p, "Failed to fetch current NoA");
923 p2p_dbg(group->p2p, "No NoA being advertized");
925 wpa_hexdump(MSG_DEBUG, "P2P: Current NoA", curr_noa,