Lines Matching defs:mac
2306 static int ipw_send_adapter_address(struct ipw_priv *priv, u8 * mac)
2308 if (!priv || !mac) {
2314 priv->net_dev->name, mac);
2316 return ipw_send_cmd_pdu(priv, IPW_CMD_ADAPTER_ADDRESS, ETH_ALEN, mac);
2674 /* helper function for pulling the mac address out of the private */
2676 static void eeprom_parse_mac(struct ipw_priv *priv, u8 * mac)
2678 memcpy(mac, &priv->eeprom[EEPROM_MAC_ADDRESS], ETH_ALEN);
8134 u8 *mac = header->addr2;
8135 int index = mac[5] % IPW_IBSS_MAC_HASH_SIZE;
8140 if (ether_addr_equal(entry->mac, mac))
8147 ("Cannot malloc new mac entry\n");
8150 memcpy(entry->mac, mac, ETH_ALEN);