Lines Matching refs:u8
61 u8 interface_addr[ETH_ALEN];
67 u8 member_in_go_dev[ETH_ALEN];
73 u8 member_in_go_iface[ETH_ALEN];
77 u8 dialog_token;
78 u8 tie_breaker;
79 u8 intended_addr[ETH_ALEN];
84 u8 oper_ssid[SSID_MAX_LEN];
133 u8 go_timeout;
134 u8 client_timeout;
139 u8 go_neg_conf_sent;
157 u8 peer[ETH_ALEN];
280 const u8 *invite_go_dev_addr;
281 u8 invite_go_dev_addr_buf[ETH_ALEN];
313 u8 sd_query_no_ack[ETH_ALEN];
325 u8 intended_addr[ETH_ALEN];
330 u8 go_intent;
335 u8 next_tie_breaker;
340 u8 ssid[SSID_MAX_LEN];
355 u8 op_reg_class;
360 u8 op_channel;
394 u8 dev_capab;
410 u8 sd_resp_addr[ETH_ALEN];
411 u8 sd_resp_dialog_token;
413 u8 sd_frag_id;
420 u8 inv_bssid[ETH_ALEN];
422 u8 inv_ssid[SSID_MAX_LEN];
424 u8 inv_sa[ETH_ALEN];
425 u8 inv_group_bssid[ETH_ALEN];
426 u8 *inv_group_bssid_ptr;
427 u8 inv_go_dev_addr[ETH_ALEN];
428 u8 inv_status;
435 u8 last_prog_scan_class;
436 u8 last_prog_scan_chan;
444 u8 after_scan_peer[ETH_ALEN];
449 u8 *req_dev_types;
450 u8 *find_dev_id;
451 u8 find_dev_id_buf[ETH_ALEN];
459 u8 pending_client_disc_addr[ETH_ALEN];
460 u8 pending_dev_disc_dialog_token;
461 u8 pending_dev_disc_addr[ETH_ALEN];
471 u8 peer_filter[ETH_ALEN];
488 u8 user_initiated_pd;
494 u8 pending_pd_devaddr[ETH_ALEN];
510 u8 go_timeout;
511 u8 client_timeout;
517 u8 pending_reg_class;
518 u8 pending_channel;
519 u8 pending_channel_forced;
524 u8 wild_card_hash[P2PS_HASH_LEN];
525 u8 p2ps_seek;
526 u8 p2ps_seek_hash[P2P_MAX_QUERY_HASH * P2PS_HASH_LEN];
527 u8 p2ps_seek_count;
552 u8 override_pref_op_class;
553 u8 override_pref_channel;
567 u8 dialog_token;
569 const u8 *capability;
570 const u8 *go_intent;
571 const u8 *status;
572 const u8 *listen_channel;
573 const u8 *operating_channel;
574 const u8 *channel_list;
575 u8 channel_list_len;
576 const u8 *config_timeout;
577 const u8 *intended_addr;
578 const u8 *group_bssid;
579 const u8 *invitation_flags;
581 const u8 *group_info;
584 const u8 *group_id;
587 const u8 *device_id;
589 const u8 *manageability;
591 const u8 *noa;
594 const u8 *ext_listen_timing;
596 const u8 *minor_reason_code;
598 const u8 *oob_go_neg_channel;
601 const u8 *p2p_device_info;
603 const u8 *p2p_device_addr;
604 const u8 *pri_dev_type;
605 u8 num_sec_dev_types;
613 const u8 *wps_pri_dev_type;
614 const u8 *wps_sec_dev_type_list;
616 const u8 *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT];
618 const u8 *manufacturer;
620 const u8 *model_name;
622 const u8 *model_number;
624 const u8 *serial_number;
626 const u8 *oob_dev_password;
630 const u8 *ds_params;
633 const u8 *ssid;
636 u8 service_hash_count;
637 const u8 *service_hash;
639 const u8 *session_info;
642 const u8 *conn_cap;
644 const u8 *adv_id;
645 const u8 *adv_mac;
647 const u8 *adv_service_instance;
650 const u8 *session_id;
651 const u8 *session_mac;
653 const u8 *feature_cap;
656 const u8 *persistent_dev;
657 const u8 *persistent_ssid;
660 const u8 *pref_freq_list;
670 const u8 *p2p_device_addr;
671 const u8 *p2p_interface_addr;
672 u8 dev_capab;
674 const u8 *pri_dev_type;
675 u8 num_sec_dev_types;
676 const u8 *sec_dev_types;
685 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
696 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
697 u8 channel);
701 u8 *op_class, u8 *op_channel);
702 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
703 u8 *op_channel,
713 int p2p_parse_ies(const u8 *data, size_t len, struct p2p_message *msg);
714 int p2p_parse(const u8 *data, size_t len, struct p2p_message *msg);
715 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
719 int p2p_group_info_parse(const u8 *gi, size_t gi_len,
725 u8 count_type;
732 const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
733 u8 p2p_group_presence_req(struct p2p_group *group,
734 const u8 *client_interface_addr,
735 const u8 *noa, size_t noa_len);
736 int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
747 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token);
748 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype,
749 u8 dialog_token);
750 u8 * p2p_buf_add_ie_hdr(struct wpabuf *buf);
751 void p2p_buf_add_status(struct wpabuf *buf, u8 status);
754 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr);
755 void p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len);
756 void p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab);
757 void p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent);
759 u8 reg_class, u8 channel);
761 u8 reg_class, u8 channel);
764 void p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout,
765 u8 client_timeout);
766 void p2p_buf_add_intended_addr(struct wpabuf *buf, const u8 *interface_addr);
767 void p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid);
768 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr,
769 const u8 *ssid, size_t ssid_len);
770 void p2p_buf_add_invitation_flags(struct wpabuf *buf, u8 flags);
771 void p2p_buf_add_noa(struct wpabuf *buf, u8 noa_index, u8 opp_ps, u8 ctwindow,
777 u8 oper_class, u8 channel,
781 void p2p_buf_add_connection_capability(struct wpabuf *buf, u8 connection_cap);
782 void p2p_buf_add_advertisement_id(struct wpabuf *buf, u32 id, const u8 *mac);
784 u8 count, const u8 *hash,
786 void p2p_buf_add_session_id(struct wpabuf *buf, u32 id, const u8 *mac);
788 const u8 *mask);
789 void p2p_buf_add_persistent_group_info(struct wpabuf *buf, const u8 *dev_addr,
790 const u8 *ssid, size_t ssid_len);
801 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa,
802 const u8 *data, size_t len, int rx_freq);
803 void p2p_rx_gas_initial_resp(struct p2p_data *p2p, const u8 *sa,
804 const u8 *data, size_t len, int rx_freq);
805 void p2p_rx_gas_comeback_req(struct p2p_data *p2p, const u8 *sa,
806 const u8 *data, size_t len, int rx_freq);
807 void p2p_rx_gas_comeback_resp(struct p2p_data *p2p, const u8 *sa,
808 const u8 *data, size_t len, int rx_freq);
814 const u8 *channel_list, size_t channel_list_len);
815 void p2p_process_go_neg_req(struct p2p_data *p2p, const u8 *sa,
816 const u8 *data, size_t len, int rx_freq);
817 void p2p_process_go_neg_resp(struct p2p_data *p2p, const u8 *sa,
818 const u8 *data, size_t len, int rx_freq);
819 void p2p_process_go_neg_conf(struct p2p_data *p2p, const u8 *sa,
820 const u8 *data, size_t len);
829 void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
830 const u8 *data, size_t len, int rx_freq);
831 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
832 const u8 *data, size_t len);
839 void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa,
840 const u8 *data, size_t len, int rx_freq);
841 void p2p_process_invitation_resp(struct p2p_data *p2p, const u8 *sa,
842 const u8 *data, size_t len);
844 const u8 *go_dev_addr, int dev_pw_id);
849 void p2p_process_dev_disc_req(struct p2p_data *p2p, const u8 *sa,
850 const u8 *data, size_t len, int rx_freq);
854 void p2p_process_dev_disc_resp(struct p2p_data *p2p, const u8 *sa,
855 const u8 *data, size_t len);
857 void p2p_process_go_disc_req(struct p2p_data *p2p, const u8 *da, const u8 *sa,
858 const u8 *data, size_t len, int rx_freq);
867 const u8 *addr,
871 void p2p_add_dev_info(struct p2p_data *p2p, const u8 *addr,
873 int p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq,
874 struct os_reltime *rx_time, int level, const u8 *ies,
876 struct p2p_device * p2p_get_device(struct p2p_data *p2p, const u8 *addr);
878 const u8 *addr);
882 int dev_type_list_match(const u8 *dev_type, const u8 *req_dev_type[],
885 const u8 *query_hash,
886 u8 query_count);
887 void p2p_build_ssid(struct p2p_data *p2p, u8 *ssid, size_t *ssid_len);
888 int p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
889 const u8 *src, const u8 *bssid, const u8 *buf,
897 u8 *status);