Lines Matching refs:ap_addr
672 struct sockaddr *ap_addr, char *extra) in prism2_ioctl_siwap() argument
683 memcpy(local->preferred_ap, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_siwap()
712 struct sockaddr *ap_addr, char *extra) in prism2_ioctl_giwap() argument
720 ap_addr->sa_family = ARPHRD_ETHER; in prism2_ioctl_giwap()
723 memcpy(&ap_addr->sa_data, dev->dev_addr, ETH_ALEN); in prism2_ioctl_giwap()
726 memcpy(&ap_addr->sa_data, local->assoc_ap_addr, ETH_ALEN); in prism2_ioctl_giwap()
729 memcpy(&ap_addr->sa_data, iface->u.wds.remote_addr, ETH_ALEN); in prism2_ioctl_giwap()
733 &ap_addr->sa_data, ETH_ALEN, 1) < 0) in prism2_ioctl_giwap()
738 memcpy(local->bssid, &ap_addr->sa_data, ETH_ALEN); in prism2_ioctl_giwap()
1794 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan()
1795 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan()
3974 else ret = prism2_wds_add(local, wrq->u.ap_addr.sa_data, 1); in hostap_ioctl()
3979 else ret = prism2_wds_del(local, wrq->u.ap_addr.sa_data, 1, 0); in hostap_ioctl()
3997 wrq->u.ap_addr.sa_data); in hostap_ioctl()
4002 wrq->u.ap_addr.sa_data); in hostap_ioctl()
4007 wrq->u.ap_addr.sa_data); in hostap_ioctl()