Searched refs:mac (Results 401 - 425 of 1076) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/wireless/ti/wl1251/
H A Dacx.c44 struct acx_dot11_station_id *mac; local
49 mac = kzalloc(sizeof(*mac), GFP_KERNEL);
50 if (!mac)
54 mac->mac[i] = wl->mac_addr[ETH_ALEN - 1 - i];
56 ret = wl1251_cmd_configure(wl, DOT11_STATION_ID, mac, sizeof(*mac));
58 kfree(mac);
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dtrx.c220 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
239 (ether_addr_equal(mac->bssid,
650 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
665 if (mac->opmode == NL80211_IFTYPE_STATION) {
666 bw_40 = mac->bw_40;
667 } else if (mac->opmode == NL80211_IFTYPE_AP ||
668 mac->opmode == NL80211_IFTYPE_ADHOC) {
755 mac->cur_40_prime_sc);
802 if (mac->rdg_en) {
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dtrx.c194 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
213 (ether_addr_equal(mac->bssid, (fc & IEEE80211_FCTL_TODS) ?
409 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
427 if (mac->opmode == NL80211_IFTYPE_STATION) {
428 bw_40 = mac->bw_40;
429 } else if (mac->opmode == NL80211_IFTYPE_AP ||
430 mac->opmode == NL80211_IFTYPE_ADHOC) {
509 set_tx_desc_tx_sub_carrier(pdesc, mac->cur_40_prime_sc);
551 if (mac->rdg_en) {
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dtrx.c277 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
295 (ether_addr_equal(mac->bssid, ieee80211_has_tods(fc) ?
485 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); local
502 if (mac->opmode == NL80211_IFTYPE_STATION) {
503 bw_40 = mac->bw_40;
504 } else if (mac->opmode == NL80211_IFTYPE_AP ||
505 mac->opmode == NL80211_IFTYPE_ADHOC) {
584 mac->cur_40_prime_sc);
633 if (mac->rdg_en) {
/linux-master/drivers/net/phy/
H A Ddp83867.c214 const u8 *mac; local
225 mac = (const u8 *)ndev->dev_addr;
227 if (!is_valid_ether_addr(mac))
231 (mac[1] << 8 | mac[0]));
233 (mac[3] << 8 | mac[2]));
235 (mac[5] << 8 | mac[4]));
/linux-master/tools/testing/selftests/net/forwarding/
H A Dvxlan_bridge_1d_ipv6.sh506 local mac=$1; shift
519 $MZ -6 $h1 -c 10 -d 100msec -p 64 -b $mac -B $dst -t icmp6 type=128 -q
538 local mac=$1; shift
544 vxlan_flood_test $mac $dst 10 10 10
557 local mac=$1; shift
561 bridge fdb $add_del dev $dev $mac self static permanent \
563 bridge fdb $add_del dev $dev $mac master static 2>/dev/null
568 local mac=$1; shift
578 vxlan_flood_test $mac $dst "${expects[@]}"
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h115 const u8 *mac,
154 const u8 *mac);
156 const u8 *mac, u32 tid, u32 buf_size);
158 const u8 *mac, u32 tid,
161 const u8 *mac, u32 tid, u32 initiator,
959 ath10k_wmi_set_ap_ps_param(struct ath10k *ar, u32 vdev_id, const u8 *mac, argument
967 skb = ar->wmi.ops->gen_set_ap_ps(ar, vdev_id, mac, param_id, value);
1206 ath10k_wmi_addba_clear_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac) argument
1213 skb = ar->wmi.ops->gen_addba_clear_resp(ar, vdev_id, mac);
1222 ath10k_wmi_addba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, argument
1239 ath10k_wmi_addba_set_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 status) argument
1256 ath10k_wmi_delba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 initiator, u32 reason) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtcoutsrc.c49 struct rtl_mac *mac = rtl_mac(rtlpriv); local
52 if (mac->opmode == NL80211_IFTYPE_ADHOC ||
53 mac->opmode == NL80211_IFTYPE_MESH_POINT ||
54 mac->opmode == NL80211_IFTYPE_AP) {
66 struct rtl_mac *mac = rtl_mac(rtlpriv); local
70 if ((mac->mode == WIRELESS_MODE_B) || (mac->mode == WIRELESS_MODE_G))
477 struct rtl_mac *mac = rtl_mac(rtlpriv); local
481 if (mac->opmode == NL80211_IFTYPE_STATION &&
482 mac
508 struct rtl_mac *mac = rtl_mac(rtlpriv); local
[all...]
/linux-master/drivers/media/dvb-core/
H A Ddvb_net.c510 /* D-Bit is set: no dest mac present. */
590 /* This includes the CRC32 _and_ dest mac, if !dbit. */
1011 const u8 *mac, u8 *mac_mask)
1030 (*secfilter)->filter_value[3]=mac[5];
1031 (*secfilter)->filter_value[4]=mac[4];
1032 (*secfilter)->filter_value[8]=mac[3];
1033 (*secfilter)->filter_value[9]=mac[2];
1034 (*secfilter)->filter_value[10]=mac[1];
1035 (*secfilter)->filter_value[11]=mac[0];
1045 netdev_dbg(dev, "filter mac
1009 dvb_net_filter_sec_set(struct net_device *dev, struct dmx_section_filter **secfilter, const u8 *mac, u8 *mac_mask) argument
1055 const unsigned char *mac = (const unsigned char *) dev->dev_addr; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h303 u8 mac[ETH_ALEN]; member in struct:vfpf_q_mac_vlan_filter
412 #define MAC_ADDR_VALID 0 /* alert the vf that a new mac address
425 u8 mac[ETH_ALEN]; member in struct:pf_vf_bulletin_content
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.h219 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf);
228 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac);
/linux-master/drivers/media/pci/pluto2/
H A Dpluto2.c532 static void pluto_read_mac(struct pluto *pluto, u8 *mac) argument
535 mac[0] = (val >> 8) & 0xff;
536 mac[1] = (val >> 0) & 0xff;
539 mac[2] = (val >> 8) & 0xff;
540 mac[3] = (val >> 0) & 0xff;
543 mac[4] = (val >> 8) & 0xff;
544 mac[5] = (val >> 0) & 0xff;
546 dev_info(&pluto->pdev->dev, "MAC %pM\n", mac);
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h108 struct ixgbe_mac_info mac; member in struct:ixgbe_hw
149 enum ixgbe_mac_type mac; member in struct:ixgbevf_info
/linux-master/drivers/media/usb/dvb-usb/
H A Dvp7045.c137 static int vp7045_read_mac_addr(struct dvb_usb_device *d,u8 mac[6]) argument
139 return vp7045_read_eeprom(d,mac, 6, MAC_0_ADDR);
/linux-master/include/net/
H A Damt.h251 u64 mac:48, member in struct:amt_tunnel_list
365 u64 mac:48, member in struct:amt_dev
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcommon.h213 struct cmac *mac; member in struct:port_info
330 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
/linux-master/net/core/
H A Dfailover.c20 static struct net_device *failover_get_bymac(u8 *mac, struct failover_ops **ops) argument
28 if (ether_addr_equal(failover_dev->perm_addr, mac)) {
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.h109 struct wil_ring_rx_enhanced_mac mac; member in struct:wil_rx_enhanced_desc
183 struct wil_ring_tx_enhanced_mac mac; member in struct:wil_tx_enhanced_desc
/linux-master/net/llc/
H A Dllc_conn.c465 ether_addr_equal(llc->laddr.mac, laddr->mac) &&
466 ether_addr_equal(llc->daddr.mac, daddr->mac);
470 * __llc_lookup_established - Finds connection for the remote/local sap/mac
477 * mac, remote sap, local mac, and local sap. Returns pointer for
542 ether_addr_equal(llc->laddr.mac, laddr->mac);
589 * local mac, an
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c612 static int az6007_read_mac_addr(struct dvb_usb_adapter *adap, u8 mac[6]) argument
619 memcpy(mac, st->data, 6);
622 pr_debug("%s: mac is %pM\n", __func__, mac);
849 u8 *mac; local
853 mac = kmalloc(6, GFP_ATOMIC);
854 if (!mac)
857 /* Try to read the mac address */
858 ret = __az6007_read(d->udev, AZ6007_READ_DATA, 6, 0, mac, 6);
864 kfree(mac);
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_beacon.c137 mt76x02_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
156 mt76x02_add_buffered_bc(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
/linux-master/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dbeacon.c30 mt7603_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
77 mt7603_add_buffered_bc(void *priv, u8 *mac, struct ieee80211_vif *vif) argument
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dpci.c118 static int ath5k_pci_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) argument
139 memcpy(mac, mac_d, ETH_ALEN);
H A Dahb.c62 static int ath5k_ahb_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) argument
73 memcpy(mac, cfg_mac, ETH_ALEN);
/linux-master/arch/mips/cavium-octeon/
H A Docteon-platform.c570 u64 mac = *pmac; local
573 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address",
578 new_mac[0] = (mac >> 40) & 0xff;
579 new_mac[1] = (mac >> 32) & 0xff;
580 new_mac[2] = (mac >> 24) & 0xff;
581 new_mac[3] = (mac >> 16) & 0xff;
582 new_mac[4] = (mac >> 8) & 0xff;
583 new_mac[5] = mac & 0xff;
585 r = fdt_setprop_inplace(initial_boot_params, n, "local-mac-address",
589 pr_err("Setting \"local-mac
[all...]

Completed in 864 milliseconds

<<11121314151617181920>>