Lines Matching defs:mac
510 * table which matches specified mac address.
515 mwifiex_get_sta_entry(struct mwifiex_private *priv, const u8 *mac)
519 if (!mac)
523 if (!memcmp(node->mac_addr, mac, ETH_ALEN))
590 * table with the given mac address.
592 * If received mac address is NULL, NULL is returned.
595 mwifiex_add_sta_entry(struct mwifiex_private *priv, const u8 *mac)
599 if (!mac)
603 node = mwifiex_get_sta_entry(priv, mac);
611 memcpy(node->mac_addr, mac, ETH_ALEN);
649 void mwifiex_del_sta_entry(struct mwifiex_private *priv, const u8 *mac)
655 node = mwifiex_get_sta_entry(priv, mac);