• Home
  • Raw
  • Download

Lines Matching refs:iface

22 static void fst_ctrl_iface_notify_peer_state_change(struct fst_iface *iface,  in fst_ctrl_iface_notify_peer_state_change()  argument
29 os_strlcpy(extra.peer_state.ifname, fst_iface_get_name(iface), in fst_ctrl_iface_notify_peer_state_change()
34 iface, NULL, &extra); in fst_ctrl_iface_notify_peer_state_change()
44 struct fst_iface *iface = NULL; in fst_attach() local
68 iface = fst_iface_create(group, ifname, own_addr, iface_obj, cfg); in fst_attach()
69 if (!iface) { in fst_attach()
77 fst_group_attach_iface(group, iface); in fst_attach()
80 foreach_fst_ctrl_call(on_iface_added, iface); in fst_attach()
82 fst_printf_iface(iface, MSG_DEBUG, in fst_attach()
86 return iface; in fst_attach()
90 void fst_detach(struct fst_iface *iface) in fst_detach() argument
92 struct fst_group *group = fst_iface_get_group(iface); in fst_detach()
94 fst_printf_iface(iface, MSG_DEBUG, "iface detached from group %s", in fst_detach()
96 fst_session_global_on_iface_detached(iface); in fst_detach()
97 foreach_fst_ctrl_call(on_iface_removed, iface); in fst_detach()
98 fst_group_detach_iface(group, iface); in fst_detach()
99 fst_iface_delete(iface); in fst_detach()
166 void fst_rx_action(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, in fst_rx_action() argument
169 if (fst_iface_is_connected(iface, mgmt->sa, false)) in fst_rx_action()
170 fst_session_on_action_rx(iface, mgmt, len); in fst_rx_action()
178 void fst_notify_peer_connected(struct fst_iface *iface, const u8 *addr) in fst_notify_peer_connected() argument
184 fst_group_update_ie(fst_iface_get_group(iface)); in fst_notify_peer_connected()
187 fst_printf_iface(iface, MSG_DEBUG, MACSTR " became connected", in fst_notify_peer_connected()
190 fst_ctrl_iface_notify_peer_state_change(iface, true, addr); in fst_notify_peer_connected()
194 void fst_notify_peer_disconnected(struct fst_iface *iface, const u8 *addr) in fst_notify_peer_disconnected() argument
200 fst_group_update_ie(fst_iface_get_group(iface)); in fst_notify_peer_disconnected()
203 fst_printf_iface(iface, MSG_DEBUG, MACSTR " became disconnected", in fst_notify_peer_disconnected()
206 fst_ctrl_iface_notify_peer_state_change(iface, false, addr); in fst_notify_peer_disconnected()
217 void fst_update_mac_addr(struct fst_iface *iface, const u8 *addr) in fst_update_mac_addr() argument
219 fst_printf_iface(iface, MSG_DEBUG, "new MAC address " MACSTR, in fst_update_mac_addr()
221 os_memcpy(iface->own_addr, addr, sizeof(iface->own_addr)); in fst_update_mac_addr()
222 fst_group_update_ie(fst_iface_get_group(iface)); in fst_update_mac_addr()