Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/interfaces/wifi/1.4/default/
Dwifi_ap_iface.cpp73 Return<void> WifiApIface::setMacAddress(const hidl_array<uint8_t, 6>& mac, in setMacAddress() argument
77 mac); in setMacAddress()
115 const std::array<uint8_t, 6>& mac) { in setMacAddressInternal() argument
116 bool status = iface_util_.lock()->setMacAddress(ifname_, mac); in setMacAddressInternal()
125 std::array<uint8_t, 6> mac = in getFactoryMacAddressInternal() local
127 if (mac[0] == 0 && mac[1] == 0 && mac[2] == 0 && mac[3] == 0 && in getFactoryMacAddressInternal()
128 mac[4] == 0 && mac[5] == 0) { in getFactoryMacAddressInternal()
129 return {createWifiStatus(WifiStatusCode::ERROR_UNKNOWN), mac}; in getFactoryMacAddressInternal()
131 return {createWifiStatus(WifiStatusCode::SUCCESS), mac}; in getFactoryMacAddressInternal()
Dwifi_ap_iface.h54 Return<void> setMacAddress(const hidl_array<uint8_t, 6>& mac,
66 WifiStatus setMacAddressInternal(const std::array<uint8_t, 6>& mac);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wan.h74 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
273 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index()
274 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index()
275 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index()
276 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index()
277 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index()
278 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index()
280 if(memcmp(get_client_memptr(wan_client, cnt)->mac, in get_wan_client_index()
282 sizeof(get_client_memptr(wan_client, cnt)->mac)) == 0) in get_wan_client_index()
309 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index_ipv4()
[all …]
DIPACM_Wlan.h62 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
130 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index()
131 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index()
132 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index()
133 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index()
134 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index()
135 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index()
137 if(memcmp(get_client_memptr(wlan_client, cnt)->mac, in get_wlan_client_index()
139 sizeof(get_client_memptr(wlan_client, cnt)->mac)) == 0) in get_wlan_client_index()
DIPACM_Lan.h86 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
153 int eth_bridge_add_rt_rule(uint8_t *mac, char *rt_tbl_name, uint32_t hdr_proc_ctx_hdl,
157 int eth_bridge_modify_rt_rule(uint8_t *mac, uint32_t hdr_proc_ctx_hdl,
161 …int eth_bridge_add_flt_rule(uint8_t *mac, uint32_t rt_tbl_hdl, ipa_ip_type iptype, uint32_t *flt_r…
181 void eth_bridge_post_event(ipa_cm_event_id evt, ipa_ip_type iptype, uint8_t *mac);
284 get_client_memptr(eth_client, cnt)->mac[0], in get_eth_client_index()
285 get_client_memptr(eth_client, cnt)->mac[1], in get_eth_client_index()
286 get_client_memptr(eth_client, cnt)->mac[2], in get_eth_client_index()
287 get_client_memptr(eth_client, cnt)->mac[3], in get_eth_client_index()
288 get_client_memptr(eth_client, cnt)->mac[4], in get_eth_client_index()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h77 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
334 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index()
335 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index()
336 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index()
337 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index()
338 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index()
339 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index()
341 if(memcmp(get_client_memptr(wan_client, cnt)->mac, in get_wan_client_index()
343 sizeof(get_client_memptr(wan_client, cnt)->mac)) == 0) in get_wan_client_index()
370 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index_ipv4()
[all …]
DIPACM_Wlan.h62 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
130 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index()
131 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index()
132 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index()
133 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index()
134 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index()
135 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index()
137 if(memcmp(get_client_memptr(wlan_client, cnt)->mac, in get_wlan_client_index()
139 sizeof(get_client_memptr(wlan_client, cnt)->mac)) == 0) in get_wlan_client_index()
/hardware/interfaces/audio/core/all-versions/default/
DConversions.cpp38 address.address.mac[0], address.address.mac[1], address.address.mac[2], in deviceAddressToHal()
39 address.address.mac[3], address.address.mac[4], address.address.mac[5]); in deviceAddressToHal()
70 sscanf(halAddress, "%hhX:%hhX:%hhX:%hhX:%hhX:%hhX", &address->address.mac[0], in deviceAddressFromHal()
71 &address->address.mac[1], &address->address.mac[2], &address->address.mac[3], in deviceAddressFromHal()
72 &address->address.mac[4], &address->address.mac[5]); in deviceAddressFromHal()
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp127 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
129 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
183 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
185 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
/hardware/interfaces/identity/aidl/default/
DUtil.cpp88 if (profile.mac.size() < support::kAesGcmIvSize) { in secureAccessControlProfileCheckMac()
92 vector<uint8_t>(profile.mac.begin(), profile.mac.begin() + support::kAesGcmIvSize); in secureAccessControlProfileCheckMac()
93 optional<vector<uint8_t>> mac = support::encryptAes128Gcm(storageKey, nonce, {}, cborData); in secureAccessControlProfileCheckMac() local
94 if (!mac) { in secureAccessControlProfileCheckMac()
97 if (mac.value() != byteStringToUnsigned(profile.mac)) { in secureAccessControlProfileCheckMac()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h63 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
134 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index()
135 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index()
136 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index()
137 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index()
138 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index()
139 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index()
141 if(memcmp(get_client_memptr(wlan_client, cnt)->mac, in get_wlan_client_index()
143 sizeof(get_client_memptr(wlan_client, cnt)->mac)) == 0) in get_wlan_client_index()
DIPACM_Wan.h77 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
426 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index()
427 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index()
428 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index()
429 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index()
430 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index()
431 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index()
433 if(memcmp(get_client_memptr(wan_client, cnt)->mac, in get_wan_client_index()
435 sizeof(get_client_memptr(wan_client, cnt)->mac)) == 0) in get_wan_client_index()
462 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index_ipv4()
[all …]
DIPACM_Lan.h87 uint8_t mac[IPA_MAC_ADDR_SIZE]; member
156 int eth_bridge_add_rt_rule(uint8_t *mac, char *rt_tbl_name, uint32_t hdr_proc_ctx_hdl,
160 int eth_bridge_modify_rt_rule(uint8_t *mac, uint32_t hdr_proc_ctx_hdl,
164 …int eth_bridge_add_flt_rule(uint8_t *mac, uint32_t rt_tbl_hdl, ipa_ip_type iptype, uint32_t *flt_r…
214 void eth_bridge_post_event(ipa_cm_event_id evt, ipa_ip_type iptype, uint8_t *mac,
343 get_client_memptr(eth_client, cnt)->mac[0], in get_eth_client_index()
344 get_client_memptr(eth_client, cnt)->mac[1], in get_eth_client_index()
345 get_client_memptr(eth_client, cnt)->mac[2], in get_eth_client_index()
346 get_client_memptr(eth_client, cnt)->mac[3], in get_eth_client_index()
347 get_client_memptr(eth_client, cnt)->mac[4], in get_eth_client_index()
[all …]
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp79 if (token.mac.size() != kHmacSize) { in authToken2HidlVec()
82 std::copy(token.mac.begin(), token.mac.end(), pos); in authToken2HidlVec()
108 token.mac.resize(kHmacSize); in hidlVec2AuthToken()
109 std::copy(pos, pos + kHmacSize, token.mac.data()); in hidlVec2AuthToken()
151 if (!(token.mac.size() == 0 || token.mac.size() == 32)) { in serializeVerificationToken()
152 LOG(ERROR) << "Unexpected MAC size " << token.mac.size() << ", expected 0 or 32"; in serializeVerificationToken()
159 appendUint32(serializedToken, token.mac.size()); in serializeVerificationToken()
160 serializedToken.insert(serializedToken.end(), token.mac.begin(), token.mac.end()); in serializeVerificationToken()
183 token.mac = std::vector<uint8_t>(serializedToken.begin() + 24, serializedToken.end()); in deserializeVerificationToken()
/hardware/interfaces/wifi/1.4/
DIWifiApIface.hal33 * @param mac MAC address to change to.
40 setMacAddress(MacAddress mac) generates (WifiStatus status);
50 * @return mac factory MAC address of the interface
52 getFactoryMacAddress() generates (WifiStatus status, MacAddress mac);
/hardware/interfaces/identity/aidl/vts/
DVtsHalIdentityEndToEndTest.cpp155 authToken.mac.clear(); in TEST_P()
159 verificationToken.mac.clear(); in TEST_P()
420 vector<uint8_t> mac; in TEST_P() local
422 ASSERT_TRUE(credential->finishRetrieval(&mac, &deviceNameSpacesBytes).isOk()); in TEST_P()
470 EXPECT_EQ(mac, calculatedMac); in TEST_P()
483 ASSERT_TRUE(credential->finishRetrieval(&mac, &deviceNameSpacesBytes).isOk()); in TEST_P()
496 EXPECT_EQ(mac, calculatedMac); in TEST_P()
509 ASSERT_TRUE(credential->finishRetrieval(&mac, &deviceNameSpacesBytes).isOk()); in TEST_P()
522 EXPECT_EQ(mac, calculatedMac); in TEST_P()
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/1/android/hardware/identity/
DSecureAccessControlProfile.aidl26 byte[] mac;
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/current/android/hardware/identity/
DSecureAccessControlProfile.aidl26 byte[] mac;
/hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/2/android/hardware/identity/
DSecureAccessControlProfile.aidl26 byte[] mac;
/hardware/interfaces/identity/aidl/android/hardware/identity/
DSecureAccessControlProfile.aidl76 byte[] mac;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/2/android/hardware/keymaster/
DVerificationToken.aidl24 byte[] mac;
DHardwareAuthToken.aidl26 byte[] mac;
/hardware/interfaces/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/
DVerificationToken.aidl24 byte[] mac;
DHardwareAuthToken.aidl26 byte[] mac;
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dp2p.h143 uint8 mac[6]; /* P2P group bssid */ member
151 uint8 mac[6]; /* P2P device address */ member
160 uint8 mac[6]; /* P2P device address */ member
217 uint8 mac[6]; /* intended P2P interface MAC address */ member
264 uint8 mac[6]; /* P2P Device MAC address */ member

1234