Lines Matching defs:p2p_config

435 struct p2p_config {  struct
439 char country[3];
444 u8 reg_class;
449 u8 channel;
455 u8 channel_forced;
460 u8 op_reg_class;
465 u8 op_channel;
470 u8 cfg_op_channel;
479 struct p2p_channels channels;
493 struct p2p_channels cli_channels;
498 unsigned int num_pref_chan;
503 struct p2p_channel *pref_chan;
508 bool p2p_6ghz_disable;
513 u8 pri_dev_type[8];
523 u8 sec_dev_type[P2P_SEC_DEVICE_TYPES][8];
528 size_t num_sec_dev_types;
533 u8 dev_addr[ETH_ALEN];
538 char *dev_name;
540 char *manufacturer;
541 char *model_name;
542 char *model_number;
543 char *serial_number;
545 u8 uuid[16];
546 u16 config_methods;
551 int concurrent_operations;
559 size_t max_peers;
564 int p2p_intra_bss;
572 u8 ssid_postfix[SSID_MAX_LEN - 9];
577 size_t ssid_postfix_len;
582 unsigned int max_listen;
590 unsigned int passphrase_len;
595 void *cb_ctx;
603 void (*debug_print)(void *ctx, int level, const char *msg);
639 int (*p2p_scan)(void *ctx, enum p2p_scan_type type, int freq,
666 int (*send_probe_resp)(void *ctx, const struct wpabuf *buf,
689 int (*send_action)(void *ctx, unsigned int freq, const u8 *dst,
701 void (*send_action_done)(void *ctx);
723 int (*start_listen)(void *ctx, unsigned int freq,
733 void (*stop_listen)(void *ctx);
747 int (*get_noa)(void *ctx, const u8 *interface_addr, u8 *buf,
764 void (*dev_found)(void *ctx, const u8 *addr,
775 void (*dev_lost)(void *ctx, const u8 *dev_addr);
781 void (*find_stopped)(void *ctx);
797 void (*go_neg_req_rx)(void *ctx, const u8 *src, u16 dev_passwd_id,
817 void (*go_neg_completed)(void *ctx, struct p2p_go_neg_results *res);
837 void (*sd_request)(void *ctx, int freq, const u8 *sa, u8 dialog_token,
853 void (*sd_response)(void *ctx, const u8 *sa, u16 update_indic,
873 void (*prov_disc_req)(void *ctx, const u8 *peer, u16 config_methods,
890 void (*prov_disc_resp)(void *ctx, const u8 *peer, u16 config_methods);
907 void (*prov_disc_fail)(void *ctx, const u8 *peer,
946 u8 (*invitation_process)(void *ctx, const u8 *sa, const u8 *bssid,
970 void (*invitation_received)(void *ctx, const u8 *sa, const u8 *bssid,
992 void (*invitation_result)(void *ctx, int status, const u8 *bssid,
1003 int (*go_connected)(void *ctx, const u8 *dev_addr);
1013 void (*presence_resp)(void *ctx, const u8 *src, u8 status,
1023 int (*is_concurrent_session_active)(void *ctx);
1031 int (*is_p2p_in_progress)(void *ctx);
1046 int (*get_persistent_group)(void *ctx, const u8 *addr, const u8 *ssid,
1067 int (*get_go_info)(void *ctx, u8 *intended_addr,
1078 int (*remove_stale_groups)(void *ctx, const u8 *peer, const u8 *go,
1087 void (*p2ps_prov_complete)(void *ctx, u8 status, const u8 *dev,
1106 int (*prov_disc_resp_cb)(void *ctx);
1121 u8 (*p2ps_group_capability)(void *ctx, u8 incoming, u8 role,
1155 struct p2p_data * p2p_init(const struct p2p_config *cfg); argument