Lines Matching defs:peer
2220 * wpas_dbus_handler_tdls_discover - Discover TDLS peer
2230 u8 peer[ETH_ALEN];
2234 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0)
2237 wpa_printf(MSG_DEBUG, "DBUS TDLS_DISCOVER " MACSTR, MAC2STR(peer));
2240 ret = wpa_tdls_send_discovery_request(wpa_s->wpa, peer);
2242 ret = wpa_drv_tdls_oper(wpa_s, TDLS_DISCOVERY_REQ, peer);
2264 u8 peer[ETH_ALEN];
2268 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0)
2271 wpa_printf(MSG_DEBUG, "DBUS TDLS_SETUP " MACSTR, MAC2STR(peer));
2273 wpa_tdls_remove(wpa_s->wpa, peer);
2275 ret = wpa_tdls_start(wpa_s->wpa, peer);
2277 ret = wpa_drv_tdls_oper(wpa_s, TDLS_SETUP, peer);
2292 * Returns: A string representing the state of the link to this TDLS peer
2299 u8 peer[ETH_ALEN];
2303 if (get_peer_hwaddr_helper(message, __func__, peer, &reply) < 0)
2306 wpa_printf(MSG_DEBUG, "DBUS TDLS_STATUS " MACSTR, MAC2STR(peer));
2308 tdls_status = wpa_tdls_get_link_status(wpa_s->wpa, peer);
2328 u8 peer[ETH_ALEN];
2332 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0)
2335 wpa_printf(MSG_DEBUG, "DBUS TDLS_TEARDOWN " MACSTR, MAC2STR(peer));
2339 wpa_s->wpa, peer,
2342 ret = wpa_drv_tdls_oper(wpa_s, TDLS_TEARDOWN, peer);
2353 * wpas_dbus_handler_tdls_channel_switch - Enable channel switching with TDLS peer
2366 u8 peer[ETH_ALEN];
2391 if (hwaddr_aton(entry.str_value, peer)) {
2449 "tdls_chanswitch: peer address not provided");
2451 message, "peer address not provided");
2456 MAC2STR(peer), oper_class, freq_params.freq,
2462 ret = wpa_tdls_enable_chan_switch(wpa_s->wpa, peer, oper_class,
2472 * wpas_dbus_handler_tdls_cancel_channel_switch - Disable channel switching with TDLS peer
2484 u8 peer[ETH_ALEN];
2488 if (get_peer_hwaddr_helper(message, __func__, peer, &error_reply) < 0)
2492 MAC2STR(peer));
2494 ret = wpa_tdls_disable_chan_switch(wpa_s->wpa, peer);