Lines Matching defs:p2p_config

426 struct p2p_config {  struct
430 char country[3];
435 u8 reg_class;
440 u8 channel;
446 u8 channel_forced;
451 u8 op_reg_class;
456 u8 op_channel;
461 u8 cfg_op_channel;
470 struct p2p_channels channels;
484 struct p2p_channels cli_channels;
489 unsigned int num_pref_chan;
494 struct p2p_channel *pref_chan;
499 u8 pri_dev_type[8];
509 u8 sec_dev_type[P2P_SEC_DEVICE_TYPES][8];
514 size_t num_sec_dev_types;
519 u8 dev_addr[ETH_ALEN];
524 char *dev_name;
526 char *manufacturer;
527 char *model_name;
528 char *model_number;
529 char *serial_number;
531 u8 uuid[16];
532 u16 config_methods;
537 int concurrent_operations;
545 size_t max_peers;
550 int p2p_intra_bss;
558 u8 ssid_postfix[SSID_MAX_LEN - 9];
563 size_t ssid_postfix_len;
568 unsigned int max_listen;
576 unsigned int passphrase_len;
581 void *cb_ctx;
589 void (*debug_print)(void *ctx, int level, const char *msg);
624 int (*p2p_scan)(void *ctx, enum p2p_scan_type type, int freq,
650 int (*send_probe_resp)(void *ctx, const struct wpabuf *buf,
671 int (*send_action)(void *ctx, unsigned int freq, const u8 *dst,
683 void (*send_action_done)(void *ctx);
705 int (*start_listen)(void *ctx, unsigned int freq,
715 void (*stop_listen)(void *ctx);
729 int (*get_noa)(void *ctx, const u8 *interface_addr, u8 *buf,
746 void (*dev_found)(void *ctx, const u8 *addr,
757 void (*dev_lost)(void *ctx, const u8 *dev_addr);
763 void (*find_stopped)(void *ctx);
779 void (*go_neg_req_rx)(void *ctx, const u8 *src, u16 dev_passwd_id,
799 void (*go_neg_completed)(void *ctx, struct p2p_go_neg_results *res);
819 void (*sd_request)(void *ctx, int freq, const u8 *sa, u8 dialog_token,
835 void (*sd_response)(void *ctx, const u8 *sa, u16 update_indic,
855 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods,
872 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods);
889 void (*prov_disc_fail)(void *ctx, const u8 *peer,
928 u8 (*invitation_process)(void *ctx, const u8 *sa, const u8 *bssid,
952 void (*invitation_received)(void *ctx, const u8 *sa, const u8 *bssid,
974 void (*invitation_result)(void *ctx, int status, const u8 *bssid,
985 int (*go_connected)(void *ctx, const u8 *dev_addr);
995 void (*presence_resp)(void *ctx, const u8 *src, u8 status,
1005 int (*is_concurrent_session_active)(void *ctx);
1013 int (*is_p2p_in_progress)(void *ctx);
1028 int (*get_persistent_group)(void *ctx, const u8 *addr, const u8 *ssid,
1049 int (*get_go_info)(void *ctx, u8 *intended_addr,
1060 int (*remove_stale_groups)(void *ctx, const u8 *peer, const u8 *go,
1069 void (*p2ps_prov_complete)(void *ctx, u8 status, const u8 *dev,
1088 int (*prov_disc_resp_cb)(void *ctx);
1103 u8 (*p2ps_group_capability)(void *ctx, u8 incoming, u8 role,
1136 struct p2p_data * p2p_init(const struct p2p_config *cfg); argument