/kernel/linux/linux-4.19/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 137 static void housekeeping_init(struct zd_mac *mac); 138 static void housekeeping_enable(struct zd_mac *mac); 139 static void housekeeping_disable(struct zd_mac *mac); 140 static void beacon_init(struct zd_mac *mac); 141 static void beacon_enable(struct zd_mac *mac); 142 static void beacon_disable(struct zd_mac *mac); 143 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble); 164 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local 166 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, in zd_check_signal() 182 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 125 static void housekeeping_init(struct zd_mac *mac); 126 static void housekeeping_enable(struct zd_mac *mac); 127 static void housekeeping_disable(struct zd_mac *mac); 128 static void beacon_init(struct zd_mac *mac); 129 static void beacon_enable(struct zd_mac *mac); 130 static void beacon_disable(struct zd_mac *mac); 131 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble); 152 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local 154 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, in zd_check_signal() 170 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | xgmac.c | 41 static inline int macidx(const struct cmac *mac) in macidx() argument 43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); in macidx() 46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() argument 54 struct adapter *adap = mac->adapter; in xaui_serdes_reset() 55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; in xaui_serdes_reset() 57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() argument 72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, in t3b_pcs_reset() 75 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0, in t3b_pcs_reset() 79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset() argument [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | xgmac.c | 41 static inline int macidx(const struct cmac *mac) in macidx() argument 43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); in macidx() 46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() argument 54 struct adapter *adap = mac->adapter; in xaui_serdes_reset() 55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; in xaui_serdes_reset() 57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() argument 72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, in t3b_pcs_reset() 75 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0, in t3b_pcs_reset() 79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 83 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() argument 85 return pasemi_read_mac_reg(mac->dma_if, reg); in read_mac_reg() 88 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() argument 91 pasemi_write_mac_reg(mac->dma_if, reg, val); in write_mac_reg() 104 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() argument 106 return mac->rx; in rx_ring() 109 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() argument 111 return mac->tx; in tx_ring() 124 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() argument 126 struct pci_dev *pdev = mac->pdev; in mac_to_intf() [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 94 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() argument 96 return pasemi_read_mac_reg(mac->dma_if, reg); in read_mac_reg() 99 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() argument 102 pasemi_write_mac_reg(mac->dma_if, reg, val); in write_mac_reg() 115 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() argument 117 return mac->rx; in rx_ring() 120 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() argument 122 return mac->tx; in tx_ring() 135 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() argument 137 struct pci_dev *pdev = mac->pdev; in mac_to_intf() [all …]
|
/kernel/linux/linux-4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 41 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 48 mac = bus->mac[macid]; in qtnf_core_get_mac() 50 if (unlikely(!mac)) { in qtnf_core_get_mac() 55 return mac; in qtnf_core_get_mac() 83 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 99 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 100 if (unlikely(!mac)) { in qtnf_netdev_hard_start_xmit() 117 return qtnf_bus_data_tx(mac->bus, skb); in qtnf_netdev_hard_start_xmit() 161 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local 164 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_netdev_tx_timeout() [all …]
|
/kernel/linux/linux-4.19/drivers/staging/mt7621-eth/ |
D | ethtool.c | 48 struct mtk_mac *mac = netdev_priv(dev); in mtk_get_link_ksettings() local 51 if (!mac->phy_dev) in mtk_get_link_ksettings() 54 if (mac->phy_flags == MTK_PHY_FLAG_ATTACH) { in mtk_get_link_ksettings() 55 err = phy_read_status(mac->phy_dev); in mtk_get_link_ksettings() 60 phy_ethtool_ksettings_get(mac->phy_dev, cmd); in mtk_get_link_ksettings() 67 struct mtk_mac *mac = netdev_priv(dev); in mtk_set_link_ksettings() local 69 if (!mac->phy_dev) in mtk_set_link_ksettings() 72 if (cmd->base.phy_address != mac->phy_dev->mdio.addr) { in mtk_set_link_ksettings() 73 if (mac->hw->phy->phy_node[cmd->base.phy_address]) { in mtk_set_link_ksettings() 74 mac->phy_dev = mac->hw->phy->phy[cmd->base.phy_address]; in mtk_set_link_ksettings() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 78 static bool dpaa2_mac_phy_mode_mismatch(struct dpaa2_mac *mac, in dpaa2_mac_phy_mode_mismatch() argument 90 return (interface != mac->if_mode); in dpaa2_mac_phy_mode_mismatch() 100 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_validate() local 104 dpaa2_mac_phy_mode_mismatch(mac, state->interface)) { in dpaa2_mac_validate() 149 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_config() local 150 struct dpmac_link_state *dpmac_state = &mac->state; in dpaa2_mac_config() 158 err = dpmac_set_link_state(mac->mc_io, 0, in dpaa2_mac_config() 159 mac->mc_dev->mc_handle, dpmac_state); in dpaa2_mac_config() 161 netdev_err(mac->net_dev, "%s: dpmac_set_link_state() = %d\n", in dpaa2_mac_config() 171 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_link_up() local [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 361 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() argument 366 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() argument 371 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() argument 376 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() argument 382 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() argument 385 int port = mac->instance->index; in mac_set_address() 387 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address() 389 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address() 392 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address() 394 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 361 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() argument 366 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() argument 371 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() argument 376 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() argument 382 static int mac_set_address(struct cmac* mac, u8 addr[6]) in mac_set_address() argument 385 int port = mac->instance->index; in mac_set_address() 387 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address() 389 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address() 392 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address() 394 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | core.c | 42 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local 50 mac = bus->mac[macid]; in qtnf_core_get_mac() 52 if (unlikely(!mac)) { in qtnf_core_get_mac() 57 return mac; in qtnf_core_get_mac() 84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri() 93 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local 109 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 110 if (unlikely(!mac)) { in qtnf_netdev_hard_start_xmit() 133 return qtnf_bus_data_tx(mac->bus, skb, mac->macid, vif->vifid); in qtnf_netdev_hard_start_xmit() 156 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local [all …]
|
D | cfg80211.c | 78 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local 86 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations() 87 if (!mac) in qtnf_validate_iface_combinations() 91 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations() 112 vif = qtnf_mac_get_base_vif(mac); in qtnf_validate_iface_combinations() 117 mac->macid); in qtnf_validate_iface_combinations() 137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 146 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf() 151 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 170 qtnf_scan_done(vif->mac, true); in qtnf_del_virtual_intf() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/netlogic/ |
D | platform_net.c | 67 int mac; in gmac_controller2_init() local 92 for (mac = 0; mac < 4; mac++) { in gmac_controller2_init() 93 ndata1.tx_stnid[mac] = FMN_STNID_GMAC1_TX0 + mac; in gmac_controller2_init() 94 ndata1.phy_addr[mac] = mac + 4 + 0x10; in gmac_controller2_init() 96 xlr_resource_init(&xlr_net1_res[mac * 2], in gmac_controller2_init() 97 xlr_gmac_offsets[mac + 4], in gmac_controller2_init() 98 xlr_gmac_irqs[mac + 4]); in gmac_controller2_init() 107 int mac; in xls_gmac_init() local 155 for (mac = 0; mac < 4; mac++) { in xls_gmac_init() 156 ndata0.tx_stnid[mac] = FMN_STNID_GMAC0_TX0 + mac; in xls_gmac_init() [all …]
|
/kernel/linux/linux-4.19/drivers/staging/netlogic/ |
D | platform_net.c | 96 int mac; in gmac_controller2_init() local 120 for (mac = 0; mac < 4; mac++) { in gmac_controller2_init() 121 ndata1.tx_stnid[mac] = FMN_STNID_GMAC1_TX0 + mac; in gmac_controller2_init() 122 ndata1.phy_addr[mac] = mac + 4 + 0x10; in gmac_controller2_init() 124 xlr_resource_init(&xlr_net1_res[mac * 2], in gmac_controller2_init() 125 xlr_gmac_offsets[mac + 4], in gmac_controller2_init() 126 xlr_gmac_irqs[mac + 4]); in gmac_controller2_init() 135 int mac; in xls_gmac_init() local 181 for (mac = 0; mac < 4; mac++) { in xls_gmac_init() 182 ndata0.tx_stnid[mac] = FMN_STNID_GMAC0_TX0 + mac; in xls_gmac_init() [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local 33 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 120 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in e1000e_init_rx_addrs() 125 hw->mac.ops.rar_set(hw, mac_addr, i); in e1000e_init_rx_addrs() 152 if (hw->mac.type == e1000_82573) in e1000_check_alt_mac_addr_generic() 191 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in e1000_check_alt_mac_addr_generic() 198 return hw->mac.rar_entry_count; in e1000e_rar_get_count_generic() 252 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr() 285 switch (hw->mac.mc_filter_type) { in e1000_hash_mc_addr() 322 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in e1000e_update_mc_addr_list_generic() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local 33 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 120 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in e1000e_init_rx_addrs() 125 hw->mac.ops.rar_set(hw, mac_addr, i); in e1000e_init_rx_addrs() 152 if (hw->mac.type == e1000_82573) in e1000_check_alt_mac_addr_generic() 191 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in e1000_check_alt_mac_addr_generic() 198 return hw->mac.rar_entry_count; in e1000e_rar_get_count_generic() 252 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr() 285 switch (hw->mac.mc_filter_type) { in e1000_hash_mc_addr() 322 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in e1000e_update_mc_addr_list_generic() [all …]
|
D | 82571.c | 62 switch (hw->mac.type) { in e1000_init_phy_params_82571() 90 switch (hw->mac.type) { in e1000_init_phy_params_82571() 143 switch (hw->mac.type) { in e1000_init_nvm_params_82571() 175 switch (hw->mac.type) { in e1000_init_nvm_params_82571() 194 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local 205 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571() 207 mac->ops.check_for_link = e1000e_check_for_fiber_link; in e1000_init_mac_params_82571() 208 mac->ops.get_link_up_info = in e1000_init_mac_params_82571() 216 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571() 218 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571() [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 28 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 33 mac->mode = &chain_mode_ops; in stmmac_dwmac_mode_quirk() 37 mac->mode = &ring_mode_ops; in stmmac_dwmac_mode_quirk() 43 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 56 mac->desc = &enh_desc_ops; in stmmac_dwmac1_quirks() 59 mac->desc = &ndesc_ops; in stmmac_dwmac1_quirks() 80 const void *mac; member 99 .mac = &dwmac100_ops, 116 .mac = &dwmac1000_ops, 133 .mac = &dwmac4_ops, [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | hwif.c | 40 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local 45 mac->mode = &chain_mode_ops; in stmmac_dwmac_mode_quirk() 49 mac->mode = &ring_mode_ops; in stmmac_dwmac_mode_quirk() 55 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local 68 mac->desc = &enh_desc_ops; in stmmac_dwmac1_quirks() 71 mac->desc = &ndesc_ops; in stmmac_dwmac1_quirks() 99 const void *mac; member 119 .mac = &dwmac100_ops, 137 .mac = &dwmac1000_ops, 155 .mac = &dwmac4_ops, [all …]
|
/kernel/linux/linux-4.19/drivers/staging/rtlwifi/ |
D | core.c | 116 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 137 mac->link_state = MAC80211_NOLINK; in rtl_op_stop() 138 eth_zero_addr(mac->bssid); in rtl_op_stop() 139 mac->vendor = PEER_UNKNOWN; in rtl_op_stop() 180 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 184 if (mac->vif) { in rtl_op_add_interface() 186 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 197 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 200 if (mac->beacon_enabled == 1) { in rtl_op_add_interface() 203 mac->beacon_enabled = 0; in rtl_op_add_interface() [all …]
|
/kernel/linux/linux-4.19/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 335 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 339 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 340 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 347 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 350 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 351 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 358 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 362 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 363 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 370 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_param.c | 324 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 328 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 329 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 336 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 339 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 340 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options() 347 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() 351 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options() 352 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options() 359 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options() [all …]
|
/kernel/linux/linux-4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 170 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 191 mac->link_state = MAC80211_NOLINK; in rtl_op_stop() 192 eth_zero_addr(mac->bssid); in rtl_op_stop() 193 mac->vendor = PEER_UNKNOWN; in rtl_op_stop() 233 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 237 if (mac->vif) { in rtl_op_add_interface() 239 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 250 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 253 if (mac->beacon_enabled == 1) { in rtl_op_add_interface() 256 mac->beacon_enabled = 0; in rtl_op_add_interface() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 150 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local 171 mac->link_state = MAC80211_NOLINK; in rtl_op_stop() 172 eth_zero_addr(mac->bssid); in rtl_op_stop() 173 mac->vendor = PEER_UNKNOWN; in rtl_op_stop() 214 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local 218 if (mac->vif) { in rtl_op_add_interface() 220 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface() 231 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 234 if (mac->beacon_enabled == 1) { in rtl_op_add_interface() 237 mac->beacon_enabled = 0; in rtl_op_add_interface() [all …]
|