Lines Matching full:iface
35 #define fst_printf_siface(s, iface, level, format, ...) \ argument
37 fst_iface_get_name(iface), ##__VA_ARGS__)
276 struct fst_iface *iface = in fst_session_send_action() local
286 if (!iface) { in fst_session_send_action()
311 res = fst_iface_send_action(iface, in fst_session_send_action()
315 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_send_action()
319 fst_printf_siface(s, iface, MSG_DEBUG, "FST Action '%s' sent", in fst_session_send_action()
356 static void fst_session_handle_setup_request(struct fst_iface *iface, in fst_session_handle_setup_request() argument
368 fst_printf_iface(iface, MSG_WARNING, in fst_session_handle_setup_request()
379 fst_printf_iface(iface, MSG_WARNING, in fst_session_handle_setup_request()
385 fst_printf_iface(iface, MSG_WARNING, in fst_session_handle_setup_request()
390 g = fst_iface_get_group(iface); in fst_session_handle_setup_request()
393 fst_iface_update_mb_ie(iface, mgmt->sa, (const u8 *) (req + 1), in fst_session_handle_setup_request()
395 fst_printf_iface(iface, MSG_INFO, in fst_session_handle_setup_request()
400 new_iface = fst_group_get_peer_other_connection(iface, mgmt->sa, in fst_session_handle_setup_request()
404 fst_printf_iface(iface, MSG_WARNING, in fst_session_handle_setup_request()
405 "FST Request dropped: new iface not found"); in fst_session_handle_setup_request()
408 fst_printf_iface(iface, MSG_INFO, in fst_session_handle_setup_request()
409 "FST Request: new iface (%s:" MACSTR ") found", in fst_session_handle_setup_request()
477 fst_iface_get_name(iface), in fst_session_handle_setup_request()
482 fst_session_set_iface(s, iface, true); in fst_session_handle_setup_request()
499 struct fst_iface *iface, in fst_session_handle_setup_response() argument
513 if (iface != s->data.old_iface) { in fst_session_handle_setup_response()
515 "FST Response dropped: %s is not the old iface", in fst_session_handle_setup_response()
516 fst_iface_get_name(iface)); in fst_session_handle_setup_response()
536 fst_printf_iface(iface, MSG_WARNING, in fst_session_handle_setup_response()
603 struct fst_iface *iface, in fst_session_handle_tear_down() argument
625 fst_printf_siface(s, iface, MSG_WARNING, in fst_session_handle_tear_down()
638 struct fst_iface *iface, in fst_session_handle_ack_request() argument
653 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_handle_ack_request()
661 if (iface != s->data.new_iface) { in fst_session_handle_ack_request()
662 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_handle_ack_request()
676 fst_printf_siface(s, iface, MSG_WARNING, in fst_session_handle_ack_request()
702 struct fst_iface *iface, in fst_session_handle_ack_response() argument
716 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_handle_ack_response()
724 if (iface != s->data.new_iface) { in fst_session_handle_ack_response()
725 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_handle_ack_response()
739 fst_printf_siface(s, iface, MSG_ERROR, in fst_session_handle_ack_response()
785 void fst_session_set_iface(struct fst_session *s, struct fst_iface *iface, in fst_session_set_iface() argument
789 s->data.old_iface = iface; in fst_session_set_iface()
791 s->data.new_iface = iface; in fst_session_set_iface()
1070 struct fst_iface *iface, in fst_session_handle_action() argument
1079 fst_session_handle_setup_response(s, iface, mgmt, frame_len); in fst_session_handle_action()
1082 fst_session_handle_tear_down(s, iface, mgmt, frame_len); in fst_session_handle_action()
1085 fst_session_handle_ack_request(s, iface, mgmt, frame_len); in fst_session_handle_action()
1088 fst_session_handle_ack_response(s, iface, mgmt, frame_len); in fst_session_handle_action()
1192 void fst_session_on_action_rx(struct fst_iface *iface, in fst_session_on_action_rx() argument
1200 fst_printf_iface(iface, MSG_ERROR, in fst_session_on_action_rx()
1206 fst_printf_iface(iface, MSG_DEBUG, in fst_session_on_action_rx()
1210 fst_printf_iface(iface, MSG_WARNING, in fst_session_on_action_rx()
1217 fst_session_handle_setup_request(iface, mgmt, len); in fst_session_on_action_rx()
1221 s = fst_find_session_in_progress(mgmt->sa, fst_iface_get_group(iface)); in fst_session_on_action_rx()
1223 fst_session_handle_action(s, iface, mgmt, len); in fst_session_on_action_rx()
1225 fst_printf_iface(iface, MSG_WARNING, in fst_session_on_action_rx()
1241 "Cannot set iface %s: no such iface within group '%s'", in fst_session_set_str_ifname()
1284 void fst_session_global_on_iface_detached(struct fst_iface *iface) in fst_session_global_on_iface_detached() argument
1290 (s->data.new_iface == iface || in fst_session_global_on_iface_detached()
1291 s->data.old_iface == iface)) in fst_session_global_on_iface_detached()
1585 struct fst_iface *iface; in fst_test_req_get_local_mbies() local
1597 iface = fst_group_get_iface_by_name(g, ifname); in fst_test_req_get_local_mbies()
1598 if (!iface || !iface->mb_ie) in fst_test_req_get_local_mbies()
1600 return wpa_snprintf_hex(buf, buflen, wpabuf_head(iface->mb_ie), in fst_test_req_get_local_mbies()
1601 wpabuf_len(iface->mb_ie)); in fst_test_req_get_local_mbies()