Home
last modified time | relevance | path

Searched refs:macaddr (Results 1 – 25 of 64) sorted by relevance

123

/drivers/staging/csr/
Dwext_events.c160 int count, const unsigned char *macaddr, in _send_michaelmicfailure_event() argument
178 memcpy(mmf.src_addr.sa_data, macaddr, ETH_ALEN); in _send_michaelmicfailure_event()
190 int count, const unsigned char *macaddr, in _send_michaelmicfailure_event() argument
199 key_idx, (key_type == CSR_GROUP) ? "broad" : "uni", macaddr); in _send_michaelmicfailure_event()
207 int count, const unsigned char *macaddr, in _send_michaelmicfailure_event() argument
Dunifi_native.h179 int unifi_join_bss(unifi_priv_t *priv, unsigned char *macaddr);
194 int unifi_reset_state(unifi_priv_t *priv, unsigned char *macaddr, unsigned char set_default_mib);
/drivers/staging/wlan-ng/
Dp80211netdev.c644 p80211item_pstr6_t *macaddr; in p80211knetdev_set_mac_address() local
654 macaddr = (p80211item_pstr6_t *) &mibattr->data; in p80211knetdev_set_mac_address()
669 macaddr->did = DIDmib_dot11mac_dot11OperationTable_dot11MACAddress; in p80211knetdev_set_mac_address()
670 macaddr->status = P80211ENUM_msgitem_status_data_ok; in p80211knetdev_set_mac_address()
671 macaddr->len = sizeof(macaddr->data); in p80211knetdev_set_mac_address()
672 macaddr->data.len = ETH_ALEN; in p80211knetdev_set_mac_address()
673 memcpy(&macaddr->data.data, new_addr->sa_data, ETH_ALEN); in p80211knetdev_set_mac_address()
/drivers/staging/rtl8712/
Drtl871x_event.h67 unsigned char macaddr[6]; member
73 unsigned char macaddr[6]; member
Drtl871x_mp_ioctl.c1069 u8 *macaddr; in oid_rt_pro_add_sta_info_hdl() local
1078 macaddr = (u8 *) poid_par_priv->information_buf; in oid_rt_pro_add_sta_info_hdl()
1079 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1081 psta = r8712_alloc_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_add_sta_info_hdl()
1097 u8 *macaddr; in oid_rt_pro_dele_sta_info_hdl() local
1107 macaddr = (u8 *)poid_par_priv->information_buf; in oid_rt_pro_dele_sta_info_hdl()
1109 psta = r8712_get_stainfo(&Adapter->stapriv, macaddr); in oid_rt_pro_dele_sta_info_hdl()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c655 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) in vxge_search_mac_addr_in_list()
680 mac_address = (u8 *)&new_mac_entry->macaddr; in vxge_mac_list_add()
681 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_add()
686 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_add()
700 if (is_multicast_ether_addr(mac->macaddr)) in vxge_add_mac_addr()
706 status = vxge_hw_vpath_mac_addr_add(vpath->handle, mac->macaddr, in vxge_add_mac_addr()
742 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
1071 memcpy(mac_address, mac->macaddr, ETH_ALEN); in vxge_mac_list_del()
1074 if (((struct vxge_mac_addrs *)entry)->macaddr == del_mac) { in vxge_mac_list_del()
1079 if (is_multicast_ether_addr(mac->macaddr)) in vxge_mac_list_del()
[all …]
Dvxge-main.h161 unsigned char macaddr[ETH_ALEN]; member
218 u64 macaddr; member
311 u8 macaddr[ETH_ALEN]; member
Dvxge-traffic.c1753 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_add()
1769 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_add()
1816 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get()
1842 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get()
1868 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_get_next()
1894 macaddr[i-1] = (u8)(data1 & 0xFF); in vxge_hw_vpath_mac_addr_get_next()
1921 u8 (macaddr)[ETH_ALEN], in vxge_hw_vpath_mac_addr_delete()
1936 data1 |= (u8)macaddr[i]; in vxge_hw_vpath_mac_addr_delete()
Dvxge-traffic.h2161 u8 *macaddr,
2168 u8 *macaddr,
2174 u8 *macaddr,
2180 u8 *macaddr,
/drivers/net/wireless/ath/
Dhw.c123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr)); in ath_hw_setbssidmask()
125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
/drivers/uwb/
Duwb-debug.c88 struct uwb_mac_addr macaddr; in cmd_rsv_establish() local
93 memcpy(&macaddr, cmd->target, sizeof(macaddr)); in cmd_rsv_establish()
94 target = uwb_dev_get_by_macaddr(rc, &macaddr); in cmd_rsv_establish()
Dbeacon.c230 const struct uwb_mac_addr *macaddr) in uwb_dev_get_by_macaddr() argument
236 bce = __uwb_beca_find_bymac(rc, macaddr); in uwb_dev_get_by_macaddr()
/drivers/net/ethernet/aeroflex/
Dgreth.c63 static int macaddr[6]; variable
64 module_param_array(macaddr, int, NULL, 0);
65 MODULE_PARM_DESC(macaddr, "GRETH Ethernet MAC address");
1486 if (macaddr[i] != 0) in greth_of_probe()
1496 macaddr[i] = (unsigned int) addr[i]; in greth_of_probe()
1500 macaddr[i] = (unsigned int) idprom->id_ethaddr[i]; in greth_of_probe()
1506 dev->dev_addr[i] = macaddr[i]; in greth_of_probe()
1508 macaddr[5]++; in greth_of_probe()
/drivers/net/wireless/ath/ath5k/
Dpcu.c375 memcpy(common->macaddr, mac, ETH_ALEN); in ath5k_hw_set_lladdr()
926 low_id = get_unaligned_le32(common->macaddr); in ath5k_hw_set_opmode()
927 high_id = get_unaligned_le16(common->macaddr + 4); in ath5k_hw_set_opmode()
/drivers/net/ethernet/ibm/ehea/
Dehea.h408 u64 macaddr; member
427 u64 macaddr; member
Dehea_main.c277 arr[i++].macaddr = port->mac_addr; in ehea_update_bcmc_registrations()
283 arr[i++].macaddr = port->mac_addr; in ehea_update_bcmc_registrations()
295 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations()
297 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations()
303 if (mc_entry->macaddr == 0) in ehea_update_bcmc_registrations()
305 arr[i++].macaddr = mc_entry->macaddr; in ehea_update_bcmc_registrations()
1872 hret = ehea_multicast_reg_helper(port, mc_entry->macaddr, in ehea_drop_multicast_list()
1925 memcpy(&ehea_mcl_entry->macaddr, mc_mac_addr, ETH_ALEN); in ehea_add_multicast_entry()
1927 hret = ehea_multicast_reg_helper(port, ehea_mcl_entry->macaddr, in ehea_add_multicast_entry()
3402 ehea_bcmc_regs.arr[i].macaddr, in ehea_crash_handler()
/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.h73 u32 key_index, u8 *macaddr, bool is_group,
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c236 u8 *macaddr = p_macaddr; in rtl92c_set_key() local
285 macaddr = cam_const_addr[key_index]; in rtl92c_set_key()
289 macaddr = cam_const_broad; in rtl92c_set_key()
336 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
354 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
/drivers/net/ethernet/sgi/
Dmeth.c105 u64 macaddr; in load_eaddr() local
108 macaddr = 0; in load_eaddr()
110 macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); in load_eaddr()
112 mace->eth.mac_addr = macaddr; in load_eaddr()
/drivers/net/wireless/ath/carl9170/
Dmac.c318 mac_addr = common->macaddr; in carl9170_set_operating_mode()
363 mac_addr = common->macaddr; in carl9170_set_operating_mode()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_main.c162 iter_data.hw_macaddr = common->macaddr; in ath9k_htc_set_bssid_mask()
341 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in __ath9k_htc_remove_monitor_interface()
377 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
407 memcpy(&tsta.macaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
492 memcpy(&tsta.macaddr, sta->addr, ETH_ALEN); in ath9k_htc_add_station()
500 memcpy(&tsta.macaddr, vif->addr, ETH_ALEN); in ath9k_htc_add_station()
Dinit.c647 if (pdata && pdata->macaddr) in ath9k_init_softc()
648 memcpy(common->macaddr, pdata->macaddr, ETH_ALEN); in ath9k_init_softc()
841 SET_IEEE80211_PERM_ADDR(hw, common->macaddr); in ath9k_set_hw_capab()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1060 memcpy(p->macaddr, addr[offset+i], sizeof(p->macaddr)); in t4vf_alloc_mac_filt()
1143 memcpy(p->macaddr, addr, sizeof(p->macaddr)); in t4vf_change_mac()
/drivers/net/ethernet/freescale/
Dfec_main.c138 static unsigned char macaddr[ETH_ALEN]; variable
139 module_param_array(macaddr, byte, NULL, 0);
140 MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address");
1007 iap = macaddr; in fec_get_mac()
1060 if (iap == macaddr) in fec_get_mac()
1061 ndev->dev_addr[ETH_ALEN-1] = macaddr[ETH_ALEN-1] + fep->dev_id; in fec_get_mac()
/drivers/net/ethernet/sun/
Dsunhme.c76 static int macaddr[6]; variable
79 module_param_array(macaddr, int, NULL, 0);
80 MODULE_PARM_DESC(macaddr, "Happy Meal MAC address to set");
2665 if (macaddr[i] != 0) in happy_meal_sbus_probe_one()
2670 dev->dev_addr[i] = macaddr[i]; in happy_meal_sbus_probe_one()
2671 macaddr[5]++; in happy_meal_sbus_probe_one()
3011 if (macaddr[i] != 0) in happy_meal_pci_probe()
3016 dev->dev_addr[i] = macaddr[i]; in happy_meal_pci_probe()
3017 macaddr[5]++; in happy_meal_pci_probe()

123