Lines Matching defs:p2p_config
433 struct p2p_config { struct
437 char country[3];
442 u8 reg_class;
447 u8 channel;
453 u8 channel_forced;
458 u8 op_reg_class;
463 u8 op_channel;
468 u8 cfg_op_channel;
477 struct p2p_channels channels;
491 struct p2p_channels cli_channels;
496 unsigned int num_pref_chan;
501 struct p2p_channel *pref_chan;
506 bool p2p_6ghz_disable;
511 u8 pri_dev_type[8];
521 u8 sec_dev_type[P2P_SEC_DEVICE_TYPES][8];
526 size_t num_sec_dev_types;
531 u8 dev_addr[ETH_ALEN];
536 char *dev_name;
538 char *manufacturer;
539 char *model_name;
540 char *model_number;
541 char *serial_number;
543 u8 uuid[16];
544 u16 config_methods;
549 int concurrent_operations;
557 size_t max_peers;
562 int p2p_intra_bss;
570 u8 ssid_postfix[SSID_MAX_LEN - 9];
575 size_t ssid_postfix_len;
580 unsigned int max_listen;
588 unsigned int passphrase_len;
593 void *cb_ctx;
601 void (*debug_print)(void *ctx, int level, const char *msg);
636 int (*p2p_scan)(void *ctx, enum p2p_scan_type type, int freq,
662 int (*send_probe_resp)(void *ctx, const struct wpabuf *buf,
685 int (*send_action)(void *ctx, unsigned int freq, const u8 *dst,
697 void (*send_action_done)(void *ctx);
719 int (*start_listen)(void *ctx, unsigned int freq,
729 void (*stop_listen)(void *ctx);
743 int (*get_noa)(void *ctx, const u8 *interface_addr, u8 *buf,
760 void (*dev_found)(void *ctx, const u8 *addr,
771 void (*dev_lost)(void *ctx, const u8 *dev_addr);
777 void (*find_stopped)(void *ctx);
793 void (*go_neg_req_rx)(void *ctx, const u8 *src, u16 dev_passwd_id,
813 void (*go_neg_completed)(void *ctx, struct p2p_go_neg_results *res);
833 void (*sd_request)(void *ctx, int freq, const u8 *sa, u8 dialog_token,
849 void (*sd_response)(void *ctx, const u8 *sa, u16 update_indic,
869 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods,
886 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods);
903 void (*prov_disc_fail)(void *ctx, const u8 *peer,
942 u8 (*invitation_process)(void *ctx, const u8 *sa, const u8 *bssid,
966 void (*invitation_received)(void *ctx, const u8 *sa, const u8 *bssid,
988 void (*invitation_result)(void *ctx, int status, const u8 *bssid,
999 int (*go_connected)(void *ctx, const u8 *dev_addr);
1009 void (*presence_resp)(void *ctx, const u8 *src, u8 status,
1019 int (*is_concurrent_session_active)(void *ctx);
1027 int (*is_p2p_in_progress)(void *ctx);
1042 int (*get_persistent_group)(void *ctx, const u8 *addr, const u8 *ssid,
1063 int (*get_go_info)(void *ctx, u8 *intended_addr,
1074 int (*remove_stale_groups)(void *ctx, const u8 *peer, const u8 *go,
1083 void (*p2ps_prov_complete)(void *ctx, u8 status, const u8 *dev,
1102 int (*prov_disc_resp_cb)(void *ctx);
1117 u8 (*p2ps_group_capability)(void *ctx, u8 incoming, u8 role,
1150 struct p2p_data * p2p_init(const struct p2p_config *cfg); argument