Lines Matching refs:u8
57 u8 interface_addr[ETH_ALEN];
63 u8 member_in_go_dev[ETH_ALEN];
69 u8 member_in_go_iface[ETH_ALEN];
73 u8 dialog_token;
74 u8 tie_breaker;
75 u8 intended_addr[ETH_ALEN];
80 u8 oper_ssid[SSID_MAX_LEN];
129 u8 go_timeout;
130 u8 client_timeout;
135 u8 go_neg_conf_sent;
152 u8 peer[ETH_ALEN];
160 u8 dst[ETH_ALEN];
161 u8 src[ETH_ALEN];
162 u8 bssid[ETH_ALEN];
285 const u8 *invite_go_dev_addr;
286 u8 invite_go_dev_addr_buf[ETH_ALEN];
318 u8 intended_addr[ETH_ALEN];
323 u8 go_intent;
328 u8 next_tie_breaker;
333 u8 ssid[SSID_MAX_LEN];
348 u8 op_reg_class;
353 u8 op_channel;
386 u8 dev_capab;
402 u8 sd_resp_addr[ETH_ALEN];
403 u8 sd_resp_dialog_token;
405 u8 sd_frag_id;
412 u8 inv_bssid[ETH_ALEN];
414 u8 inv_ssid[SSID_MAX_LEN];
416 u8 inv_sa[ETH_ALEN];
417 u8 inv_group_bssid[ETH_ALEN];
418 u8 *inv_group_bssid_ptr;
419 u8 inv_go_dev_addr[ETH_ALEN];
420 u8 inv_status;
426 u8 last_prog_scan_class;
427 u8 last_prog_scan_chan;
434 u8 after_scan_peer[ETH_ALEN];
441 u8 *req_dev_types;
442 u8 *find_dev_id;
443 u8 find_dev_id_buf[ETH_ALEN];
451 u8 pending_client_disc_addr[ETH_ALEN];
452 u8 pending_dev_disc_dialog_token;
453 u8 pending_dev_disc_addr[ETH_ALEN];
463 u8 peer_filter[ETH_ALEN];
480 u8 user_initiated_pd;
486 u8 pending_pd_devaddr[ETH_ALEN];
502 u8 go_timeout;
503 u8 client_timeout;
509 u8 pending_reg_class;
510 u8 pending_channel;
511 u8 pending_channel_forced;
516 u8 wild_card_hash[P2PS_HASH_LEN];
517 u8 p2ps_seek;
518 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
519 u8 p2ps_seek_count;
548 u8 dialog_token;
550 const u8 *capability;
551 const u8 *go_intent;
552 const u8 *status;
553 const u8 *listen_channel;
554 const u8 *operating_channel;
555 const u8 *channel_list;
556 u8 channel_list_len;
557 const u8 *config_timeout;
558 const u8 *intended_addr;
559 const u8 *group_bssid;
560 const u8 *invitation_flags;
562 const u8 *group_info;
565 const u8 *group_id;
568 const u8 *device_id;
570 const u8 *manageability;
572 const u8 *noa;
575 const u8 *ext_listen_timing;
577 const u8 *minor_reason_code;
579 const u8 *oob_go_neg_channel;
582 const u8 *p2p_device_info;
584 const u8 *p2p_device_addr;
585 const u8 *pri_dev_type;
586 u8 num_sec_dev_types;
594 const u8 *wps_pri_dev_type;
595 const u8 *wps_sec_dev_type_list;
597 const u8 *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT];
599 const u8 *manufacturer;
601 const u8 *model_name;
603 const u8 *model_number;
605 const u8 *serial_number;
607 const u8 *oob_dev_password;
611 const u8 *ds_params;
614 const u8 *ssid;
617 u8 service_hash_count;
618 const u8 *service_hash;
620 const u8 *session_info;
623 const u8 *conn_cap;
625 const u8 *adv_id;
626 const u8 *adv_mac;
628 const u8 *adv_service_instance;
631 const u8 *session_id;
632 const u8 *session_mac;
634 const u8 *feature_cap;
637 const u8 *persistent_dev;
638 const u8 *persistent_ssid;
648 const u8 *p2p_device_addr;
649 const u8 *p2p_interface_addr;
650 u8 dev_capab;
652 const u8 *pri_dev_type;
653 u8 num_sec_dev_types;
654 const u8 *sec_dev_types;
664 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
675 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
676 u8 channel);
680 u8 *op_class, u8 *op_channel);
681 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
682 u8 *op_channel);
686 int p2p_parse_ies(const u8 *data, size_t len, struct p2p_message *msg);
687 int p2p_parse(const u8 *data, size_t len, struct p2p_message *msg);
688 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
692 int p2p_group_info_parse(const u8 *gi, size_t gi_len,
698 u8 count_type;
705 const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
706 u8 p2p_group_presence_req(struct p2p_group *group,
707 const u8 *client_interface_addr,
708 const u8 *noa, size_t noa_len);
709 int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
720 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token);
721 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype,
722 u8 dialog_token);
723 u8 * p2p_buf_add_ie_hdr(struct wpabuf *buf);
724 void p2p_buf_add_status(struct wpabuf *buf, u8 status);
727 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr);
728 void p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len);
729 void p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab);
730 void p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent);
732 u8 reg_class, u8 channel);
734 u8 reg_class, u8 channel);
737 void p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout,
738 u8 client_timeout);
739 void p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr);
740 void p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid);
741 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr,
742 const u8 *ssid, size_t ssid_len);
743 void p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags);
744 void p2p_buf_add_noa(struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow,
750 u8 oper_class, u8 channel,
754 void p2p_buf_add_connection_capability(struct wpabuf *buf, u8 connection_cap);
755 void p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac);
757 u8 count, const u8 *hash,
759 void p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac);
761 const u8 *mask);
762 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr,
763 const u8 *ssid, size_t ssid_len);
771 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa,
772 const u8 *data, size_t len, int rx_freq);
773 void p2p_rx_gas_initial_resp(struct p2p_data *p2p, const u8 *sa,
774 const u8 *data, size_t len, int rx_freq);
775 void p2p_rx_gas_comeback_req(struct p2p_data *p2p, const u8 *sa,
776 const u8 *data, size_t len, int rx_freq);
777 void p2p_rx_gas_comeback_resp(struct p2p_data *p2p, const u8 *sa,
778 const u8 *data, size_t len, int rx_freq);
784 const u8 *channel_list, size_t channel_list_len);
785 void p2p_process_go_neg_req(struct p2p_data *p2p, const u8 *sa,
786 const u8 *data, size_t len, int rx_freq);
787 void p2p_process_go_neg_resp(struct p2p_data *p2p, const u8 *sa,
788 const u8 *data, size_t len, int rx_freq);
789 void p2p_process_go_neg_conf(struct p2p_data *p2p, const u8 *sa,
790 const u8 *data, size_t len);
797 void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
798 const u8 *data, size_t len, int rx_freq);
799 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
800 const u8 *data, size_t len);
807 void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa,
808 const u8 *data, size_t len, int rx_freq);
809 void p2p_process_invitation_resp(struct p2p_data *p2p, const u8 *sa,
810 const u8 *data, size_t len);
812 const u8 *go_dev_addr, int dev_pw_id);
817 void p2p_process_dev_disc_req(struct p2p_data *p2p, const u8 *sa,
818 const u8 *data, size_t len, int rx_freq);
822 void p2p_process_dev_disc_resp(struct p2p_data *p2p, const u8 *sa,
823 const u8 *data, size_t len);
825 void p2p_process_go_disc_req(struct p2p_data *p2p, const u8 *da, const u8 *sa,
826 const u8 *data, size_t len, int rx_freq);
835 const u8 *addr,
837 void p2p_add_dev_info(struct p2p_data *p2p, const u8 *addr,
839 int p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq,
840 struct os_reltime *rx_time, int level, const u8 *ies,
842 struct p2p_device * p2p_get_device(struct p2p_data *p2p, const u8 *addr);
844 const u8 *addr);
848 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
851 const u8 *query_hash,
852 u8 query_count);
853 void p2p_build_ssid(struct p2p_data *p2p, u8 *ssid, size_t *ssid_len);
854 int p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
855 const u8 *src, const u8 *bssid, const u8 *buf,
863 u8 *status);