/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 272 u16 config_error, u16 error_indication, const u8 *mac_addr) 283 os_memcpy(data.fail.peer_macaddr, mac_addr, ETH_ALEN); 288 void wps_success_event(struct wps_context *wps, const u8 *mac_addr) 296 os_memcpy(data.success.peer_macaddr, mac_addr, ETH_ALEN); 302 const u8 *mac_addr) 312 os_memcpy(data.pwd_auth_fail.peer_macaddr, mac_addr, ETH_ALEN); 375 wps_build_mac_addr(plain, wps->dev.mac_addr) || 499 void uuid_gen_mac_addr(const u8 *mac_addr, u8 *uuid) 514 addr[1] = mac_addr;
|
wps_registrar.c | 147 int (*new_psk_cb)(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, 153 void (*reg_success_cb)(void *ctx, const u8 *mac_addr, 267 if (os_memcmp(dev->dev.mac_addr, addr, ETH_ALEN) == 0) 277 os_memcpy(dst->mac_addr, src->mac_addr, ETH_ALEN); 298 d = wps_device_get(reg, dev->mac_addr); 1165 int wps_cb_new_psk(struct wps_registrar *reg, const u8 *mac_addr, 1171 return reg->new_psk_cb(reg->cb_ctx, mac_addr, p2p_dev_addr, psk, 1186 static void wps_cb_reg_success(struct wps_registrar *reg, const u8 *mac_addr, 1193 reg->reg_success_cb(reg->cb_ctx, mac_addr, uuid_e, dev_pw, dev_pw_len) [all...] |
wps_er.c | 45 ev->mac_addr = sta->addr; 101 const u8 *mac_addr) 108 (mac_addr == NULL || 109 os_memcmp(mac_addr, ap->mac_addr, ETH_ALEN) == 0)) 149 evap->mac_addr = ap->mac_addr; 487 if (attr.mac_addr) 488 os_memcpy(ap->mac_addr, attr.mac_addr, ETH_ALEN) [all...] |
wps_validate.c | 562 static int wps_validate_mac_addr(const u8 *mac_addr, int mandatory) 564 if (mac_addr == NULL) { 572 if (mac_addr[0] & 0x01) { 574 "attribute value " MACSTR, MAC2STR(mac_addr)); 1046 wps_validate_mac_addr(attr.mac_addr, 1) || 1302 wps_validate_mac_addr(attr.mac_addr, 1) || [all...] |
wps_upnp_i.h | 129 u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */ member in struct:upnp_wps_device_sm
|
wps.c | 45 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); 135 os_memcpy(data->peer_dev.mac_addr, cfg->peer_addr, ETH_ALEN);
|
/external/chromium_org/google_apis/gcm/protocol/ |
checkin.proto | 34 repeated string mac_addr = 9; // MAC address, reported but not logged. 36 // An array parallel to mac_addr, describing the type of interface.
|
/external/libpcap/msdos/ |
ndis2.c | 677 BYTE _far *mac_addr;
local 713 mac_addr = MAC_CHAR (handle)->currentAddress;
716 mac_addr[0], mac_addr[1], mac_addr[2],
717 mac_addr[3], mac_addr[4], mac_addr[5]);
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
cpp_bindings.h | 194 int put_addr(int attribute, mac_addr value) { 195 return nla_put(mMsg, attribute, sizeof(mac_addr), value);
|
gscan.cpp | 255 memcpy(result->bssid, (byte *) it2.get_data(), sizeof(mac_addr)); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
notify.c | 569 const u8 *mac_addr, int authorized, 573 wpas_notify_ap_sta_authorized(wpa_s, mac_addr, p2p_dev_addr); 575 wpas_notify_ap_sta_deauthorized(wpa_s, mac_addr, p2p_dev_addr);
|
notify.h | 84 const u8 *mac_addr, int authorized,
|
wps_supplicant.c | 195 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len); 342 MAC2STR(cred->mac_addr)); 655 uuid_str, MAC2STR(ap->mac_addr), dev_type, ap->wps_state, 690 uuid_str, MAC2STR(enrollee->mac_addr), enrollee->m1_received, 706 uuid_str, MAC2STR(enrollee->mac_addr)); [all...] |
ap.c | 416 static void ap_sta_authorized_cb(void *ctx, const u8 *mac_addr, 419 wpas_notify_sta_authorized(ctx, mac_addr, authorized, p2p_dev_addr); 424 static void ap_new_psk_cb(void *ctx, const u8 *mac_addr, const u8 *p2p_dev_addr, 431 wpas_p2p_new_psk_cb(wpa_s, mac_addr, p2p_dev_addr, psk, psk_len); 464 static void ap_wps_reg_success_cb(void *ctx, const u8 *mac_addr, 468 wpas_p2p_wps_success(wpa_s, mac_addr, 1);
|
p2p_supplicant.h | 119 void wpas_p2p_new_psk_cb(struct wpa_supplicant *wpa_s, const u8 *mac_addr,
|
/external/wpa_supplicant_8/src/ap/ |
wps_hostapd.c | 95 static int hostapd_wps_new_psk_cb(void *ctx, const u8 *mac_addr, 106 MAC2STR(mac_addr)); 111 MAC2STR(mac_addr), MAC2STR(p2p_dev_addr)); 125 os_memcpy(p->addr, mac_addr, ETH_ALEN); 130 hapd->new_psk_cb(hapd->new_psk_cb_ctx, mac_addr, p2p_dev_addr, 149 fprintf(f, MACSTR " %s\n", MAC2STR(mac_addr), hex); 183 uuid, MAC2STR(dev->mac_addr), dev->device_name, 200 t.sec, uuid, MAC2STR(dev->mac_addr), dev->device_name, 227 static void hostapd_wps_reg_success_cb(void *ctx, const u8 *mac_addr, 237 MAC2STR(mac_addr), uuid) [all...] |
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi_hal.h | 45 typedef byte mac_addr[6]; typedef
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
halutil.cpp | 62 mac_addr hotlist_bssids[16]; 68 void parseMacAddress(const char *str, mac_addr addr); 543 if (memcmp(results[i].bssid, results[j].bssid, sizeof(mac_addr)) == 0) { 630 memcpy(params[i].addr, results[i].bssid, sizeof(mac_addr)); 631 mac_addr &addr = params[i].addr; 694 memcpy(params->ap[i].bssid, results[i].bssid, sizeof(mac_addr)); 709 memcpy(params.ap[i].bssid, hotlist_bssids[i], sizeof(mac_addr)); 720 mac_addr &addr = params.ap[i].bssid; 813 memcpy(params.ap[i].bssid, results[i].bssid, sizeof(mac_addr)); 824 mac_addr &addr = params.ap[i].bssid [all...] |
/frameworks/opt/net/wifi/service/jni/ |
com_android_server_wifi_WifiNative.cpp | 524 static void parseMacAddress(const char *str, mac_addr addr) { 533 static bool parseMacAddress(JNIEnv *env, jobject obj, mac_addr addr) { 637 mac_addr addr; 638 memcpy(addr, params.ap[i].bssid, sizeof(mac_addr)); 757 mac_addr addr; 759 memcpy(params.ap[i].bssid, addr, sizeof(mac_addr)); [all...] |
/bionic/libc/kernel/uapi/linux/ |
if_bridge.h | 107 __u8 mac_addr[ETH_ALEN]; member in struct:__fdb_entry
|
/development/ndk/platforms/android-L/include/linux/ |
if_bridge.h | 106 __u8 mac_addr[6]; member in struct:__fdb_entry
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
llstats.cpp | 149 len = ((sizeof(stats->mac_addr) <= len) ? sizeof(stats->mac_addr) : len); 150 memcpy(&stats->mac_addr[0], nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]), len); 172 ALOGI("STATS IFACE: MAC %pM", stats->mac_addr); [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/ |
if_bridge.h | 107 __u8 mac_addr[ETH_ALEN]; member in struct:__fdb_entry
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/ |
if_bridge.h | 107 __u8 mac_addr[ETH_ALEN]; member in struct:__fdb_entry
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/ |
if_bridge.h | 107 __u8 mac_addr[ETH_ALEN]; member in struct:__fdb_entry
|