Lines Matching refs:remote_addr
142 int prism2_wds_add(local_info_t *local, u8 *remote_addr, in prism2_wds_add() argument
156 if (prism2_wds_special_addr(iface->u.wds.remote_addr)) in prism2_wds_add()
158 else if (memcmp(iface->u.wds.remote_addr, remote_addr, in prism2_wds_add()
164 if (!match && empty && !prism2_wds_special_addr(remote_addr)) { in prism2_wds_add()
166 memcpy(empty->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add()
174 if (!prism2_wds_special_addr(remote_addr)) { in prism2_wds_add()
177 hostap_add_sta(local->ap, remote_addr); in prism2_wds_add()
196 memcpy(iface->u.wds.remote_addr, remote_addr, ETH_ALEN); in prism2_wds_add()
204 int prism2_wds_del(local_info_t *local, u8 *remote_addr, in prism2_wds_del() argument
217 if (memcmp(iface->u.wds.remote_addr, remote_addr, in prism2_wds_del()
229 memset(selected->u.wds.remote_addr, 0, ETH_ALEN); in prism2_wds_del()