Lines Matching defs:p2p_config
431 struct p2p_config { struct
435 char country[3];
440 u8 reg_class;
445 u8 channel;
451 u8 channel_forced;
456 u8 op_reg_class;
461 u8 op_channel;
466 u8 cfg_op_channel;
475 struct p2p_channels channels;
489 struct p2p_channels cli_channels;
494 unsigned int num_pref_chan;
499 struct p2p_channel *pref_chan;
504 u8 pri_dev_type[8];
514 u8 sec_dev_type[P2P_SEC_DEVICE_TYPES][8];
519 size_t num_sec_dev_types;
524 u8 dev_addr[ETH_ALEN];
529 char *dev_name;
531 char *manufacturer;
532 char *model_name;
533 char *model_number;
534 char *serial_number;
536 u8 uuid[16];
537 u16 config_methods;
542 int concurrent_operations;
550 size_t max_peers;
555 int p2p_intra_bss;
563 u8 ssid_postfix[SSID_MAX_LEN - 9];
568 size_t ssid_postfix_len;
573 unsigned int max_listen;
581 unsigned int passphrase_len;
586 void *cb_ctx;
594 void (*debug_print)(void *ctx, int level, const char *msg);
629 int (*p2p_scan)(void *ctx, enum p2p_scan_type type, int freq,
655 int (*send_probe_resp)(void *ctx, const struct wpabuf *buf,
678 int (*send_action)(void *ctx, unsigned int freq, const u8 *dst,
690 void (*send_action_done)(void *ctx);
712 int (*start_listen)(void *ctx, unsigned int freq,
722 void (*stop_listen)(void *ctx);
736 int (*get_noa)(void *ctx, const u8 *interface_addr, u8 *buf,
753 void (*dev_found)(void *ctx, const u8 *addr,
764 void (*dev_lost)(void *ctx, const u8 *dev_addr);
770 void (*find_stopped)(void *ctx);
786 void (*go_neg_req_rx)(void *ctx, const u8 *src, u16 dev_passwd_id,
806 void (*go_neg_completed)(void *ctx, struct p2p_go_neg_results *res);
826 void (*sd_request)(void *ctx, int freq, const u8 *sa, u8 dialog_token,
842 void (*sd_response)(void *ctx, const u8 *sa, u16 update_indic,
862 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods,
879 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods);
896 void (*prov_disc_fail)(void *ctx, const u8 *peer,
935 u8 (*invitation_process)(void *ctx, const u8 *sa, const u8 *bssid,
959 void (*invitation_received)(void *ctx, const u8 *sa, const u8 *bssid,
981 void (*invitation_result)(void *ctx, int status, const u8 *bssid,
992 int (*go_connected)(void *ctx, const u8 *dev_addr);
1002 void (*presence_resp)(void *ctx, const u8 *src, u8 status,
1012 int (*is_concurrent_session_active)(void *ctx);
1020 int (*is_p2p_in_progress)(void *ctx);
1035 int (*get_persistent_group)(void *ctx, const u8 *addr, const u8 *ssid,
1056 int (*get_go_info)(void *ctx, u8 *intended_addr,
1067 int (*remove_stale_groups)(void *ctx, const u8 *peer, const u8 *go,
1076 void (*p2ps_prov_complete)(void *ctx, u8 status, const u8 *dev,
1095 int (*prov_disc_resp_cb)(void *ctx);
1110 u8 (*p2ps_group_capability)(void *ctx, u8 incoming, u8 role,
1143 struct p2p_data * p2p_init(const struct p2p_config *cfg); argument