Lines Matching defs:mac
2274 static int ipw_send_adapter_address(struct ipw_priv *priv, const u8 * mac)
2276 if (!priv || !mac) {
2282 priv->net_dev->name, mac);
2284 return ipw_send_cmd_pdu(priv, IPW_CMD_ADAPTER_ADDRESS, ETH_ALEN, mac);
2642 /* helper function for pulling the mac address out of the private */
2644 static void eeprom_parse_mac(struct ipw_priv *priv, u8 * mac)
2646 memcpy(mac, &priv->eeprom[EEPROM_MAC_ADDRESS], ETH_ALEN);
8088 u8 *mac = header->addr2;
8089 int index = mac[5] % IPW_IBSS_MAC_HASH_SIZE;
8094 if (ether_addr_equal(entry->mac, mac))
8101 ("Cannot malloc new mac entry\n");
8104 memcpy(entry->mac, mac, ETH_ALEN);