Searched refs:role (Results 1 - 25 of 394) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c406 char *pos, *role, *type, *pos2; local
408 role = cmd;
409 pos = os_strchr(role, ' ');
456 if (os_strcmp(role, "RESP") == 0 && os_strcmp(type, "WPS") == 0) {
460 "reported: role=%s type=%s", role, type);
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c3457 p2p_dbg(p2p, "Inviting in active GO role - wait on operating channel");
4630 enum p2p_role_indication role = P2P_DEVICE_NOT_IN_GROUP; local
4645 role = P2P_GO_IN_A_GROUP;
4654 role = P2P_CLIENT_IN_A_GROUP;
4665 channel, role);
4712 enum p2p_role_indication role; local
4766 role = msg.oob_go_neg_channel[5];
4768 if (role == P2P_GO_IN_A_GROUP) {
4771 } else if (role == P2P_CLIENT_IN_A_GROUP) {
4779 if (!params->sel && role !
[all...]
H A Dp2p.h1133 * @role: Local role in the group
1146 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
H A Dp2p_build.c330 enum p2p_role_indication role)
338 wpabuf_put_u8(buf, (u8) role); /* Role indication */
341 oper_class, channel, role);
328 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) argument
H A Dp2p_i.h690 enum p2p_role_indication role);
H A Dp2p_invitation.c569 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, argument
576 p2p_dbg(p2p, "Request to invite peer " MACSTR " role=%d persistent=%d "
578 MAC2STR(peer), role, persistent_group, force_freq);
605 role != P2P_INVITE_ROLE_CLIENT) < 0)
608 if (persistent_group && role == P2P_INVITE_ROLE_CLIENT && !force_freq &&
629 p2p->inv_role = role;
/external/wpa_supplicant_8/src/p2p/
H A Dp2p.c3457 p2p_dbg(p2p, "Inviting in active GO role - wait on operating channel");
4630 enum p2p_role_indication role = P2P_DEVICE_NOT_IN_GROUP; local
4645 role = P2P_GO_IN_A_GROUP;
4654 role = P2P_CLIENT_IN_A_GROUP;
4665 channel, role);
4712 enum p2p_role_indication role; local
4766 role = msg.oob_go_neg_channel[5];
4768 if (role == P2P_GO_IN_A_GROUP) {
4771 } else if (role == P2P_CLIENT_IN_A_GROUP) {
4779 if (!params->sel && role !
[all...]
H A Dp2p.h1133 * @role: Local role in the group
1146 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
H A Dp2p_build.c330 enum p2p_role_indication role)
338 wpabuf_put_u8(buf, (u8) role); /* Role indication */
341 oper_class, channel, role);
328 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) argument
H A Dp2p_i.h690 enum p2p_role_indication role);
H A Dp2p_invitation.c569 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, argument
576 p2p_dbg(p2p, "Request to invite peer " MACSTR " role=%d persistent=%d "
578 MAC2STR(peer), role, persistent_group, force_freq);
605 role != P2P_INVITE_ROLE_CLIENT) < 0)
608 if (persistent_group && role == P2P_INVITE_ROLE_CLIENT && !force_freq &&
629 p2p->inv_role = role;
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface.c1111 char *pos, *role, *type, *pos2; local
1124 role = cmd;
1125 pos = os_strchr(role, ' ');
1186 wpa_printf(MSG_DEBUG, "NFC: Connection handover reported - role=%s type=%s req_len=%d sel_len=%d",
1187 role, type, (int) wpabuf_len(req), (int) wpabuf_len(sel));
1189 if (os_strcmp(role, "INIT") == 0 && os_strcmp(type, "WPS") == 0) {
1192 } else if (os_strcmp(role, "RESP") == 0 && os_strcmp(type, "WPS") == 0)
1199 } else if (os_strcmp(role, "INIT") == 0 && os_strcmp(type, "P2P") == 0)
1202 } else if (os_strcmp(role, "RESP") == 0 && os_strcmp(type, "P2P") == 0)
1209 "reported: role
[all...]
H A Dnotify.c445 const char *role)
447 wpas_dbus_signal_p2p_group_removed(wpa_s, role);
443 wpas_notify_p2p_group_removed(struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, const char *role) argument
H A Dnotify.h93 const char *role);
H A Dp2p_supplicant.c52 * role has been lost.
1631 wpa_msg_global(wpa_s, MSG_INFO, P2P_EVENT_GO_NEG_SUCCESS "role=%s "
2327 u8 role; local
2349 role = *pos++;
2350 wpa_printf(MSG_DEBUG, "P2P: WSD for device role 0x%x", role);
2352 /* TODO: role specific handling */
2602 static void wfd_add_sd_req_role(struct wpabuf *tlvs, u8 id, u8 role, argument
2614 wpabuf_put_u8(tlvs, role);
2636 const u8 *dst, const char *role)
2635 wpas_p2p_sd_request_wifi_display(struct wpa_supplicant *wpa_s, const u8 *dst, const char *role) argument
5933 enum p2p_invite_role role; local
5999 enum p2p_invite_role role; local
[all...]
H A Dp2p_supplicant.h72 const u8 *dst, const char *role);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_new.c943 * @role: role of this device (client or GO)
944 * Sends signal with i/f name and role as string arguments
947 const char *role)
976 if (!wpa_dbus_dict_append_string(&dict_iter, "role", role))
1233 * irrespective of the role (client/GO) of the current device
1279 if (!wpa_dbus_dict_append_string(&dict_iter, "role",
946 wpas_dbus_signal_p2p_group_removed(struct wpa_supplicant *wpa_s, const char *role) argument
H A Ddbus_new.h180 const char *role);
365 const char *role)
364 wpas_dbus_signal_p2p_group_removed(struct wpa_supplicant *wpa_s, const char *role) argument
H A Ddbus_new_handlers_p2p.c1959 /* Verify correct role for this property */
2028 u8 role = wpas_get_p2p_role(wpa_s); local
2031 if (role == WPAS_P2P_ROLE_CLIENT) {
2053 u8 role = wpas_get_p2p_role(wpa_s); local
2055 if (role == WPAS_P2P_ROLE_CLIENT) {
2075 u8 role = wpas_get_p2p_role(wpa_s); local
2078 /* Verify correct role for this property */
2079 if (role == WPAS_P2P_ROLE_GO) {
2096 u8 role = wpas_get_p2p_role(wpa_s); local
2100 /* Verify correct role fo
[all...]
H A Ddbus_new_handlers_wps.c25 int role; /* 0 - not set, 1 - enrollee, 2 - registrar */ member in struct:wps_start_params
52 params->role = 1;
54 params->role = 2;
56 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Uknown role %s", val);
219 * information about role (enrollee or registrar), authorization method
252 if (params.role == 0) {
256 } else if (params.role == 1 && params.type == 0) {
260 } else if (params.role == 2 && params.pin == NULL) {
262 "registrar role");
264 message, "Pin required for registrar role
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p.c3457 p2p_dbg(p2p, "Inviting in active GO role - wait on operating channel");
4630 enum p2p_role_indication role = P2P_DEVICE_NOT_IN_GROUP; local
4645 role = P2P_GO_IN_A_GROUP;
4654 role = P2P_CLIENT_IN_A_GROUP;
4665 channel, role);
4712 enum p2p_role_indication role; local
4766 role = msg.oob_go_neg_channel[5];
4768 if (role == P2P_GO_IN_A_GROUP) {
4771 } else if (role == P2P_CLIENT_IN_A_GROUP) {
4779 if (!params->sel && role !
[all...]
H A Dp2p.h1133 * @role: Local role in the group
1146 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
H A Dp2p_build.c330 enum p2p_role_indication role)
338 wpabuf_put_u8(buf, (u8) role); /* Role indication */
341 oper_class, channel, role);
328 p2p_buf_add_oob_go_neg_channel(struct wpabuf *buf, const char *country, u8 oper_class, u8 channel, enum p2p_role_indication role) argument
H A Dp2p_i.h690 enum p2p_role_indication role);
H A Dp2p_invitation.c569 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, argument
576 p2p_dbg(p2p, "Request to invite peer " MACSTR " role=%d persistent=%d "
578 MAC2STR(peer), role, persistent_group, force_freq);
605 role != P2P_INVITE_ROLE_CLIENT) < 0)
608 if (persistent_group && role == P2P_INVITE_ROLE_CLIENT && !force_freq &&
629 p2p->inv_role = role;

Completed in 444 milliseconds

1234567891011>>