From joe at perches.com  Tue Oct  1 22:04:40 2013
From: joe at perches.com (Joe Perches)
Date: Tue, 01 Oct 2013 19:04:40 -0700
Subject: [PATCH net-next] net:drivers/net: Miscellaneous conversions to
 ETH_ALEN
Message-ID: <1380679480.2081.24.camel@joe-AO722>

Convert the memset/memcpy uses of 6 to ETH_ALEN
where appropriate.

Also convert some struct definitions and u8 array
declarations of [6] to ETH_ALEN.

Signed-off-by: Joe Perches <joe at perches.com>
---
 drivers/net/ethernet/8390/ax88796.c                |  2 +-
 drivers/net/ethernet/amd/atarilance.c              |  4 +-
 drivers/net/ethernet/amd/au1000_eth.c              |  2 +-
 drivers/net/ethernet/amd/pcnet32.c                 |  2 +-
 drivers/net/ethernet/apple/bmac.c                  |  4 +-
 drivers/net/ethernet/broadcom/b44.c                |  2 +-
 drivers/net/ethernet/broadcom/bnx2.c               |  6 +-
 drivers/net/ethernet/broadcom/cnic.c               |  4 +-
 drivers/net/ethernet/broadcom/tg3.c                | 10 +--
 drivers/net/ethernet/chelsio/cxgb/pm3393.c         |  4 +-
 drivers/net/ethernet/davicom/dm9000.c              |  2 +-
 .../net/ethernet/freescale/fs_enet/fs_enet-main.c  |  2 +-
 drivers/net/ethernet/freescale/ucc_geth.c          |  2 +-
 drivers/net/ethernet/i825xx/82596.c                |  4 +-
 drivers/net/ethernet/i825xx/lib82596.c             |  6 +-
 drivers/net/ethernet/ibm/emac/core.c               |  2 +-
 drivers/net/ethernet/ibm/ibmveth.c                 |  4 +-
 drivers/net/ethernet/intel/igb/igb_main.c          |  2 +-
 drivers/net/ethernet/intel/igbvf/vf.c              |  4 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c     |  9 +--
 drivers/net/ethernet/intel/ixgbevf/vf.c            |  4 +-
 drivers/net/ethernet/jme.c                         |  4 +-
 drivers/net/ethernet/korina.c                      |  2 +-
 drivers/net/ethernet/marvell/mv643xx_eth.c         |  4 +-
 drivers/net/ethernet/micrel/ks8851_mll.c           |  4 +-
 drivers/net/ethernet/myricom/myri10ge/myri10ge.c   |  4 +-
 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c |  2 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c     |  2 +-
 drivers/net/ethernet/renesas/sh_eth.c              |  2 +-
 drivers/net/ethernet/sgi/meth.c                    |  2 +-
 drivers/net/ethernet/smsc/smsc911x.c               |  2 +-
 drivers/net/ethernet/sun/cassini.c                 |  2 +-
 drivers/net/ethernet/sun/sungem.c                  |  2 +-
 drivers/net/ethernet/sun/sunhme.c                  | 10 +--
 drivers/net/ethernet/sun/sunqe.c                   |  2 +-
 drivers/net/ethernet/ti/davinci_emac.c             |  2 +-
 drivers/net/ethernet/tile/tilegx.c                 |  2 +-
 drivers/net/ethernet/xilinx/xilinx_emaclite.c      |  2 +-
 drivers/net/fddi/skfp/fplustm.c                    |  2 +-
 drivers/net/fddi/skfp/skfddi.c                     |  6 +-
 drivers/net/plip/plip.c                            |  2 +-
 drivers/net/usb/catc.c                             |  8 +-
 drivers/net/wireless/ath/ath10k/wmi.c              |  2 +-
 drivers/net/wireless/ath/wil6210/cfg80211.c        |  4 +-
 drivers/net/wireless/atmel.c                       | 92 +++++++++++-----------
 drivers/net/wireless/b43/xmit.c                    |  2 +-
 drivers/net/wireless/b43legacy/xmit.c              |  2 +-
 drivers/net/wireless/brcm80211/brcmsmac/main.c     |  6 +-
 drivers/net/wireless/hostap/hostap_info.c          |  2 +-
 drivers/net/wireless/ipw2x00/ipw2200.c             |  2 +-
 drivers/net/wireless/prism54/isl_ioctl.c           | 10 +--
 drivers/net/wireless/prism54/islpci_dev.c          |  2 +-
 drivers/net/wireless/prism54/oid_mgt.c             |  2 +-
 drivers/net/wireless/rtlwifi/core.c                | 10 +--
 net/bridge/br_multicast.c                          |  4 +-
 net/bridge/netfilter/ebt_among.c                   |  2 +-
 net/mac80211/trace.h                               |  4 +-
 57 files changed, 146 insertions(+), 149 deletions(-)

diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c
index f92f001..36fa577 100644
--- a/drivers/net/ethernet/8390/ax88796.c
+++ b/drivers/net/ethernet/8390/ax88796.c
@@ -702,7 +702,7 @@ static int ax_init_dev(struct net_device *dev)
 			for (i = 0; i < 16; i++)
 				SA_prom[i] = SA_prom[i+i];
 
-		memcpy(dev->dev_addr, SA_prom, 6);
+		memcpy(dev->dev_addr, SA_prom, ETH_ALEN);
 	}
 
 #ifdef CONFIG_AX88796_93CX6
diff --git a/drivers/net/ethernet/amd/atarilance.c b/drivers/net/ethernet/amd/atarilance.c
index 10ceca5..e07ce5f 100644
--- a/drivers/net/ethernet/amd/atarilance.c
+++ b/drivers/net/ethernet/amd/atarilance.c
@@ -586,10 +586,10 @@ static unsigned long __init lance_probe1( struct net_device *dev,
 	switch( lp->cardtype ) {
 	  case OLD_RIEBL:
 		/* No ethernet address! (Set some default address) */
-		memcpy( dev->dev_addr, OldRieblDefHwaddr, 6 );
+		memcpy(dev->dev_addr, OldRieblDefHwaddr, ETH_ALEN);
 		break;
 	  case NEW_RIEBL:
-		lp->memcpy_f( dev->dev_addr, RIEBL_HWADDR_ADDR, 6 );
+		lp->memcpy_f(dev->dev_addr, RIEBL_HWADDR_ADDR, ETH_ALEN);
 		break;
 	  case PAM_CARD:
 		i = IO->eeprom;
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c
index 91d52b4..427c148 100644
--- a/drivers/net/ethernet/amd/au1000_eth.c
+++ b/drivers/net/ethernet/amd/au1000_eth.c
@@ -1138,7 +1138,7 @@ static int au1000_probe(struct platform_device *pdev)
 		aup->phy1_search_mac0 = 1;
 	} else {
 		if (is_valid_ether_addr(pd->mac)) {
-			memcpy(dev->dev_addr, pd->mac, 6);
+			memcpy(dev->dev_addr, pd->mac, ETH_ALEN);
 		} else {
 			/* Set a random MAC since no valid provided by platform_data. */
 			eth_hw_addr_random(dev);
diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet/amd/pcnet32.c
index 2d8e288..bd4e640 100644
--- a/drivers/net/ethernet/amd/pcnet32.c
+++ b/drivers/net/ethernet/amd/pcnet32.c
@@ -1675,7 +1675,7 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
 				pr_cont(" warning: CSR address invalid,\n");
 				pr_info("    using instead PROM address of");
 			}
-			memcpy(dev->dev_addr, promaddr, 6);
+			memcpy(dev->dev_addr, promaddr, ETH_ALEN);
 		}
 	}
 
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c
index a597b76..daae0e0 100644
--- a/drivers/net/ethernet/apple/bmac.c
+++ b/drivers/net/ethernet/apple/bmac.c
@@ -1220,8 +1220,8 @@ static void bmac_reset_and_enable(struct net_device *dev)
 	if (skb != NULL) {
 		data = skb_put(skb, ETHERMINPACKET);
 		memset(data, 0, ETHERMINPACKET);
-		memcpy(data, dev->dev_addr, 6);
-		memcpy(data+6, dev->dev_addr, 6);
+		memcpy(data, dev->dev_addr, ETH_ALEN);
+		memcpy(data + ETH_ALEN, dev->dev_addr, ETH_ALEN);
 		bmac_transmit_packet(skb, dev);
 	}
 	spin_unlock_irqrestore(&bp->lock, flags);
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c
index c96930f..079a597 100644
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -2111,7 +2111,7 @@ static int b44_get_invariants(struct b44 *bp)
 	 * valid PHY address. */
 	bp->phy_addr &= 0x1F;
 
-	memcpy(bp->dev->dev_addr, addr, 6);
+	memcpy(bp->dev->dev_addr, addr, ETH_ALEN);
 
 	if (!is_valid_ether_addr(&bp->dev->dev_addr[0])){
 		pr_err("Invalid MAC address found in EEPROM\n");
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c
index e838a3f..6111870 100644
--- a/drivers/net/ethernet/broadcom/bnx2.c
+++ b/drivers/net/ethernet/broadcom/bnx2.c
@@ -5761,8 +5761,8 @@ bnx2_run_loopback(struct bnx2 *bp, int loopback_mode)
 	if (!skb)
 		return -ENOMEM;
 	packet = skb_put(skb, pkt_size);
-	memcpy(packet, bp->dev->dev_addr, 6);
-	memset(packet + 6, 0x0, 8);
+	memcpy(packet, bp->dev->dev_addr, ETH_ALEN);
+	memset(packet + ETH_ALEN, 0x0, 8);
 	for (i = 14; i < pkt_size; i++)
 		packet[i] = (unsigned char) (i & 0xff);
 
@@ -8514,7 +8514,7 @@ bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	pci_set_drvdata(pdev, dev);
 
-	memcpy(dev->dev_addr, bp->mac_addr, 6);
+	memcpy(dev->dev_addr, bp->mac_addr, ETH_ALEN);
 
 	dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG |
 		NETIF_F_TSO | NETIF_F_TSO_ECN |
diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c
index 99394bd..f58a8b8 100644
--- a/drivers/net/ethernet/broadcom/cnic.c
+++ b/drivers/net/ethernet/broadcom/cnic.c
@@ -393,7 +393,7 @@ static int cnic_iscsi_nl_msg_recv(struct cnic_dev *dev, u32 msg_type,
 
 			csk->vlan_id = path_resp->vlan_id;
 
-			memcpy(csk->ha, path_resp->mac_addr, 6);
+			memcpy(csk->ha, path_resp->mac_addr, ETH_ALEN);
 			if (test_bit(SK_F_IPV6, &csk->flags))
 				memcpy(&csk->src_ip[0], &path_resp->src.v6_addr,
 				       sizeof(struct in6_addr));
@@ -5572,7 +5572,7 @@ static struct cnic_dev *init_bnx2x_cnic(struct net_device *dev)
 	if (cdev->max_fcoe_conn > BNX2X_FCOE_NUM_CONNECTIONS)
 		cdev->max_fcoe_conn = BNX2X_FCOE_NUM_CONNECTIONS;
 
-	memcpy(cdev->mac_addr, ethdev->iscsi_mac, 6);
+	memcpy(cdev->mac_addr, ethdev->iscsi_mac, ETH_ALEN);
 
 	cp->cnic_ops = &cnic_bnx2x_ops;
 	cp->start_hw = cnic_start_bnx2x_hw;
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index 221a181..d9ed140 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -13207,8 +13207,8 @@ static int tg3_run_loopback(struct tg3 *tp, u32 pktsz, bool tso_loopback)
 		return -ENOMEM;
 
 	tx_data = skb_put(skb, tx_len);
-	memcpy(tx_data, tp->dev->dev_addr, 6);
-	memset(tx_data + 6, 0x0, 8);
+	memcpy(tx_data, tp->dev->dev_addr, ETH_ALEN);
+	memset(tx_data + ETH_ALEN, 0x0, 8);
 
 	tw32(MAC_RX_MTU_SIZE, tx_len + ETH_FCS_LEN);
 
@@ -16654,8 +16654,8 @@ static int tg3_get_macaddr_sparc(struct tg3 *tp)
 	int len;
 
 	addr = of_get_property(dp, "local-mac-address", &len);
-	if (addr && len == 6) {
-		memcpy(dev->dev_addr, addr, 6);
+	if (addr && len == ETH_ALEN) {
+		memcpy(dev->dev_addr, addr, ETH_ALEN);
 		return 0;
 	}
 	return -ENODEV;
@@ -16665,7 +16665,7 @@ static int tg3_get_default_macaddr_sparc(struct tg3 *tp)
 {
 	struct net_device *dev = tp->dev;
 
-	memcpy(dev->dev_addr, idprom->id_ethaddr, 6);
+	memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
 	return 0;
 }
 #endif
diff --git a/drivers/net/ethernet/chelsio/cxgb/pm3393.c b/drivers/net/ethernet/chelsio/cxgb/pm3393.c
index 40c7b93..eb33a31 100644
--- a/drivers/net/ethernet/chelsio/cxgb/pm3393.c
+++ b/drivers/net/ethernet/chelsio/cxgb/pm3393.c
@@ -499,7 +499,7 @@ static const struct cmac_statistics *pm3393_update_statistics(struct cmac *mac,
 
 static int pm3393_macaddress_get(struct cmac *cmac, u8 mac_addr[6])
 {
-	memcpy(mac_addr, cmac->instance->mac_addr, 6);
+	memcpy(mac_addr, cmac->instance->mac_addr, ETH_ALEN);
 	return 0;
 }
 
@@ -526,7 +526,7 @@ static int pm3393_macaddress_set(struct cmac *cmac, u8 ma[6])
 	 */
 
 	/* Store local copy */
-	memcpy(cmac->instance->mac_addr, ma, 6);
+	memcpy(cmac->instance->mac_addr, ma, ETH_ALEN);
 
 	lo  = ((u32) ma[1] << 8) | (u32) ma[0];
 	mid = ((u32) ma[3] << 8) | (u32) ma[2];
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c
index 5f5896e..be8efee 100644
--- a/drivers/net/ethernet/davicom/dm9000.c
+++ b/drivers/net/ethernet/davicom/dm9000.c
@@ -1603,7 +1603,7 @@ dm9000_probe(struct platform_device *pdev)
 
 	if (!is_valid_ether_addr(ndev->dev_addr) && pdata != NULL) {
 		mac_src = "platform data";
-		memcpy(ndev->dev_addr, pdata->dev_addr, 6);
+		memcpy(ndev->dev_addr, pdata->dev_addr, ETH_ALEN);
 	}
 
 	if (!is_valid_ether_addr(ndev->dev_addr)) {
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
index 6b60582..56f2f60 100644
--- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
+++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
@@ -1083,7 +1083,7 @@ static int fs_enet_probe(struct platform_device *ofdev)
 
 	mac_addr = of_get_mac_address(ofdev->dev.of_node);
 	if (mac_addr)
-		memcpy(ndev->dev_addr, mac_addr, 6);
+		memcpy(ndev->dev_addr, mac_addr, ETH_ALEN);
 
 	ret = fep->ops->allocate_bd(ndev);
 	if (ret)
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c
index 5930c39..d58a3df 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.c
+++ b/drivers/net/ethernet/freescale/ucc_geth.c
@@ -3899,7 +3899,7 @@ static int ucc_geth_probe(struct platform_device* ofdev)
 
 	mac_addr = of_get_mac_address(np);
 	if (mac_addr)
-		memcpy(dev->dev_addr, mac_addr, 6);
+		memcpy(dev->dev_addr, mac_addr, ETH_ALEN);
 
 	ugeth->ug_info = ug_info;
 	ugeth->dev = device;
diff --git a/drivers/net/ethernet/i825xx/82596.c b/drivers/net/ethernet/i825xx/82596.c
index e388161..a15877a 100644
--- a/drivers/net/ethernet/i825xx/82596.c
+++ b/drivers/net/ethernet/i825xx/82596.c
@@ -711,7 +711,7 @@ static int init_i596_mem(struct net_device *dev)
 	i596_add_cmd(dev, &lp->cf_cmd.cmd);
 
 	DEB(DEB_INIT,printk(KERN_DEBUG "%s: queuing CmdSASetup\n", dev->name));
-	memcpy(lp->sa_cmd.eth_addr, dev->dev_addr, 6);
+	memcpy(lp->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN);
 	lp->sa_cmd.cmd.command = CmdSASetup;
 	i596_add_cmd(dev, &lp->sa_cmd.cmd);
 
@@ -1155,7 +1155,7 @@ struct net_device * __init i82596_probe(int unit)
 			err = -ENODEV;
 			goto out;
 		}
-		memcpy(eth_addr, (void *) 0xfffc1f2c, 6);	/* YUCK! Get addr from NOVRAM */
+		memcpy(eth_addr, (void *) 0xfffc1f2c, ETH_ALEN);	/* YUCK! Get addr from NOVRAM */
 		dev->base_addr = MVME_I596_BASE;
 		dev->irq = (unsigned) MVME16x_IRQ_I596;
 		goto found;
diff --git a/drivers/net/ethernet/i825xx/lib82596.c b/drivers/net/ethernet/i825xx/lib82596.c
index d653bac..861fa15 100644
--- a/drivers/net/ethernet/i825xx/lib82596.c
+++ b/drivers/net/ethernet/i825xx/lib82596.c
@@ -607,7 +607,7 @@ static int init_i596_mem(struct net_device *dev)
 	i596_add_cmd(dev, &dma->cf_cmd.cmd);
 
 	DEB(DEB_INIT, printk(KERN_DEBUG "%s: queuing CmdSASetup\n", dev->name));
-	memcpy(dma->sa_cmd.eth_addr, dev->dev_addr, 6);
+	memcpy(dma->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN);
 	dma->sa_cmd.cmd.command = SWAP16(CmdSASetup);
 	DMA_WBACK(dev, &(dma->sa_cmd), sizeof(struct sa_cmd));
 	i596_add_cmd(dev, &dma->sa_cmd.cmd);
@@ -1396,13 +1396,13 @@ static void set_multicast_list(struct net_device *dev)
 		netdev_for_each_mc_addr(ha, dev) {
 			if (!cnt--)
 				break;
-			memcpy(cp, ha->addr, 6);
+			memcpy(cp, ha->addr, ETH_ALEN);
 			if (i596_debug > 1)
 				DEB(DEB_MULTI,
 				    printk(KERN_DEBUG
 					   "%s: Adding address %pM\n",
 					   dev->name, cp));
-			cp += 6;
+			cp += ETH_ALEN;
 		}
 		DMA_WBACK_INV(dev, &dma->mc_cmd, sizeof(struct mc_cmd));
 		i596_add_cmd(dev, &cmd->cmd);
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c
index 6b5c722..ef21a2e 100644
--- a/drivers/net/ethernet/ibm/emac/core.c
+++ b/drivers/net/ethernet/ibm/emac/core.c
@@ -2676,7 +2676,7 @@ static int emac_init_config(struct emac_instance *dev)
 		       np->full_name);
 		return -ENXIO;
 	}
-	memcpy(dev->ndev->dev_addr, p, 6);
+	memcpy(dev->ndev->dev_addr, p, ETH_ALEN);
 
 	/* IAHT and GAHT filter parameterization */
 	if (emac_has_feature(dev, EMAC_FTR_EMAC4SYNC)) {
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c
index 5d41aee..952d795 100644
--- a/drivers/net/ethernet/ibm/ibmveth.c
+++ b/drivers/net/ethernet/ibm/ibmveth.c
@@ -1185,7 +1185,7 @@ static void ibmveth_set_multicast_list(struct net_device *netdev)
 		netdev_for_each_mc_addr(ha, netdev) {
 			/* add the multicast address to the filter table */
 			unsigned long mcast_addr = 0;
-			memcpy(((char *)&mcast_addr)+2, ha->addr, 6);
+			memcpy(((char *)&mcast_addr)+2, ha->addr, ETH_ALEN);
 			lpar_rc = h_multicast_ctrl(adapter->vdev->unit_address,
 						   IbmVethMcastAddFilter,
 						   mcast_addr);
@@ -1370,7 +1370,7 @@ static int ibmveth_probe(struct vio_dev *dev, const struct vio_device_id *id)
 	netif_napi_add(netdev, &adapter->napi, ibmveth_poll, 16);
 
 	adapter->mac_addr = 0;
-	memcpy(&adapter->mac_addr, mac_addr_p, 6);
+	memcpy(&adapter->mac_addr, mac_addr_p, ETH_ALEN);
 
 	netdev->irq = dev->irq;
 	netdev->netdev_ops = &ibmveth_netdev_ops;
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index a56266e..a505d3b 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -5708,7 +5708,7 @@ static void igb_vf_reset_msg(struct igb_adapter *adapter, u32 vf)
 
 	/* reply to reset with ack and vf mac address */
 	msgbuf[0] = E1000_VF_RESET | E1000_VT_MSGTYPE_ACK;
-	memcpy(addr, vf_mac, 6);
+	memcpy(addr, vf_mac, ETH_ALEN);
 	igb_write_mbx(hw, msgbuf, 3, vf);
 }
 
diff --git a/drivers/net/ethernet/intel/igbvf/vf.c b/drivers/net/ethernet/intel/igbvf/vf.c
index eea0e10..955ad8c 100644
--- a/drivers/net/ethernet/intel/igbvf/vf.c
+++ b/drivers/net/ethernet/intel/igbvf/vf.c
@@ -154,7 +154,7 @@ static s32 e1000_reset_hw_vf(struct e1000_hw *hw)
 		ret_val = mbx->ops.read_posted(hw, msgbuf, 3);
 		if (!ret_val) {
 			if (msgbuf[0] == (E1000_VF_RESET | E1000_VT_MSGTYPE_ACK))
-				memcpy(hw->mac.perm_addr, addr, 6);
+				memcpy(hw->mac.perm_addr, addr, ETH_ALEN);
 			else
 				ret_val = -E1000_ERR_MAC_INIT;
 		}
@@ -314,7 +314,7 @@ static void e1000_rar_set_vf(struct e1000_hw *hw, u8 * addr, u32 index)
 
 	memset(msgbuf, 0, 12);
 	msgbuf[0] = E1000_VF_SET_MAC_ADDR;
-	memcpy(msg_addr, addr, 6);
+	memcpy(msg_addr, addr, ETH_ALEN);
 	ret_val = mbx->ops.write_posted(hw, msgbuf, 3);
 
 	if (!ret_val)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
index 276d7b1..1fe7cb0 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
@@ -558,7 +558,7 @@ static int ixgbe_set_vf_mac(struct ixgbe_adapter *adapter,
 	struct ixgbe_hw *hw = &adapter->hw;
 	int rar_entry = hw->mac.num_rar_entries - (vf + 1);
 
-	memcpy(adapter->vfinfo[vf].vf_mac_addresses, mac_addr, 6);
+	memcpy(adapter->vfinfo[vf].vf_mac_addresses, mac_addr, ETH_ALEN);
 	hw->mac.ops.set_rar(hw, rar_entry, mac_addr, vf, IXGBE_RAH_AV);
 
 	return 0;
@@ -621,16 +621,13 @@ static int ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter,
 
 int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask)
 {
-	unsigned char vf_mac_addr[6];
 	struct ixgbe_adapter *adapter = pci_get_drvdata(pdev);
 	unsigned int vfn = (event_mask & 0x3f);
 
 	bool enable = ((event_mask & 0x10000000U) != 0);
 
-	if (enable) {
-		eth_zero_addr(vf_mac_addr);
-		memcpy(adapter->vfinfo[vfn].vf_mac_addresses, vf_mac_addr, 6);
-	}
+	if (enable)
+		eth_zero_addr(adapter->vfinfo[vfn].vf_mac_addresses);
 
 	return 0;
 }
diff --git a/drivers/net/ethernet/intel/ixgbevf/vf.c b/drivers/net/ethernet/intel/ixgbevf/vf.c
index 387b526..4d44d64 100644
--- a/drivers/net/ethernet/intel/ixgbevf/vf.c
+++ b/drivers/net/ethernet/intel/ixgbevf/vf.c
@@ -242,7 +242,7 @@ static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr)
 	msgbuf[0] |= index << IXGBE_VT_MSGINFO_SHIFT;
 	msgbuf[0] |= IXGBE_VF_SET_MACVLAN;
 	if (addr)
-		memcpy(msg_addr, addr, 6);
+		memcpy(msg_addr, addr, ETH_ALEN);
 	ret_val = mbx->ops.write_posted(hw, msgbuf, 3);
 
 	if (!ret_val)
@@ -275,7 +275,7 @@ static s32 ixgbevf_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr,
 
 	memset(msgbuf, 0, sizeof(msgbuf));
 	msgbuf[0] = IXGBE_VF_SET_MAC_ADDR;
-	memcpy(msg_addr, addr, 6);
+	memcpy(msg_addr, addr, ETH_ALEN);
 	ret_val = mbx->ops.write_posted(hw, msgbuf, 3);
 
 	if (!ret_val)
diff --git a/drivers/net/ethernet/jme.c b/drivers/net/ethernet/jme.c
index 23de82a..b56d2a2 100644
--- a/drivers/net/ethernet/jme.c
+++ b/drivers/net/ethernet/jme.c
@@ -309,7 +309,7 @@ static void
 jme_load_macaddr(struct net_device *netdev)
 {
 	struct jme_adapter *jme = netdev_priv(netdev);
-	unsigned char macaddr[6];
+	unsigned char macaddr[ETH_ALEN];
 	u32 val;
 
 	spin_lock_bh(&jme->macaddr_lock);
@@ -321,7 +321,7 @@ jme_load_macaddr(struct net_device *netdev)
 	val = jread32(jme, JME_RXUMA_HI);
 	macaddr[4] = (val >>  0) & 0xFF;
 	macaddr[5] = (val >>  8) & 0xFF;
-	memcpy(netdev->dev_addr, macaddr, 6);
+	memcpy(netdev->dev_addr, macaddr, ETH_ALEN);
 	spin_unlock_bh(&jme->macaddr_lock);
 }
 
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
index a36fa80..4a5e3b0 100644
--- a/drivers/net/ethernet/korina.c
+++ b/drivers/net/ethernet/korina.c
@@ -1110,7 +1110,7 @@ static int korina_probe(struct platform_device *pdev)
 	lp = netdev_priv(dev);
 
 	bif->dev = dev;
-	memcpy(dev->dev_addr, bif->mac, 6);
+	memcpy(dev->dev_addr, bif->mac, ETH_ALEN);
 
 	lp->rx_irq = platform_get_irq_byname(pdev, "korina_rx");
 	lp->tx_irq = platform_get_irq_byname(pdev, "korina_tx");
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 7fb5677..99f16cb 100644
--- a/drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c
@@ -2514,7 +2514,7 @@ static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev,
 
 	mac_addr = of_get_mac_address(pnp);
 	if (mac_addr)
-		memcpy(ppd.mac_addr, mac_addr, 6);
+		memcpy(ppd.mac_addr, mac_addr, ETH_ALEN);
 
 	mv643xx_eth_property(pnp, "tx-queue-size", ppd.tx_queue_size);
 	mv643xx_eth_property(pnp, "tx-sram-addr", ppd.tx_sram_addr);
@@ -2696,7 +2696,7 @@ static void set_params(struct mv643xx_eth_private *mp,
 	struct net_device *dev = mp->dev;
 
 	if (is_valid_ether_addr(pd->mac_addr))
-		memcpy(dev->dev_addr, pd->mac_addr, 6);
+		memcpy(dev->dev_addr, pd->mac_addr, ETH_ALEN);
 	else
 		uc_addr_get(mp, dev->dev_addr);
 
diff --git a/drivers/net/ethernet/micrel/ks8851_mll.c b/drivers/net/ethernet/micrel/ks8851_mll.c
index 075f4e2..c83d16d 100644
--- a/drivers/net/ethernet/micrel/ks8851_mll.c
+++ b/drivers/net/ethernet/micrel/ks8851_mll.c
@@ -1248,7 +1248,7 @@ static void ks_set_mac(struct ks_net *ks, u8 *data)
 	w = ((u & 0xFF) << 8) | ((u >> 8) & 0xFF);
 	ks_wrreg16(ks, KS_MARL, w);
 
-	memcpy(ks->mac_addr, data, 6);
+	memcpy(ks->mac_addr, data, ETH_ALEN);
 
 	if (ks->enabled)
 		ks_start_rx(ks);
@@ -1651,7 +1651,7 @@ static int ks8851_probe(struct platform_device *pdev)
 	}
 	netdev_info(netdev, "Mac address is: %pM\n", ks->mac_addr);
 
-	memcpy(netdev->dev_addr, ks->mac_addr, 6);
+	memcpy(netdev->dev_addr, ks->mac_addr, ETH_ALEN);
 
 	ks_set_mac(ks, netdev->dev_addr);
 
diff --git a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
index 149355b..6ddaf7b 100644
--- a/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
+++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge.c
@@ -3164,7 +3164,7 @@ static void myri10ge_set_multicast_list(struct net_device *dev)
 
 	/* Walk the multicast list, and add each address */
 	netdev_for_each_mc_addr(ha, dev) {
-		memcpy(data, &ha->addr, 6);
+		memcpy(data, &ha->addr, ETH_ALEN);
 		cmd.data0 = ntohl(data[0]);
 		cmd.data1 = ntohl(data[1]);
 		err = myri10ge_send_cmd(mgp, MXGEFW_JOIN_MULTICAST_GROUP,
@@ -3207,7 +3207,7 @@ static int myri10ge_set_mac_address(struct net_device *dev, void *addr)
 	}
 
 	/* change the dev structure */
-	memcpy(dev->dev_addr, sa->sa_data, 6);
+	memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN);
 	return 0;
 }
 
diff --git a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
index 8375cbd..67efe75 100644
--- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
+++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
@@ -648,7 +648,7 @@ nx_p3_sre_macaddr_change(struct netxen_adapter *adapter, u8 *addr, unsigned op)
 
 	mac_req = (nx_mac_req_t *)&req.words[0];
 	mac_req->op = op;
-	memcpy(mac_req->mac_addr, addr, 6);
+	memcpy(mac_req->mac_addr, addr, ETH_ALEN);
 
 	return netxen_send_cmd_descs(adapter, (struct cmd_desc_type0 *)&req, 1);
 }
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
index f8adc7b..73e72eb 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
@@ -445,7 +445,7 @@ int qlcnic_82xx_sre_macaddr_change(struct qlcnic_adapter *adapter, u8 *addr,
 
 	mac_req = (struct qlcnic_mac_req *)&req.words[0];
 	mac_req->op = op;
-	memcpy(mac_req->mac_addr, addr, 6);
+	memcpy(mac_req->mac_addr, addr, ETH_ALEN);
 
 	vlan_req = (struct qlcnic_vlan_req *)&req.words[1];
 	vlan_req->vlan_id = cpu_to_le16(vlan_id);
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index 5cd831e..c8df52b 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -868,7 +868,7 @@ static void update_mac_address(struct net_device *ndev)
 static void read_mac_address(struct net_device *ndev, unsigned char *mac)
 {
 	if (mac[0] || mac[1] || mac[2] || mac[3] || mac[4] || mac[5]) {
-		memcpy(ndev->dev_addr, mac, 6);
+		memcpy(ndev->dev_addr, mac, ETH_ALEN);
 	} else {
 		ndev->dev_addr[0] = (sh_eth_read(ndev, MAHR) >> 24);
 		ndev->dev_addr[1] = (sh_eth_read(ndev, MAHR) >> 16) & 0xFF;
diff --git a/drivers/net/ethernet/sgi/meth.c b/drivers/net/ethernet/sgi/meth.c
index 770036b..513ed8b 100644
--- a/drivers/net/ethernet/sgi/meth.c
+++ b/drivers/net/ethernet/sgi/meth.c
@@ -839,7 +839,7 @@ static int meth_probe(struct platform_device *pdev)
 	dev->watchdog_timeo	= timeout;
 	dev->irq		= MACE_ETHERNET_IRQ;
 	dev->base_addr		= (unsigned long)&mace->eth;
-	memcpy(dev->dev_addr, o2meth_eaddr, 6);
+	memcpy(dev->dev_addr, o2meth_eaddr, ETH_ALEN);
 
 	priv = netdev_priv(dev);
 	spin_lock_init(&priv->meth_lock);
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c
index 5fdbc26..01f8459 100644
--- a/drivers/net/ethernet/smsc/smsc911x.c
+++ b/drivers/net/ethernet/smsc/smsc911x.c
@@ -2502,7 +2502,7 @@ static int smsc911x_drv_probe(struct platform_device *pdev)
 		SMSC_TRACE(pdata, probe,
 			   "MAC Address is specified by configuration");
 	} else if (is_valid_ether_addr(pdata->config.mac)) {
-		memcpy(dev->dev_addr, pdata->config.mac, 6);
+		memcpy(dev->dev_addr, pdata->config.mac, ETH_ALEN);
 		SMSC_TRACE(pdata, probe,
 			   "MAC Address specified by platform data");
 	} else {
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c
index 759441b..a72ecc4 100644
--- a/drivers/net/ethernet/sun/cassini.c
+++ b/drivers/net/ethernet/sun/cassini.c
@@ -3354,7 +3354,7 @@ use_random_mac_addr:
 #if defined(CONFIG_SPARC)
 	addr = of_get_property(cp->of_node, "local-mac-address", NULL);
 	if (addr != NULL) {
-		memcpy(dev_addr, addr, 6);
+		memcpy(dev_addr, addr, ETH_ALEN);
 		goto done;
 	}
 #endif
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c
index e62df2b..a235bd9 100644
--- a/drivers/net/ethernet/sun/sungem.c
+++ b/drivers/net/ethernet/sun/sungem.c
@@ -2779,7 +2779,7 @@ static int gem_get_device_address(struct gem *gp)
 		return -1;
 #endif
 	}
-	memcpy(dev->dev_addr, addr, 6);
+	memcpy(dev->dev_addr, addr, ETH_ALEN);
 #else
 	get_gem_mac_nonobp(gp->pdev, gp->dev->dev_addr);
 #endif
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c
index e37b587..99043b7 100644
--- a/drivers/net/ethernet/sun/sunhme.c
+++ b/drivers/net/ethernet/sun/sunhme.c
@@ -2675,10 +2675,10 @@ static int happy_meal_sbus_probe_one(struct platform_device *op, int is_qfe)
 
 		addr = of_get_property(dp, "local-mac-address", &len);
 
-		if (qfe_slot != -1 && addr && len == 6)
-			memcpy(dev->dev_addr, addr, 6);
+		if (qfe_slot != -1 && addr && len == ETH_ALEN)
+			memcpy(dev->dev_addr, addr, ETH_ALEN);
 		else
-			memcpy(dev->dev_addr, idprom->id_ethaddr, 6);
+			memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
 	}
 
 	hp = netdev_priv(dev);
@@ -3024,9 +3024,9 @@ static int happy_meal_pci_probe(struct pci_dev *pdev,
 		    (addr = of_get_property(dp, "local-mac-address", &len))
 			!= NULL &&
 		    len == 6) {
-			memcpy(dev->dev_addr, addr, 6);
+			memcpy(dev->dev_addr, addr, ETH_ALEN);
 		} else {
-			memcpy(dev->dev_addr, idprom->id_ethaddr, 6);
+			memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
 		}
 #else
 		get_hme_mac_nonsparc(pdev, &dev->dev_addr[0]);
diff --git a/drivers/net/ethernet/sun/sunqe.c b/drivers/net/ethernet/sun/sunqe.c
index b072f4d..5695ae2 100644
--- a/drivers/net/ethernet/sun/sunqe.c
+++ b/drivers/net/ethernet/sun/sunqe.c
@@ -843,7 +843,7 @@ static int qec_ether_init(struct platform_device *op)
 	if (!dev)
 		return -ENOMEM;
 
-	memcpy(dev->dev_addr, idprom->id_ethaddr, 6);
+	memcpy(dev->dev_addr, idprom->id_ethaddr, ETH_ALEN);
 
 	qe = netdev_priv(dev);
 
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index 67df09e..fba1c48 100644
--- a/drivers/net/ethernet/ti/davinci_emac.c
+++ b/drivers/net/ethernet/ti/davinci_emac.c
@@ -1853,7 +1853,7 @@ static int davinci_emac_probe(struct platform_device *pdev)
 	}
 
 	/* MAC addr and PHY mask , RMII enable info from platform_data */
-	memcpy(priv->mac_addr, pdata->mac_addr, 6);
+	memcpy(priv->mac_addr, pdata->mac_addr, ETH_ALEN);
 	priv->phy_id = pdata->phy_id;
 	priv->rmii_en = pdata->rmii_en;
 	priv->version = pdata->version;
diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c
index 13e6fff..628b736 100644
--- a/drivers/net/ethernet/tile/tilegx.c
+++ b/drivers/net/ethernet/tile/tilegx.c
@@ -2230,7 +2230,7 @@ static void tile_net_dev_init(const char *name, const uint8_t *mac)
 		nz_addr |= mac[i];
 
 	if (nz_addr) {
-		memcpy(dev->dev_addr, mac, 6);
+		memcpy(dev->dev_addr, mac, ETH_ALEN);
 		dev->addr_len = 6;
 	} else {
 		eth_hw_addr_random(dev);
diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 80dd404..74234a5 100644
--- a/drivers/net/ethernet/xilinx/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
@@ -1172,7 +1172,7 @@ static int xemaclite_of_probe(struct platform_device *ofdev)
 
 	if (mac_address)
 		/* Set the MAC address. */
-		memcpy(ndev->dev_addr, mac_address, 6);
+		memcpy(ndev->dev_addr, mac_address, ETH_ALEN);
 	else
 		dev_warn(dev, "No MAC address found\n");
 
diff --git a/drivers/net/fddi/skfp/fplustm.c b/drivers/net/fddi/skfp/fplustm.c
index a20ed1a..f839935 100644
--- a/drivers/net/fddi/skfp/fplustm.c
+++ b/drivers/net/fddi/skfp/fplustm.c
@@ -453,7 +453,7 @@ static void directed_beacon(struct s_smc *smc)
 	 */
 	* (char *) a = (char) ((long)DBEACON_INFO<<24L) ;
 	a[1] = 0 ;
-	memcpy((char *)a+1,(char *) &smc->mib.m[MAC0].fddiMACUpstreamNbr,6) ;
+	memcpy((char *)a+1, (char *) &smc->mib.m[MAC0].fddiMACUpstreamNbr, ETH_ALEN);
 
 	CHECK_NPP() ;
 	 /* set memory address reg for writes */
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c
index f5d7305..713d303 100644
--- a/drivers/net/fddi/skfp/skfddi.c
+++ b/drivers/net/fddi/skfp/skfddi.c
@@ -436,7 +436,7 @@ static  int skfp_driver_init(struct net_device *dev)
 	}
 	read_address(smc, NULL);
 	pr_debug("HW-Addr: %pMF\n", smc->hw.fddi_canon_addr.a);
-	memcpy(dev->dev_addr, smc->hw.fddi_canon_addr.a, 6);
+	memcpy(dev->dev_addr, smc->hw.fddi_canon_addr.a, ETH_ALEN);
 
 	smt_reset_defaults(smc, 0);
 
@@ -503,7 +503,7 @@ static int skfp_open(struct net_device *dev)
 	 *               address.
 	 */
 	read_address(smc, NULL);
-	memcpy(dev->dev_addr, smc->hw.fddi_canon_addr.a, 6);
+	memcpy(dev->dev_addr, smc->hw.fddi_canon_addr.a, ETH_ALEN);
 
 	init_smt(smc, NULL);
 	smt_online(smc, 1);
@@ -1213,7 +1213,7 @@ static void CheckSourceAddress(unsigned char *frame, unsigned char *hw_addr)
 	if ((unsigned short) frame[1 + 10] != 0)
 		return;
 	SRBit = frame[1 + 6] & 0x01;
-	memcpy(&frame[1 + 6], hw_addr, 6);
+	memcpy(&frame[1 + 6], hw_addr, ETH_ALEN);
 	frame[8] |= SRBit;
 }				// CheckSourceAddress
 
diff --git a/drivers/net/plip/plip.c b/drivers/net/plip/plip.c
index 1f7bef9..7b4ff35 100644
--- a/drivers/net/plip/plip.c
+++ b/drivers/net/plip/plip.c
@@ -1002,7 +1002,7 @@ plip_rewrite_address(const struct net_device *dev, struct ethhdr *eth)
 		/* Any address will do - we take the first */
 		const struct in_ifaddr *ifa = in_dev->ifa_list;
 		if (ifa) {
-			memcpy(eth->h_source, dev->dev_addr, 6);
+			memcpy(eth->h_source, dev->dev_addr, ETH_ALEN);
 			memset(eth->h_dest, 0xfc, 2);
 			memcpy(eth->h_dest+2, &ifa->ifa_address, 4);
 		}
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c
index 8d5cac2..df507e6 100644
--- a/drivers/net/usb/catc.c
+++ b/drivers/net/usb/catc.c
@@ -640,10 +640,10 @@ static void catc_set_multicast_list(struct net_device *netdev)
 {
 	struct catc *catc = netdev_priv(netdev);
 	struct netdev_hw_addr *ha;
-	u8 broadcast[6];
+	u8 broadcast[ETH_ALEN];
 	u8 rx = RxEnable | RxPolarity | RxMultiCast;
 
-	memset(broadcast, 0xff, 6);
+	memset(broadcast, 0xff, ETH_ALEN);
 	memset(catc->multicast, 0, 64);
 
 	catc_multicast(broadcast, catc->multicast);
@@ -778,7 +778,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id
 	struct usb_device *usbdev = interface_to_usbdev(intf);
 	struct net_device *netdev;
 	struct catc *catc;
-	u8 broadcast[6];
+	u8 broadcast[ETH_ALEN];
 	int i, pktsz;
 
 	if (usb_set_interface(usbdev,
@@ -882,7 +882,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id
 		
 		dev_dbg(dev, "Filling the multicast list.\n");
 	  
-		memset(broadcast, 0xff, 6);
+		memset(broadcast, 0xff, ETH_ALEN);
 		catc_multicast(broadcast, catc->multicast);
 		catc_multicast(netdev->dev_addr, catc->multicast);
 		catc_write_mem(catc, 0xfa80, catc->multicast, 64);
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c
index 55f90c7..bee88e8 100644
--- a/drivers/net/wireless/ath/ath10k/wmi.c
+++ b/drivers/net/wireless/ath/ath10k/wmi.c
@@ -1918,7 +1918,7 @@ int ath10k_wmi_peer_set_param(struct ath10k *ar, u32 vdev_id,
 	cmd->vdev_id     = __cpu_to_le32(vdev_id);
 	cmd->param_id    = __cpu_to_le32(param_id);
 	cmd->param_value = __cpu_to_le32(param_value);
-	memcpy(&cmd->peer_macaddr.addr, peer_addr, 6);
+	memcpy(&cmd->peer_macaddr.addr, peer_addr, ETH_ALEN);
 
 	ath10k_dbg(ATH10K_DBG_WMI,
 		   "wmi vdev %d peer 0x%pM set param %d value %d\n",
diff --git a/drivers/net/wireless/ath/wil6210/cfg80211.c b/drivers/net/wireless/ath/wil6210/cfg80211.c
index 61c302a..5b34076 100644
--- a/drivers/net/wireless/ath/wil6210/cfg80211.c
+++ b/drivers/net/wireless/ath/wil6210/cfg80211.c
@@ -316,8 +316,8 @@ static int wil_cfg80211_connect(struct wiphy *wiphy,
 	}
 	conn.channel = ch - 1;
 
-	memcpy(conn.bssid, bss->bssid, 6);
-	memcpy(conn.dst_mac, bss->bssid, 6);
+	memcpy(conn.bssid, bss->bssid, ETH_ALEN);
+	memcpy(conn.dst_mac, bss->bssid, ETH_ALEN);
 	/*
 	 * FW don't support scan after connection attempt
 	 */
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c
index b827d51..a55ae64 100644
--- a/drivers/net/wireless/atmel.c
+++ b/drivers/net/wireless/atmel.c
@@ -844,18 +844,18 @@ static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev)
 	if (priv->wep_is_on)
 		frame_ctl |= IEEE80211_FCTL_PROTECTED;
 	if (priv->operating_mode == IW_MODE_ADHOC) {
-		skb_copy_from_linear_data(skb, &header.addr1, 6);
-		memcpy(&header.addr2, dev->dev_addr, 6);
-		memcpy(&header.addr3, priv->BSSID, 6);
+		skb_copy_from_linear_data(skb, &header.addr1, ETH_ALEN);
+		memcpy(&header.addr2, dev->dev_addr, ETH_ALEN);
+		memcpy(&header.addr3, priv->BSSID, ETH_ALEN);
 	} else {
 		frame_ctl |= IEEE80211_FCTL_TODS;
-		memcpy(&header.addr1, priv->CurrentBSSID, 6);
-		memcpy(&header.addr2, dev->dev_addr, 6);
-		skb_copy_from_linear_data(skb, &header.addr3, 6);
+		memcpy(&header.addr1, priv->CurrentBSSID, ETH_ALEN);
+		memcpy(&header.addr2, dev->dev_addr, ETH_ALEN);
+		skb_copy_from_linear_data(skb, &header.addr3, ETH_ALEN);
 	}
 
 	if (priv->use_wpa)
-		memcpy(&header.addr4, SNAP_RFC1024, 6);
+		memcpy(&header.addr4, SNAP_RFC1024, ETH_ALEN);
 
 	header.frame_control = cpu_to_le16(frame_ctl);
 	/* Copy the wireless header into the card */
@@ -929,11 +929,11 @@ static void fast_rx_path(struct atmel_private *priv,
 		}
 	}
 
-	memcpy(skbp, header->addr1, 6); /* destination address */
+	memcpy(skbp, header->addr1, ETH_ALEN); /* destination address */
 	if (le16_to_cpu(header->frame_control) & IEEE80211_FCTL_FROMDS)
-		memcpy(&skbp[6], header->addr3, 6);
+		memcpy(&skbp[ETH_ALEN], header->addr3, ETH_ALEN);
 	else
-		memcpy(&skbp[6], header->addr2, 6); /* source address */
+		memcpy(&skbp[ETH_ALEN], header->addr2, ETH_ALEN); /* source address */
 
 	skb->protocol = eth_type_trans(skb, priv->dev);
 	skb->ip_summed = CHECKSUM_NONE;
@@ -969,14 +969,14 @@ static void frag_rx_path(struct atmel_private *priv,
 			 u16 msdu_size, u16 rx_packet_loc, u32 crc, u16 seq_no,
 			 u8 frag_no, int more_frags)
 {
-	u8 mac4[6];
-	u8 source[6];
+	u8 mac4[ETH_ALEN];
+	u8 source[ETH_ALEN];
 	struct sk_buff *skb;
 
 	if (le16_to_cpu(header->frame_control) & IEEE80211_FCTL_FROMDS)
-		memcpy(source, header->addr3, 6);
+		memcpy(source, header->addr3, ETH_ALEN);
 	else
-		memcpy(source, header->addr2, 6);
+		memcpy(source, header->addr2, ETH_ALEN);
 
 	rx_packet_loc += 24; /* skip header */
 
@@ -984,9 +984,9 @@ static void frag_rx_path(struct atmel_private *priv,
 		msdu_size -= 4;
 
 	if (frag_no == 0) { /* first fragment */
-		atmel_copy_to_host(priv->dev, mac4, rx_packet_loc, 6);
-		msdu_size -= 6;
-		rx_packet_loc += 6;
+		atmel_copy_to_host(priv->dev, mac4, rx_packet_loc, ETH_ALEN);
+		msdu_size -= ETH_ALEN;
+		rx_packet_loc += ETH_ALEN;
 
 		if (priv->do_rx_crc)
 			crc = crc32_le(crc, mac4, 6);
@@ -994,9 +994,9 @@ static void frag_rx_path(struct atmel_private *priv,
 		priv->frag_seq = seq_no;
 		priv->frag_no = 1;
 		priv->frag_len = msdu_size;
-		memcpy(priv->frag_source, source, 6);
-		memcpy(&priv->rx_buf[6], source, 6);
-		memcpy(priv->rx_buf, header->addr1, 6);
+		memcpy(priv->frag_source, source, ETH_ALEN);
+		memcpy(&priv->rx_buf[ETH_ALEN], source, ETH_ALEN);
+		memcpy(priv->rx_buf, header->addr1, ETH_ALEN);
 
 		atmel_copy_to_host(priv->dev, &priv->rx_buf[12], rx_packet_loc, msdu_size);
 
@@ -1006,13 +1006,13 @@ static void frag_rx_path(struct atmel_private *priv,
 			atmel_copy_to_host(priv->dev, (void *)&netcrc, rx_packet_loc + msdu_size, 4);
 			if ((crc ^ 0xffffffff) != netcrc) {
 				priv->dev->stats.rx_crc_errors++;
-				memset(priv->frag_source, 0xff, 6);
+				memset(priv->frag_source, 0xff, ETH_ALEN);
 			}
 		}
 
 	} else if (priv->frag_no == frag_no &&
 		   priv->frag_seq == seq_no &&
-		   memcmp(priv->frag_source, source, 6) == 0) {
+		   memcmp(priv->frag_source, source, ETH_ALEN) == 0) {
 
 		atmel_copy_to_host(priv->dev, &priv->rx_buf[12 + priv->frag_len],
 				   rx_packet_loc, msdu_size);
@@ -1024,7 +1024,7 @@ static void frag_rx_path(struct atmel_private *priv,
 			atmel_copy_to_host(priv->dev, (void *)&netcrc, rx_packet_loc + msdu_size, 4);
 			if ((crc ^ 0xffffffff) != netcrc) {
 				priv->dev->stats.rx_crc_errors++;
-				memset(priv->frag_source, 0xff, 6);
+				memset(priv->frag_source, 0xff, ETH_ALEN);
 				more_frags = 1; /* don't send broken assembly */
 			}
 		}
@@ -1033,7 +1033,7 @@ static void frag_rx_path(struct atmel_private *priv,
 		priv->frag_no++;
 
 		if (!more_frags) { /* last one */
-			memset(priv->frag_source, 0xff, 6);
+			memset(priv->frag_source, 0xff, ETH_ALEN);
 			if (!(skb = dev_alloc_skb(priv->frag_len + 14))) {
 				priv->dev->stats.rx_dropped++;
 			} else {
@@ -1129,7 +1129,7 @@ static void rx_done_irq(struct atmel_private *priv)
 			atmel_copy_to_host(priv->dev, (unsigned char *)&priv->rx_buf, rx_packet_loc + 24, msdu_size);
 
 			/* we use the same buffer for frag reassembly and control packets */
-			memset(priv->frag_source, 0xff, 6);
+			memset(priv->frag_source, 0xff, ETH_ALEN);
 
 			if (priv->do_rx_crc) {
 				/* last 4 octets is crc */
@@ -1557,7 +1557,7 @@ struct net_device *init_atmel_card(unsigned short irq, unsigned long port,
 	priv->last_qual = jiffies;
 	priv->last_beacon_timestamp = 0;
 	memset(priv->frag_source, 0xff, sizeof(priv->frag_source));
-	memset(priv->BSSID, 0, 6);
+	memset(priv->BSSID, 0, ETH_ALEN);
 	priv->CurrentBSSID[0] = 0xFF; /* Initialize to something invalid.... */
 	priv->station_was_associated = 0;
 
@@ -1718,7 +1718,7 @@ static int atmel_get_wap(struct net_device *dev,
 			 char *extra)
 {
 	struct atmel_private *priv = netdev_priv(dev);
-	memcpy(awrq->sa_data, priv->CurrentBSSID, 6);
+	memcpy(awrq->sa_data, priv->CurrentBSSID, ETH_ALEN);
 	awrq->sa_family = ARPHRD_ETHER;
 
 	return 0;
@@ -2356,7 +2356,7 @@ static int atmel_get_scan(struct net_device *dev,
 	for (i = 0; i < priv->BSS_list_entries; i++) {
 		iwe.cmd = SIOCGIWAP;
 		iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
-		memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, 6);
+		memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN);
 		current_ev = iwe_stream_add_event(info, current_ev,
 						  extra + IW_SCAN_MAX_DATA,
 						  &iwe, IW_EV_ADDR_LEN);
@@ -2760,7 +2760,7 @@ static void atmel_enter_state(struct atmel_private *priv, int new_state)
 static void atmel_scan(struct atmel_private *priv, int specific_ssid)
 {
 	struct {
-		u8 BSSID[6];
+		u8 BSSID[ETH_ALEN];
 		u8 SSID[MAX_SSID_LENGTH];
 		u8 scan_type;
 		u8 channel;
@@ -2771,7 +2771,7 @@ static void atmel_scan(struct atmel_private *priv, int specific_ssid)
 		u8 SSID_size;
 	} cmd;
 
-	memset(cmd.BSSID, 0xff, 6);
+	memset(cmd.BSSID, 0xff, ETH_ALEN);
 
 	if (priv->fast_scan) {
 		cmd.SSID_size = priv->SSID_size;
@@ -2816,7 +2816,7 @@ static void join(struct atmel_private *priv, int type)
 
 	cmd.SSID_size = priv->SSID_size;
 	memcpy(cmd.SSID, priv->SSID, priv->SSID_size);
-	memcpy(cmd.BSSID, priv->CurrentBSSID, 6);
+	memcpy(cmd.BSSID, priv->CurrentBSSID, ETH_ALEN);
 	cmd.channel = (priv->channel & 0x7f);
 	cmd.BSS_type = type;
 	cmd.timeout = cpu_to_le16(2000);
@@ -2837,7 +2837,7 @@ static void start(struct atmel_private *priv, int type)
 
 	cmd.SSID_size = priv->SSID_size;
 	memcpy(cmd.SSID, priv->SSID, priv->SSID_size);
-	memcpy(cmd.BSSID, priv->BSSID, 6);
+	memcpy(cmd.BSSID, priv->BSSID, ETH_ALEN);
 	cmd.BSS_type = type;
 	cmd.channel = (priv->channel & 0x7f);
 
@@ -2883,9 +2883,9 @@ static void send_authentication_request(struct atmel_private *priv, u16 system,
 	header.frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | IEEE80211_STYPE_AUTH);
 	header.duration_id = cpu_to_le16(0x8000);
 	header.seq_ctrl = 0;
-	memcpy(header.addr1, priv->CurrentBSSID, 6);
-	memcpy(header.addr2, priv->dev->dev_addr, 6);
-	memcpy(header.addr3, priv->CurrentBSSID, 6);
+	memcpy(header.addr1, priv->CurrentBSSID, ETH_ALEN);
+	memcpy(header.addr2, priv->dev->dev_addr, ETH_ALEN);
+	memcpy(header.addr3, priv->CurrentBSSID, ETH_ALEN);
 
 	if (priv->wep_is_on && priv->CurrentAuthentTransactionSeqNum != 1)
 		/* no WEP for authentication frames with TrSeqNo 1 */
@@ -2916,7 +2916,7 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc)
 	struct ass_req_format {
 		__le16 capability;
 		__le16 listen_interval;
-		u8 ap[6]; /* nothing after here directly accessible */
+		u8 ap[ETH_ALEN]; /* nothing after here directly accessible */
 		u8 ssid_el_id;
 		u8 ssid_len;
 		u8 ssid[MAX_SSID_LENGTH];
@@ -2930,9 +2930,9 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc)
 	header.duration_id = cpu_to_le16(0x8000);
 	header.seq_ctrl = 0;
 
-	memcpy(header.addr1, priv->CurrentBSSID, 6);
-	memcpy(header.addr2, priv->dev->dev_addr, 6);
-	memcpy(header.addr3, priv->CurrentBSSID, 6);
+	memcpy(header.addr1, priv->CurrentBSSID, ETH_ALEN);
+	memcpy(header.addr2, priv->dev->dev_addr, ETH_ALEN);
+	memcpy(header.addr3, priv->CurrentBSSID, ETH_ALEN);
 
 	body.capability = cpu_to_le16(WLAN_CAPABILITY_ESS);
 	if (priv->wep_is_on)
@@ -2944,7 +2944,7 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc)
 
 	/* current AP address - only in reassoc frame */
 	if (is_reassoc) {
-		memcpy(body.ap, priv->CurrentBSSID, 6);
+		memcpy(body.ap, priv->CurrentBSSID, ETH_ALEN);
 		ssid_el_p = &body.ssid_el_id;
 		bodysize = 18 + priv->SSID_size;
 	} else {
@@ -3021,7 +3021,7 @@ static void store_bss_info(struct atmel_private *priv,
 	int i, index;
 
 	for (index = -1, i = 0; i < priv->BSS_list_entries; i++)
-		if (memcmp(bss, priv->BSSinfo[i].BSSID, 6) == 0)
+		if (memcmp(bss, priv->BSSinfo[i].BSSID, ETH_ALEN) == 0)
 			index = i;
 
 	/* If we process a probe and an entry from this BSS exists
@@ -3032,7 +3032,7 @@ static void store_bss_info(struct atmel_private *priv,
 		if (priv->BSS_list_entries == MAX_BSS_ENTRIES)
 			return;
 		index = priv->BSS_list_entries++;
-		memcpy(priv->BSSinfo[index].BSSID, bss, 6);
+		memcpy(priv->BSSinfo[index].BSSID, bss, ETH_ALEN);
 		priv->BSSinfo[index].RSSI = rssi;
 	} else {
 		if (rssi > priv->BSSinfo[index].RSSI)
@@ -3235,7 +3235,7 @@ static void atmel_join_bss(struct atmel_private *priv, int bss_index)
 {
 	struct bss_info *bss =  &priv->BSSinfo[bss_index];
 
-	memcpy(priv->CurrentBSSID, bss->BSSID, 6);
+	memcpy(priv->CurrentBSSID, bss->BSSID, ETH_ALEN);
 	memcpy(priv->SSID, bss->SSID, priv->SSID_size = bss->SSIDsize);
 
 	/* The WPA stuff cares about the current AP address */
@@ -3767,7 +3767,7 @@ static int probe_atmel_card(struct net_device *dev)
 				0x00, 0x04, 0x25, 0x00, 0x00, 0x00
 			};
 			printk(KERN_ALERT "%s: *** Invalid MAC address. UPGRADE Firmware ****\n", dev->name);
-			memcpy(dev->dev_addr, default_mac, 6);
+			memcpy(dev->dev_addr, default_mac, ETH_ALEN);
 		}
 	}
 
@@ -3819,7 +3819,7 @@ static void build_wpa_mib(struct atmel_private *priv)
 
 	struct { /* NB this is matched to the hardware, don't change. */
 		u8 cipher_default_key_value[MAX_ENCRYPTION_KEYS][MAX_ENCRYPTION_KEY_SIZE];
-		u8 receiver_address[6];
+		u8 receiver_address[ETH_ALEN];
 		u8 wep_is_on;
 		u8 default_key; /* 0..3 */
 		u8 group_key;
@@ -3837,7 +3837,7 @@ static void build_wpa_mib(struct atmel_private *priv)
 
 	mib.wep_is_on = priv->wep_is_on;
 	mib.exclude_unencrypted = priv->exclude_unencrypted;
-	memcpy(mib.receiver_address, priv->CurrentBSSID, 6);
+	memcpy(mib.receiver_address, priv->CurrentBSSID, ETH_ALEN);
 
 	/* zero all the keys before adding in valid ones. */
 	memset(mib.cipher_default_key_value, 0, sizeof(mib.cipher_default_key_value));
diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c
index 8cb206a..4ae63f4 100644
--- a/drivers/net/wireless/b43/xmit.c
+++ b/drivers/net/wireless/b43/xmit.c
@@ -278,7 +278,7 @@ int b43_generate_txhdr(struct b43_wldev *dev,
 	else
 		txhdr->phy_rate = b43_plcp_get_ratecode_cck(rate);
 	txhdr->mac_frame_ctl = wlhdr->frame_control;
-	memcpy(txhdr->tx_receiver, wlhdr->addr1, 6);
+	memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN);
 
 	/* Calculate duration for fallback rate */
 	if ((rate_fb == rate) ||
diff --git a/drivers/net/wireless/b43legacy/xmit.c b/drivers/net/wireless/b43legacy/xmit.c
index 849a28c..86588c9 100644
--- a/drivers/net/wireless/b43legacy/xmit.c
+++ b/drivers/net/wireless/b43legacy/xmit.c
@@ -215,7 +215,7 @@ static int generate_txhdr_fw3(struct b43legacy_wldev *dev,
 	rate_fb_ofdm = b43legacy_is_ofdm_rate(rate_fb->hw_value);
 
 	txhdr->mac_frame_ctl = wlhdr->frame_control;
-	memcpy(txhdr->tx_receiver, wlhdr->addr1, 6);
+	memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN);
 
 	/* Calculate duration for fallback rate */
 	if ((rate_fb->hw_value == rate) ||
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
index 4608e0e..69b14dc 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -1906,14 +1906,14 @@ static void brcms_c_get_macaddr(struct brcms_hardware *wlc_hw, u8 etheraddr[ETH_
 
 	/* If macaddr exists, use it (Sromrev4, CIS, ...). */
 	if (!is_zero_ether_addr(sprom->il0mac)) {
-		memcpy(etheraddr, sprom->il0mac, 6);
+		memcpy(etheraddr, sprom->il0mac, ETH_ALEN);
 		return;
 	}
 
 	if (wlc_hw->_nbands > 1)
-		memcpy(etheraddr, sprom->et1mac, 6);
+		memcpy(etheraddr, sprom->et1mac, ETH_ALEN);
 	else
-		memcpy(etheraddr, sprom->il0mac, 6);
+		memcpy(etheraddr, sprom->il0mac, ETH_ALEN);
 }
 
 /* power both the pll and external oscillator on/off */
diff --git a/drivers/net/wireless/hostap/hostap_info.c b/drivers/net/wireless/hostap/hostap_info.c
index 970a48b..de7c4ff 100644
--- a/drivers/net/wireless/hostap/hostap_info.c
+++ b/drivers/net/wireless/hostap/hostap_info.c
@@ -217,7 +217,7 @@ static void prism2_host_roaming(local_info_t *local)
 		}
 	}
 
-	memcpy(req.bssid, selected->bssid, 6);
+	memcpy(req.bssid, selected->bssid, ETH_ALEN);
 	req.channel = selected->chid;
 	spin_unlock_irqrestore(&local->lock, flags);
 
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 6b823a1..8711a51 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -2698,7 +2698,7 @@ static u16 eeprom_read_u16(struct ipw_priv *priv, u8 addr)
 /* data's copy of the eeprom data                                 */
 static void eeprom_parse_mac(struct ipw_priv *priv, u8 * mac)
 {
-	memcpy(mac, &priv->eeprom[EEPROM_MAC_ADDRESS], 6);
+	memcpy(mac, &priv->eeprom[EEPROM_MAC_ADDRESS], ETH_ALEN);
 }
 
 static void ipw_read_eeprom(struct ipw_priv *priv)
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index 1c22b81..8863a6c 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -183,7 +183,7 @@ prism54_update_stats(struct work_struct *work)
 	data = r.ptr;
 
 	/* copy this MAC to the bss */
-	memcpy(bss.address, data, 6);
+	memcpy(bss.address, data, ETH_ALEN);
 	kfree(data);
 
 	/* now ask for the corresponding bss */
@@ -531,7 +531,7 @@ prism54_set_wap(struct net_device *ndev, struct iw_request_info *info,
 		return -EINVAL;
 
 	/* prepare the structure for the set object */
-	memcpy(&bssid[0], awrq->sa_data, 6);
+	memcpy(&bssid[0], awrq->sa_data, ETH_ALEN);
 
 	/* set the bssid -- does this make sense when in AP mode? */
 	rvalue = mgt_set_request(priv, DOT11_OID_BSSID, 0, &bssid);
@@ -550,7 +550,7 @@ prism54_get_wap(struct net_device *ndev, struct iw_request_info *info,
 	int rvalue;
 
 	rvalue = mgt_get_request(priv, DOT11_OID_BSSID, 0, NULL, &r);
-	memcpy(awrq->sa_data, r.ptr, 6);
+	memcpy(awrq->sa_data, r.ptr, ETH_ALEN);
 	awrq->sa_family = ARPHRD_ETHER;
 	kfree(r.ptr);
 
@@ -582,7 +582,7 @@ prism54_translate_bss(struct net_device *ndev, struct iw_request_info *info,
 	size_t wpa_ie_len;
 
 	/* The first entry must be the MAC address */
-	memcpy(iwe.u.ap_addr.sa_data, bss->address, 6);
+	memcpy(iwe.u.ap_addr.sa_data, bss->address, ETH_ALEN);
 	iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
 	iwe.cmd = SIOCGIWAP;
 	current_ev = iwe_stream_add_event(info, current_ev, end_buf,
@@ -2489,7 +2489,7 @@ prism54_set_mac_address(struct net_device *ndev, void *addr)
 			      &((struct sockaddr *) addr)->sa_data);
 	if (!ret)
 		memcpy(priv->ndev->dev_addr,
-		       &((struct sockaddr *) addr)->sa_data, 6);
+		       &((struct sockaddr *) addr)->sa_data, ETH_ALEN);
 
 	return ret;
 }
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c
index 5970ff6..41a16d3 100644
--- a/drivers/net/wireless/prism54/islpci_dev.c
+++ b/drivers/net/wireless/prism54/islpci_dev.c
@@ -837,7 +837,7 @@ islpci_setup(struct pci_dev *pdev)
 	/* ndev->set_multicast_list = &islpci_set_multicast_list; */
 	ndev->addr_len = ETH_ALEN;
 	/* Get a non-zero dummy MAC address for nameif. Jean II */
-	memcpy(ndev->dev_addr, dummy_mac, 6);
+	memcpy(ndev->dev_addr, dummy_mac, ETH_ALEN);
 
 	ndev->watchdog_timeo = ISLPCI_TX_TIMEOUT;
 
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c
index a01606b..056af38 100644
--- a/drivers/net/wireless/prism54/oid_mgt.c
+++ b/drivers/net/wireless/prism54/oid_mgt.c
@@ -682,7 +682,7 @@ mgt_update_addr(islpci_private *priv)
 				     isl_oid[GEN_OID_MACADDRESS].size, &res);
 
 	if ((ret == 0) && res && (res->header->operation != PIMFOR_OP_ERROR))
-		memcpy(priv->ndev->dev_addr, res->data, 6);
+		memcpy(priv->ndev->dev_addr, res->data, ETH_ALEN);
 	else
 		ret = -EIO;
 	if (res)
diff --git a/drivers/net/wireless/rtlwifi/core.c b/drivers/net/wireless/rtlwifi/core.c
index 733b7ce..210ce7c 100644
--- a/drivers/net/wireless/rtlwifi/core.c
+++ b/drivers/net/wireless/rtlwifi/core.c
@@ -115,7 +115,7 @@ static void rtl_op_stop(struct ieee80211_hw *hw)
 	mutex_lock(&rtlpriv->locks.conf_mutex);
 
 	mac->link_state = MAC80211_NOLINK;
-	memset(mac->bssid, 0, 6);
+	memset(mac->bssid, 0, ETH_ALEN);
 	mac->vendor = PEER_UNKNOWN;
 
 	/*reset sec info */
@@ -280,7 +280,7 @@ static void rtl_op_remove_interface(struct ieee80211_hw *hw,
 	mac->p2p = 0;
 	mac->vif = NULL;
 	mac->link_state = MAC80211_NOLINK;
-	memset(mac->bssid, 0, 6);
+	memset(mac->bssid, 0, ETH_ALEN);
 	mac->vendor = PEER_UNKNOWN;
 	mac->opmode = NL80211_IFTYPE_UNSPECIFIED;
 	rtlpriv->cfg->ops->set_network_type(hw, mac->opmode);
@@ -721,7 +721,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
 			mac->link_state = MAC80211_LINKED;
 			mac->cnt_after_linked = 0;
 			mac->assoc_id = bss_conf->aid;
-			memcpy(mac->bssid, bss_conf->bssid, 6);
+			memcpy(mac->bssid, bss_conf->bssid, ETH_ALEN);
 
 			if (rtlpriv->cfg->ops->linked_set_reg)
 				rtlpriv->cfg->ops->linked_set_reg(hw);
@@ -750,7 +750,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
 			if (ppsc->p2p_ps_info.p2p_ps_mode > P2P_PS_NONE)
 				rtl_p2p_ps_cmd(hw, P2P_PS_DISABLE);
 			mac->link_state = MAC80211_NOLINK;
-			memset(mac->bssid, 0, 6);
+			memset(mac->bssid, 0, ETH_ALEN);
 			mac->vendor = PEER_UNKNOWN;
 
 			if (rtlpriv->dm.supp_phymode_switch) {
@@ -826,7 +826,7 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,
 			 bss_conf->bssid);
 
 		mac->vendor = PEER_UNKNOWN;
-		memcpy(mac->bssid, bss_conf->bssid, 6);
+		memcpy(mac->bssid, bss_conf->bssid, ETH_ALEN);
 		rtlpriv->cfg->ops->set_network_type(hw, vif->type);
 
 		rcu_read_lock();
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index d1c5786..005d876 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -363,7 +363,7 @@ static struct sk_buff *br_ip4_multicast_alloc_query(struct net_bridge *br,
 	skb_reset_mac_header(skb);
 	eth = eth_hdr(skb);
 
-	memcpy(eth->h_source, br->dev->dev_addr, 6);
+	memcpy(eth->h_source, br->dev->dev_addr, ETH_ALEN);
 	eth->h_dest[0] = 1;
 	eth->h_dest[1] = 0;
 	eth->h_dest[2] = 0x5e;
@@ -433,7 +433,7 @@ static struct sk_buff *br_ip6_multicast_alloc_query(struct net_bridge *br,
 	skb_reset_mac_header(skb);
 	eth = eth_hdr(skb);
 
-	memcpy(eth->h_source, br->dev->dev_addr, 6);
+	memcpy(eth->h_source, br->dev->dev_addr, ETH_ALEN);
 	eth->h_proto = htons(ETH_P_IPV6);
 	skb_put(skb, sizeof(*eth));
 
diff --git a/net/bridge/netfilter/ebt_among.c b/net/bridge/netfilter/ebt_among.c
index 8b84c58..3fb3c84 100644
--- a/net/bridge/netfilter/ebt_among.c
+++ b/net/bridge/netfilter/ebt_among.c
@@ -28,7 +28,7 @@ static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh,
 	uint32_t cmp[2] = { 0, 0 };
 	int key = ((const unsigned char *)mac)[5];
 
-	memcpy(((char *) cmp) + 2, mac, 6);
+	memcpy(((char *) cmp) + 2, mac, ETH_ALEN);
 	start = wh->table[key];
 	limit = wh->table[key + 1];
 	if (ip) {
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index 1aba645..3fb9dd6 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -77,13 +77,13 @@ DECLARE_EVENT_CLASS(local_sdata_addr_evt,
 	TP_STRUCT__entry(
 		LOCAL_ENTRY
 		VIF_ENTRY
-		__array(char, addr, 6)
+		__array(char, addr, ETH_ALEN)
 	),
 
 	TP_fast_assign(
 		LOCAL_ASSIGN;
 		VIF_ASSIGN;
-		memcpy(__entry->addr, sdata->vif.addr, 6);
+		memcpy(__entry->addr, sdata->vif.addr, ETH_ALEN);
 	),
 
 	TP_printk(




From arend at broadcom.com  Wed Oct  2 03:27:00 2013
From: arend at broadcom.com (Arend van Spriel)
Date: Wed, 2 Oct 2013 09:27:00 +0200
Subject: [PATCH net-next] net:drivers/net: Miscellaneous conversions
 to ETH_ALEN
In-Reply-To: <1380679480.2081.24.camel@joe-AO722>
References: <1380679480.2081.24.camel@joe-AO722>
Message-ID: <524BCAC4.6060209@broadcom.com>

On 10/02/2013 04:04 AM, Joe Perches wrote:
> Convert the memset/memcpy uses of 6 to ETH_ALEN
> where appropriate.
>
> Also convert some struct definitions and u8 array
> declarations of [6] to ETH_ALEN.
>
For brcmsmac

Acked-by: Arend van Spriel <arend at broadcom.com>
> Signed-off-by: Joe Perches <joe at perches.com>
> ---
>   drivers/net/wireless/brcm80211/brcmsmac/main.c     |  6 +-




From davem at davemloft.net  Wed Oct  2 17:05:21 2013
From: davem at davemloft.net (David Miller)
Date: Wed, 02 Oct 2013 17:05:21 -0400 (EDT)
Subject: [PATCH net-next] net:drivers/net: Miscellaneous conversions to
 ETH_ALEN
In-Reply-To: <1380679480.2081.24.camel@joe-AO722>
References: <1380679480.2081.24.camel@joe-AO722>
Message-ID: <20131002.170521.463969346066312216.davem@davemloft.net>

From: Joe Perches <joe at perches.com>
Date: Tue, 01 Oct 2013 19:04:40 -0700

> Convert the memset/memcpy uses of 6 to ETH_ALEN
> where appropriate.
> 
> Also convert some struct definitions and u8 array
> declarations of [6] to ETH_ALEN.
> 
> Signed-off-by: Joe Perches <joe at perches.com>

Looks fine, applied, thanks Joe.


From benjamindaines at gmail.com  Mon Oct  7 17:05:42 2013
From: benjamindaines at gmail.com (Benjamin Daines)
Date: Mon, 07 Oct 2013 17:05:42 -0400
Subject: Frequent disconnects from large encrypted networks
Message-ID: <2873798.s56EKy9Eo4@ben-macbookpro>

b43 will frequently drop connection due to encryption errors and time outs 
when on a network with many access points and high network traffic. 

Encryption used: WPA2 Enterprise PEAP MSCHAPv2

dmesg:
[58300.171784] wlan0: send auth to 8e:08:01:0a:de:1c (try 3/3)
[58300.375631] wlan0: authentication with 8e:08:01:0a:de:1c timed out
[58300.567937] wlan0: authenticate with 8e:08:01:0b:1c:65
[58300.607541] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58300.811125] wlan0: send auth to 8e:08:01:0b:1c:65 (try 2/3)
[58301.014987] wlan0: send auth to 8e:08:01:0b:1c:65 (try 3/3)
[58301.022924] wlan0: authenticated
[58301.026881] wlan0: associate with 8e:08:01:0b:1c:65 (try 1/3)
[58301.032215] wlan0: RX AssocResp from 8e:08:01:0b:1c:65 (capab=0x831 
status=0 aid=28)
[58301.032427] wlan0: associated
[58301.032507] cfg80211: Calling CRDA for country: US
[58301.036170] cfg80211: Regulatory domain changed to country: US
[58301.036174] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58301.036176] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58301.036178] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58301.036179] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58301.036181] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58301.036182] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58301.036184] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58301.427995] wlan0: deauthenticated from 8e:08:01:0b:1c:65 (Reason: 2)
[58301.434942] cfg80211: Calling CRDA to update world regulatory domain
[58301.438616] cfg80211: World regulatory domain updated:
[58301.438620] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58301.438623] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58301.438625] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58301.438628] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58301.438630] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58301.438632] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58302.749790] wlan0: authenticate with 8e:08:01:0b:1c:65
[58302.769673] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58302.777189] wlan0: authenticated
[58302.781189] wlan0: associate with 8e:08:01:0b:1c:65 (try 1/3)
[58302.795106] wlan0: RX AssocResp from 8e:08:01:0b:1c:65 (capab=0x831 
status=0 aid=28)
[58302.795317] wlan0: associated
[58302.795392] cfg80211: Calling CRDA for country: US
[58302.799509] cfg80211: Regulatory domain changed to country: US
[58302.799513] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58302.799515] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58302.799517] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58302.799518] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58302.799520] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58302.799522] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58302.799523] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58306.821355] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0b:1c:65 after 500ms, disconnecting.
[58306.829668] cfg80211: Calling CRDA to update world regulatory domain
[58306.833245] cfg80211: World regulatory domain updated:
[58306.833252] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58306.833254] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58306.833256] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58306.833258] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58306.833259] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58306.833261] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.013709] wlan0: authenticate with 8e:08:01:0b:1c:65
[58307.033496] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58307.037734] wlan0: authenticated
[58307.041047] wlan0: associate with 8e:08:01:0b:1c:65 (try 1/3)
[58307.051980] wlan0: RX AssocResp from 8e:08:01:0b:1c:65 (capab=0x831 
status=0 aid=16)
[58307.052156] wlan0: associated
[58307.052233] cfg80211: Calling CRDA for country: US
[58307.056128] cfg80211: Regulatory domain changed to country: US
[58307.056132] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58307.056134] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58307.056136] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58307.056138] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.056139] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.056141] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.056142] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58307.488402] wlan0: deauthenticated from 8e:08:01:0b:1c:65 (Reason: 2)
[58307.493068] cfg80211: Calling CRDA to update world regulatory domain
[58307.496644] cfg80211: World regulatory domain updated:
[58307.496654] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58307.496656] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.496657] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58307.496659] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58307.496660] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58307.496661] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58308.831866] wlan0: authenticate with 8e:08:01:0b:1c:65
[58308.851670] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58309.055183] wlan0: send auth to 8e:08:01:0b:1c:65 (try 2/3)
[58309.060705] wlan0: authenticated
[58309.063108] wlan0: associate with 8e:08:01:0b:1c:65 (try 1/3)
[58309.065871] wlan0: RX AssocResp from 8e:08:01:0b:1c:65 (capab=0x831 
status=0 aid=16)
[58309.066077] wlan0: associated
[58309.066137] cfg80211: Calling CRDA for country: US
[58309.069878] cfg80211: Regulatory domain changed to country: US
[58309.069882] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58309.069884] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58309.069885] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58309.069887] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58309.069888] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58309.069889] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58309.069890] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58309.381850] wlan0: deauthenticated from 8e:08:01:0b:1c:65 (Reason: 2)
[58309.387174] cfg80211: Calling CRDA to update world regulatory domain
[58309.391187] cfg80211: World regulatory domain updated:
[58309.391191] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58309.391193] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58309.391196] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58309.391197] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58309.391199] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58309.391200] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58310.686122] wlan0: authenticate with 8e:08:01:0a:de:1c
[58310.725754] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58310.732521] wlan0: authenticated
[58310.733485] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58310.735847] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=26)
[58310.736062] wlan0: associated
[58310.736120] cfg80211: Calling CRDA for country: US
[58310.739678] cfg80211: Regulatory domain changed to country: US
[58310.739681] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58310.739684] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58310.739686] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58310.739687] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58310.739689] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58310.739690] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58310.739692] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58310.998089] wlan0: deauthenticated from 8e:08:01:0a:de:1c (Reason: 2)
[58311.005580] cfg80211: Calling CRDA to update world regulatory domain
[58311.009440] cfg80211: World regulatory domain updated:
[58311.009445] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58311.009447] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58311.009449] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58311.009451] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58311.009452] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58311.009454] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58312.284627] wlan0: authenticate with 8e:08:01:0b:1c:65
[58312.324253] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58312.527776] wlan0: send auth to 8e:08:01:0b:1c:65 (try 2/3)
[58312.539919] wlan0: authenticated
[58312.543729] wlan0: associate with 8e:08:01:0b:1c:65 (try 1/3)
[58312.546415] wlan0: RX AssocResp from 8e:08:01:0b:1c:65 (capab=0x831 
status=0 aid=52)
[58312.546818] wlan0: associated
[58312.546876] cfg80211: Calling CRDA for country: US
[58312.551198] cfg80211: Regulatory domain changed to country: US
[58312.551202] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58312.551205] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58312.551206] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58312.551208] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58312.551210] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58312.551211] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58312.551213] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58315.932237] wlan0: disassociating from 8e:08:01:0b:1c:65 by local choice 
(reason=3)
[58315.932757] wlan0: deauthenticating from 8e:08:01:0b:1c:65 by local choice 
(reason=3)
[58315.933142] cfg80211: Calling CRDA to update world regulatory domain
[58315.936970] cfg80211: World regulatory domain updated:
[58315.936974] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58315.936976] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58315.936978] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58315.936979] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58315.936981] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58315.936982] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.239717] wlan0: authenticate with 8e:08:01:0a:de:1c
[58317.279364] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58317.309927] wlan0: authenticated
[58317.311069] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58317.514924] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58317.568346] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=26)
[58317.568567] wlan0: associated
[58317.568627] cfg80211: Calling CRDA for country: US
[58317.572162] cfg80211: Regulatory domain changed to country: US
[58317.572165] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58317.572168] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58317.572170] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58317.572171] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.572173] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.572174] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.572176] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58317.809391] wlan0: deauthenticated from 8e:08:01:0a:de:1c (Reason: 2)
[58317.814992] cfg80211: Calling CRDA to update world regulatory domain
[58317.819240] cfg80211: World regulatory domain updated:
[58317.819244] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58317.819246] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.819248] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58317.819249] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58317.819251] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58317.819253] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58319.102008] wlan0: authenticate with 8e:08:01:0a:de:1c
[58319.121723] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58319.139983] wlan0: authenticated
[58319.141298] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58319.345218] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58319.348510] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=26)
[58319.348725] wlan0: associated
[58319.348796] cfg80211: Calling CRDA for country: US
[58319.352434] cfg80211: Regulatory domain changed to country: US
[58319.352437] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58319.352439] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58319.352441] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58319.352443] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58319.352444] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58319.352446] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58319.352448] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58327.800925] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[58327.809255] cfg80211: Calling CRDA to update world regulatory domain
[58327.812834] cfg80211: World regulatory domain updated:
[58327.812838] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58327.812840] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58327.812842] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58327.812844] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58327.812845] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58327.812847] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58378.788004] wlan0: authenticate with 8e:08:01:0b:1c:65
[58378.827661] wlan0: send auth to 8e:08:01:0b:1c:65 (try 1/3)
[58379.031266] wlan0: send auth to 8e:08:01:0b:1c:65 (try 2/3)
[58379.235088] wlan0: send auth to 8e:08:01:0b:1c:65 (try 3/3)
[58379.438863] wlan0: authentication with 8e:08:01:0b:1c:65 timed out
[58379.631202] wlan0: authenticate with 8e:08:01:0a:de:1c
[58379.670841] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58379.693024] wlan0: authenticated
[58379.694600] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58379.898347] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58380.102164] wlan0: associate with 8e:08:01:0a:de:1c (try 3/3)
[58380.305932] wlan0: association with 8e:08:01:0a:de:1c timed out
[58418.469339] wlan0: authenticate with 8e:08:01:0a:de:1c
[58418.489299] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58418.490715] wlan0: authenticated
[58418.492922] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58418.494785] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=26)
[58418.494991] wlan0: associated
[58418.495050] cfg80211: Calling CRDA for country: US
[58418.498650] cfg80211: Regulatory domain changed to country: US
[58418.498653] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58418.498655] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58418.498657] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58418.498659] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58418.498660] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58418.498662] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58418.498663] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58419.555218] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:0a:de:1c
[58419.555392] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff
[58450.952437] wlan0: deauthenticating from 8e:08:01:0a:de:1c by local choice 
(reason=3)
[58450.952561] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
0, mac: 8e:08:01:0a:de:1c
[58450.952853] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
1, mac: ff:ff:ff:ff:ff:ff
[58450.954205] cfg80211: Calling CRDA to update world regulatory domain
[58450.957190] cfg80211: World regulatory domain updated:
[58450.957195] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58450.957196] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58450.957198] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58450.957208] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58450.957209] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58450.957211] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58453.075881] wlan0: authenticate with 8e:08:01:0a:de:1c
[58453.095721] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58453.098645] wlan0: authenticated
[58453.099305] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58453.106369] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58453.106546] wlan0: associated
[58453.106610] cfg80211: Calling CRDA for country: US
[58453.110147] cfg80211: Regulatory domain changed to country: US
[58453.110150] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58453.110152] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58453.110154] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58453.110156] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58453.110157] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58453.110159] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58453.110160] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58456.699911] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[58456.708179] cfg80211: Calling CRDA to update world regulatory domain
[58456.711824] cfg80211: World regulatory domain updated:
[58456.711827] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58456.711829] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58456.711831] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58456.711832] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58456.711834] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58456.711836] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58457.987081] wlan0: authenticate with 8e:08:01:0a:de:1c
[58458.006885] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58458.036344] wlan0: authenticated
[58458.038563] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58458.070166] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58458.070391] wlan0: associated
[58458.070467] cfg80211: Calling CRDA for country: US
[58458.074110] cfg80211: Regulatory domain changed to country: US
[58458.074113] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58458.074115] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58458.074117] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58458.074119] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58458.074120] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58458.074122] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58458.074124] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58459.135018] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:0a:de:1c
[58459.135176] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff
[58463.082409] wlan0: deauthenticated from 8e:08:01:0a:de:1c (Reason: 15)
[58463.089738] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
0, mac: 8e:08:01:0a:de:1c
[58463.109719] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
1, mac: ff:ff:ff:ff:ff:ff
[58463.109858] cfg80211: Calling CRDA to update world regulatory domain
[58463.113712] cfg80211: World regulatory domain updated:
[58463.113715] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58463.113717] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58463.113719] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58463.113721] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58463.113723] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58463.113724] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58464.392946] wlan0: authenticate with 8e:08:01:0a:de:1c
[58464.412734] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58464.428919] wlan0: authenticated
[58464.432362] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58464.447095] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58464.447305] wlan0: associated
[58464.447372] cfg80211: Calling CRDA for country: US
[58464.451083] cfg80211: Regulatory domain changed to country: US
[58464.451087] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58464.451089] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58464.451091] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58464.451092] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58464.451094] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58464.451096] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58464.451097] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58465.517578] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:0a:de:1c
[58465.517733] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff
[58465.903610] wlan0: deauthenticated from 8e:08:01:0a:de:1c (Reason: 1)
[58465.911054] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
0, mac: 8e:08:01:0a:de:1c
[58465.931023] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
1, mac: ff:ff:ff:ff:ff:ff
[58465.931137] cfg80211: Calling CRDA to update world regulatory domain
[58465.934871] cfg80211: World regulatory domain updated:
[58465.934874] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58465.934876] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58465.934878] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58465.934880] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58465.934881] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58465.934883] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58467.214364] wlan0: authenticate with 8e:08:01:0a:de:1c
[58467.233961] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58467.236844] wlan0: authenticated
[58467.237591] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58467.240066] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58467.240244] wlan0: associated
[58467.240296] cfg80211: Calling CRDA for country: US
[58467.243977] cfg80211: Regulatory domain changed to country: US
[58467.243980] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58467.243983] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58467.243985] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58467.243986] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58467.243988] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58467.243989] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58467.243991] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58467.284339] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:0a:de:1c
[58467.284479] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff
[58486.914603] wlan0: deauthenticating from 8e:08:01:0a:de:1c by local choice 
(reason=3)
[58486.914682] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
0, mac: 8e:08:01:0a:de:1c
[58486.922816] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
1, mac: ff:ff:ff:ff:ff:ff
[58486.923923] cfg80211: Calling CRDA to update world regulatory domain
[58486.978563] b43-phy0 debug: Removing Interface type 2
[58486.978815] b43-phy0 debug: Wireless interface stopped
[58487.018633] cfg80211: World regulatory domain updated:
[58487.018640] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58487.018643] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58487.018645] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58487.018648] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58487.018650] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58487.018652] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58487.749773] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[58487.821659] b43-phy0 debug: Chip initialized
[58487.821845] b43-phy0 debug: 64-bit DMA initialized
[58487.821860] b43-phy0 debug: QoS disabled
[58487.822847] b43-phy0 debug: Wireless interface started
[58487.841672] b43-phy0 debug: Adding Interface type 2
[58487.841937] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[58490.251709] wlan0: authenticate with 8e:08:01:0a:de:1c
[58490.271582] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58490.274705] wlan0: authenticated
[58490.275211] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58490.277053] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58490.277236] wlan0: associated
[58490.277256] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[58490.277320] cfg80211: Calling CRDA for country: US
[58490.280908] cfg80211: Regulatory domain changed to country: US
[58490.280911] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58490.280913] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58490.280915] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58490.280917] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58490.280918] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58490.280920] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58490.280922] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58495.353402] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:0a:de:1c
[58495.353533] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff
[58948.194821] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[58948.202892] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
0, mac: 8e:08:01:0a:de:1c
[58948.226860] b43-phy0 debug: Disabling hardware based encryption for keyidx: 
1, mac: ff:ff:ff:ff:ff:ff
[58948.226980] cfg80211: Calling CRDA to update world regulatory domain
[58948.230554] cfg80211: World regulatory domain updated:
[58948.230557] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58948.230559] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58948.230561] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58948.230562] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58948.230564] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58948.230566] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58948.395195] wlan0: authenticate with 8e:08:01:0a:de:1c
[58948.414877] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58948.618348] wlan0: send auth to 8e:08:01:0a:de:1c (try 2/3)
[58948.652874] wlan0: authenticated
[58948.654300] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58948.858186] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58949.061966] wlan0: associate with 8e:08:01:0a:de:1c (try 3/3)
[58949.063997] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=19)
[58949.064352] wlan0: associated
[58949.064428] cfg80211: Calling CRDA for country: US
[58949.068043] cfg80211: Regulatory domain changed to country: US
[58949.068046] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58949.068048] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58949.068050] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58949.068052] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58949.068053] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58949.068055] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58949.068057] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58964.101088] wlan0: deauthenticating from 8e:08:01:0a:de:1c by local choice 
(reason=3)
[58964.108328] cfg80211: Calling CRDA to update world regulatory domain
[58964.112054] cfg80211: World regulatory domain updated:
[58964.112057] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58964.112059] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58964.112061] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58964.112063] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58964.112064] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58964.112066] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58966.309572] wlan0: authenticate with 8e:08:01:0a:de:1c
[58966.329509] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58966.532990] wlan0: send auth to 8e:08:01:0a:de:1c (try 2/3)
[58966.551540] wlan0: authenticated
[58966.552964] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58966.556005] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=2)
[58966.556215] wlan0: associated
[58966.556284] cfg80211: Calling CRDA for country: US
[58966.559880] cfg80211: Regulatory domain changed to country: US
[58966.559883] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58966.559885] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58966.559887] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58966.559889] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58966.559890] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58966.559892] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58966.559893] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58982.149840] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[58982.166005] cfg80211: Calling CRDA to update world regulatory domain
[58982.169642] cfg80211: World regulatory domain updated:
[58982.169645] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58982.169648] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58982.169649] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58982.169651] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58982.169653] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58982.169654] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58983.452852] wlan0: authenticate with 8e:08:01:0a:de:1c
[58983.472871] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58983.676357] wlan0: send auth to 8e:08:01:0a:de:1c (try 2/3)
[58983.721880] wlan0: authenticated
[58983.724334] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58983.928079] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58983.933089] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=2)
[58983.933300] wlan0: associated
[58983.933366] cfg80211: Calling CRDA for country: US
[58983.936957] cfg80211: Regulatory domain changed to country: US
[58983.936960] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58983.936962] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58983.936964] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58983.936966] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58983.936967] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58983.936969] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58983.936970] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58989.143043] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[58989.151453] cfg80211: Calling CRDA to update world regulatory domain
[58989.155159] cfg80211: World regulatory domain updated:
[58989.155162] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58989.155164] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58989.155166] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58989.155168] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58989.155170] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58989.155171] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.454188] wlan0: authenticate with 8e:08:01:0a:de:1c
[58990.474093] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58990.498847] wlan0: authenticated
[58990.501734] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58990.518585] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=2)
[58990.518761] wlan0: associated
[58990.518837] cfg80211: Calling CRDA for country: US
[58990.522435] cfg80211: Regulatory domain changed to country: US
[58990.522438] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58990.522440] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58990.522442] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58990.522444] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.522445] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.522447] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.522448] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[58990.866995] wlan0: deauthenticating from 8e:08:01:0a:de:1c by local choice 
(reason=3)
[58990.868128] cfg80211: Calling CRDA to update world regulatory domain
[58990.872236] cfg80211: World regulatory domain updated:
[58990.872239] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58990.872241] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.872243] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58990.872244] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[58990.872245] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58990.872247] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58992.160482] wlan0: authenticate with 8e:08:01:0a:de:1c
[58992.180456] wlan0: send auth to 8e:08:01:0a:de:1c (try 1/3)
[58992.383894] wlan0: send auth to 8e:08:01:0a:de:1c (try 2/3)
[58992.587707] wlan0: send auth to 8e:08:01:0a:de:1c (try 3/3)
[58992.589716] wlan0: authenticated
[58992.591703] wlan0: associate with 8e:08:01:0a:de:1c (try 1/3)
[58992.795506] wlan0: associate with 8e:08:01:0a:de:1c (try 2/3)
[58992.799342] wlan0: RX AssocResp from 8e:08:01:0a:de:1c (capab=0x831 
status=0 aid=2)
[58992.799577] wlan0: associated
[58992.799634] cfg80211: Calling CRDA for country: US
[58992.803303] cfg80211: Regulatory domain changed to country: US
[58992.803306] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[58992.803308] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[58992.803310] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[58992.803312] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58992.803313] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58992.803315] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[58992.803316] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[59013.119788] ieee80211 phy0: wlan0: No probe response from AP 
8e:08:01:0a:de:1c after 500ms, disconnecting.
[59013.128137] cfg80211: Calling CRDA to update world regulatory domain
[59013.131796] cfg80211: World regulatory domain updated:
[59013.131799] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59013.131801] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59013.131803] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59013.131805] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59013.131806] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59013.131808] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59014.423094] wlan0: authenticate with 8e:08:01:08:be:4f
[59014.462685] wlan0: send auth to 8e:08:01:08:be:4f (try 1/3)
[59014.467601] wlan0: authenticated
[59014.470460] wlan0: associate with 8e:08:01:08:be:4f (try 1/3)
[59014.472619] wlan0: RX AssocResp from 8e:08:01:08:be:4f (capab=0x831 
status=0 aid=1)
[59014.472840] wlan0: associated
[59014.472914] cfg80211: Calling CRDA for country: US
[59014.476640] cfg80211: Regulatory domain changed to country: US
[59014.476643] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59014.476645] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[59014.476647] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[59014.476648] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59014.476650] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59014.476652] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59014.476653] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[59015.843047] wlan0: deauthenticating from 8e:08:01:08:be:4f by local choice 
(reason=3)
[59015.844201] cfg80211: Calling CRDA to update world regulatory domain
[59015.847960] cfg80211: World regulatory domain updated:
[59015.847964] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59015.847967] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59015.847969] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59015.847970] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59015.847972] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59015.847973] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59017.559942] wlan0: authenticate with 8e:08:01:08:be:4f
[59017.579803] wlan0: send auth to 8e:08:01:08:be:4f (try 1/3)
[59017.582902] wlan0: authenticated
[59017.583395] wlan0: associate with 8e:08:01:08:be:4f (try 1/3)
[59017.590589] wlan0: RX AssocResp from 8e:08:01:08:be:4f (capab=0x831 
status=0 aid=1)
[59017.590801] wlan0: associated
[59017.590858] cfg80211: Calling CRDA for country: US
[59017.594335] cfg80211: Regulatory domain changed to country: US
[59017.594338] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59017.594340] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[59017.594342] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[59017.594344] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59017.594345] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59017.594347] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59017.594348] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[59040.821368] wlan0: deauthenticating from 8e:08:01:08:be:4f by local choice 
(reason=3)
[59040.822498] cfg80211: Calling CRDA to update world regulatory domain
[59040.825749] cfg80211: World regulatory domain updated:
[59040.825752] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59040.825754] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59040.825755] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59040.825757] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 
2000 mBm)
[59040.825758] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59040.825759] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59043.035355] wlan0: authenticate with 8e:08:01:08:be:4f
[59043.055021] wlan0: send auth to 8e:08:01:08:be:4f (try 1/3)
[59043.057840] wlan0: authenticated
[59043.058689] wlan0: associate with 8e:08:01:08:be:4f (try 1/3)
[59043.060544] wlan0: RX AssocResp from 8e:08:01:08:be:4f (capab=0x831 
status=0 aid=1)
[59043.060749] wlan0: associated
[59043.060805] cfg80211: Calling CRDA for country: US
[59043.064511] cfg80211: Regulatory domain changed to country: US
[59043.064515] cfg80211:   (start_freq - end_freq @ bandwidth), 
(max_antenna_gain, max_eirp)
[59043.064517] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 
2700 mBm)
[59043.064519] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 
1700 mBm)
[59043.064521] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59043.064522] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59043.064524] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 
2000 mBm)
[59043.064525] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 
3000 mBm)
[59044.127118] b43-phy0 debug: Using hardware based encryption for keyidx: 0, 
mac: 8e:08:01:08:be:4f
[59044.127274] b43-phy0 debug: Using hardware based encryption for keyidx: 1, 
mac: ff:ff:ff:ff:ff:ff


uname -a:
Linux ben-MacBookPro 3.11.4-031104-generic #201310051136 SMP Sat Oct 5 
15:38:11 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


lspci:
03:00.0 0280: 14e4:4331 (rev 02)
        Subsystem: 106b:00d6
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at b0600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>




From felipensp at gmail.com  Wed Oct 16 20:40:24 2013
From: felipensp at gmail.com (Felipe Pena)
Date: Wed, 16 Oct 2013 21:40:24 -0300
Subject: [PATCH] drivers: net: wireless: b43: Fix possible NULL ptr dereference
Message-ID: <1381970424-4709-1-git-send-email-felipensp@gmail.com>

On the ternary expression the 'e' variable could be NULL dereferenced,
when b43_nphy_get_rf_ctl_over_rev7 function returns NULL.

Signed-off-by: Felipe Pena <felipensp at gmail.com>
---
 drivers/net/wireless/b43/phy_n.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 7c970d3..05ee7f1 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -164,7 +164,8 @@ static void b43_nphy_rf_ctl_override_rev7(struct b43_wldev *dev, u16 field,
 		}
 		en_addr = en_addrs[override][i];

-		val_addr = (i == 0) ? e->val_addr_core0 : e->val_addr_core1;
+		if (e)
+			val_addr = (i == 0) ? e->val_addr_core0 : e->val_addr_core1;

 		if (off) {
 			b43_phy_mask(dev, en_addr, ~en_mask);
--
1.7.10.4



From xnaveira at gmail.com  Thu Oct 17 01:36:51 2013
From: xnaveira at gmail.com (Xavier Naveira)
Date: Thu, 17 Oct 2013 07:36:51 +0200
Subject: Support for BCM43228
Message-ID: <CA+hEkPZ5gyT-GCyQDzq-eLpEVg9P70thYh6_oE+zzg2c_mEdVA@mail.gmail.com>

Hi everyone,

I recently got a new work computer, a Dell Latitude E6530, really nice
machine although a little bit bulky.

Anyway, I was negatively surprised when I discovered that the wireless
and 3g modem wouldn't work  out of the box on my Fedora 19 system but
I had to install a proprietary driver.

After a couple of days using it I already can tell that this driver is
not working properly:

 - I had to change the channel of my home wireless network because for
some reason I was unable to pick up the channel 13, everything is
working fine now in channel 8, except for the fact that all my
neighbors seems to be using it...

 - I usually work on the train, the 3g connection is very unreliable
and some days I can't even get it working.

In parallel with this computer change I happened to begin to read
about linux kernel and drivers and I thought to myself that I would
give it a try and write an email to you guys asking:

 - Is there any plans to add support for the BCM43228 chip?
 - Can I help in some way? Do you guys have some code that needs to be tested?

I'd really appreciate an opportunity to be of some help and at the
same time learn something in the way, so let me know.

Best regards,

Xavier


From ben at berwers.org  Tue Oct 29 09:04:27 2013
From: ben at berwers.org (Ben Berwers)
Date: Tue, 29 Oct 2013 14:04:27 +0100
Subject: Problems with Broadcom wireless BCM4306 on HP Compaq NX9105
Message-ID: <526FB25B.6040903@berwers.org>

Dear mr/mrs,

I cannot properly get the wireless card Broadcom BCM 4306 (14e4:4320 
Rev. 03) (b43legacy?) working.

Being a newby in Linux land (former Windows-user and now Mac user) I did 
the following to install the b43 driver:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install b43-fwcutter firmware-b43-installer

The card worked for a while, then the blue led on the corner started to 
blink instead of burning constantly and then the card stopped working.

Could you please give me some hints?

Thank you in advance,

Ben Berwers
ben at berwers.org
Assen, the Netherlands
+31 592 795987


  $ uname -a
Linux ben-hp-compaq-nx9105-PG693EA-ACB 3.2.0-23-generic #36-Ubuntu SMP 
Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


$ lspci -vvn|grep 43 -A7
02:02.0 0280: 14e4:4320 (rev 03)
     Subsystem: 103c:12fa
     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Latency: 64
     Interrupt: pin A routed to IRQ 17
     Region 0: Memory at e0104000 (32-bit, non-prefetchable) [size=8K]
     Kernel driver in use: b43-pci-bridge
     Kernel modules: wl, ssb

02:04.0 0607: 104c:ac54 (rev 01)
     Subsystem: 103c:006d
     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Latency: 168, Cache Line Size: 64 bytes


dmesg:
> UDP SPT=58930 DPT=8612 LEN=24
> [ 8819.356080] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24539 PROTO=UDP 
> SPT=51264 DPT=8612 LEN=24
> [ 8840.650172] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21768 PROTO=UDP 
> SPT=51628 DPT=8612 LEN=24
> [ 8861.942562] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=16652 PROTO=UDP 
> SPT=58253 DPT=8612 LEN=24
> [ 8876.136503] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=58680 PROTO=UDP 
> SPT=64738 DPT=8612 LEN=24
> [ 8897.428997] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=45001 PROTO=UDP 
> SPT=56724 DPT=8612 LEN=24
> [ 8918.722069] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=31714 PROTO=UDP 
> SPT=49304 DPT=8612 LEN=24
> [ 8940.017237] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6544 PROTO=UDP 
> SPT=58231 DPT=8612 LEN=24
> [ 8961.307044] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=20227 PROTO=UDP 
> SPT=49956 DPT=8612 LEN=24
> [ 8975.503296] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=28167 PROTO=UDP 
> SPT=51136 DPT=8612 LEN=24
> [ 8996.793395] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=42530 PROTO=UDP 
> SPT=53655 DPT=8612 LEN=24
> [ 9018.083252] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=5407 PROTO=UDP 
> SPT=51524 DPT=8612 LEN=24
> [ 9039.371529] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=61815 PROTO=UDP 
> SPT=62259 DPT=8612 LEN=24
> [ 9060.661510] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=26152 PROTO=UDP 
> SPT=54191 DPT=8612 LEN=24
> [ 9081.955298] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=58159 PROTO=UDP 
> SPT=50321 DPT=8612 LEN=24
> [ 9096.150906] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=46796 PROTO=UDP 
> SPT=54328 DPT=8612 LEN=24
> [ 9117.442306] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=27158 PROTO=UDP 
> SPT=50405 DPT=8612 LEN=24
> [ 9138.738305] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=53084 PROTO=UDP 
> SPT=56376 DPT=8612 LEN=24
> [ 9160.025173] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=18977 PROTO=UDP 
> SPT=58738 DPT=8612 LEN=24
> [ 9181.318662] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=545 PROTO=UDP 
> SPT=55443 DPT=8612 LEN=24
> [ 9195.516140] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=27871 PROTO=UDP 
> SPT=61206 DPT=8612 LEN=24
> [ 9216.806855] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=52098 PROTO=UDP 
> SPT=52891 DPT=8612 LEN=24
> [ 9237.079881] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=47863 PROTO=UDP 
> SPT=55311 DPT=8612 LEN=24
> [ 9258.372745] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=34638 PROTO=UDP 
> SPT=55418 DPT=8612 LEN=24
> [ 9279.657040] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=866 PROTO=UDP 
> SPT=49996 DPT=8612 LEN=24
> [ 9300.949618] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=26562 PROTO=UDP 
> SPT=60777 DPT=8612 LEN=24
> [ 9315.145767] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2471 PROTO=UDP 
> SPT=57880 DPT=8612 LEN=24
> [ 9336.440701] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=13772 PROTO=UDP 
> SPT=56649 DPT=8612 LEN=24
> [ 9357.737161] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=40962 PROTO=UDP 
> SPT=52921 DPT=8612 LEN=24
> [ 9379.023377] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=1294 PROTO=UDP 
> SPT=64816 DPT=8612 LEN=24
> [ 9400.314813] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=28271 PROTO=UDP 
> SPT=57295 DPT=8612 LEN=24
> [ 9421.607658] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24869 PROTO=UDP 
> SPT=63015 DPT=8612 LEN=24
> [ 9435.803070] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24159 PROTO=UDP 
> SPT=49910 DPT=8612 LEN=24
> [ 9457.090747] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2864 PROTO=UDP 
> SPT=61244 DPT=8612 LEN=24
> [ 9478.382357] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=43778 PROTO=UDP 
> SPT=51116 DPT=8612 LEN=24
> [ 9499.675338] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=40883 PROTO=UDP 
> SPT=53423 DPT=8612 LEN=24
> [ 9520.969030] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=48763 PROTO=UDP 
> SPT=61480 DPT=8612 LEN=24
> [ 9535.165852] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24881 PROTO=UDP 
> SPT=51598 DPT=8612 LEN=24
> [ 9556.454715] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=64968 PROTO=UDP 
> SPT=62288 DPT=8612 LEN=24
> [ 9577.746240] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=28358 PROTO=UDP 
> SPT=59616 DPT=8612 LEN=24
> [ 9599.035356] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=35017 PROTO=UDP 
> SPT=50520 DPT=8612 LEN=24
> [ 9620.323565] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=29203 PROTO=UDP 
> SPT=63530 DPT=8612 LEN=24
> [ 9641.611602] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=29548 PROTO=UDP 
> SPT=63472 DPT=8612 LEN=24
> [ 9655.807473] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=17001 PROTO=UDP 
> SPT=55594 DPT=8612 LEN=24
> [ 9677.101228] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=30075 PROTO=UDP 
> SPT=53116 DPT=8612 LEN=24
> [ 9698.396683] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=18026 PROTO=UDP 
> SPT=62926 DPT=8612 LEN=24
> [ 9719.684470] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=46415 PROTO=UDP 
> SPT=50190 DPT=8612 LEN=24
> [ 9740.978130] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=55 PROTO=UDP 
> SPT=56011 DPT=8612 LEN=24
> [ 9755.172632] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=62460 PROTO=UDP 
> SPT=51919 DPT=8612 LEN=24
> [ 9776.460272] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=46027 PROTO=UDP 
> SPT=55409 DPT=8612 LEN=24
> [ 9797.752445] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=22063 PROTO=UDP 
> SPT=62368 DPT=8612 LEN=24
> [ 9819.039401] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=48012 PROTO=UDP 
> SPT=49348 DPT=8612 LEN=24
> [ 9840.308755] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6446 PROTO=UDP 
> SPT=60834 DPT=8612 LEN=24
> [ 9861.578242] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=12945 PROTO=UDP 
> SPT=50891 DPT=8612 LEN=24
> [ 9875.764382] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=32602 PROTO=UDP 
> SPT=60563 DPT=8612 LEN=24
> [ 9897.053750] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21797 PROTO=UDP 
> SPT=59191 DPT=8612 LEN=24
> [ 9918.345339] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=27818 PROTO=UDP 
> SPT=56278 DPT=8612 LEN=24
> [ 9939.637264] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=10822 PROTO=UDP 
> SPT=65153 DPT=8612 LEN=24
> [ 9960.933601] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=55335 PROTO=UDP 
> SPT=55721 DPT=8612 LEN=24
> [ 9982.223152] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=1390 PROTO=UDP 
> SPT=60892 DPT=8612 LEN=24
> [ 9996.413610] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=64222 PROTO=UDP 
> SPT=55895 DPT=8612 LEN=24
> [10017.706898] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=31919 PROTO=UDP 
> SPT=51380 DPT=8612 LEN=24
> [10039.002309] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=39170 PROTO=UDP 
> SPT=52286 DPT=8612 LEN=24
> [10060.293401] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=52418 PROTO=UDP 
> SPT=58060 DPT=8612 LEN=24
> [10081.584888] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=64318 PROTO=UDP 
> SPT=65143 DPT=8612 LEN=24
> [10095.772151] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=865 PROTO=UDP 
> SPT=61014 DPT=8612 LEN=24
> [10117.064730] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2369 PROTO=UDP 
> SPT=62267 DPT=8612 LEN=24
> [10138.359542] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=3883 PROTO=UDP 
> SPT=61262 DPT=8612 LEN=24
> [10159.642007] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=57331 PROTO=UDP 
> SPT=63345 DPT=8612 LEN=24
> [10180.933628] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=56321 PROTO=UDP 
> SPT=61893 DPT=8612 LEN=24
> [10202.227857] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=48131 PROTO=UDP 
> SPT=52558 DPT=8612 LEN=24
> [10216.422278] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=13678 PROTO=UDP 
> SPT=63854 DPT=8612 LEN=24
> [10237.674415] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6238 PROTO=UDP 
> SPT=57183 DPT=8612 LEN=24
> [10258.920304] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=8161 PROTO=UDP 
> SPT=60966 DPT=8612 LEN=24
> [10280.167434] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6883 PROTO=UDP 
> SPT=49824 DPT=8612 LEN=24
> [10301.408553] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24745 PROTO=UDP 
> SPT=58849 DPT=8612 LEN=24
> [10315.581521] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=53146 PROTO=UDP 
> SPT=50983 DPT=8612 LEN=24
> [10336.826660] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=61994 PROTO=UDP 
> SPT=61672 DPT=8612 LEN=24
> [10358.067168] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=56019 PROTO=UDP 
> SPT=55912 DPT=8612 LEN=24
> [10379.311661] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=3589 PROTO=UDP 
> SPT=59585 DPT=8612 LEN=24
> [10400.555199] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=52544 PROTO=UDP 
> SPT=50523 DPT=8612 LEN=24
> [10421.798074] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=8793 PROTO=UDP 
> SPT=62673 DPT=8612 LEN=24
> [10435.960486] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2507 PROTO=UDP 
> SPT=57283 DPT=8612 LEN=24
> [10457.208299] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=32133 PROTO=UDP 
> SPT=63590 DPT=8612 LEN=24
> [10478.451380] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=42578 PROTO=UDP 
> SPT=61438 DPT=8612 LEN=24
> [10499.695718] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=53195 PROTO=UDP 
> SPT=64094 DPT=8612 LEN=24
> [10520.944332] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=25876 PROTO=UDP 
> SPT=56356 DPT=8612 LEN=24
> [10542.196390] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=16917 PROTO=UDP 
> SPT=52972 DPT=8612 LEN=24
> [10556.365889] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=32556 PROTO=UDP 
> SPT=57426 DPT=8612 LEN=24
> [10577.618863] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24026 PROTO=UDP 
> SPT=52661 DPT=8612 LEN=24
> [10598.872180] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21131 PROTO=UDP 
> SPT=54450 DPT=8612 LEN=24
> [10620.125929] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=18924 PROTO=UDP 
> SPT=63623 DPT=8612 LEN=24
> [10641.378203] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=58563 PROTO=UDP 
> SPT=54629 DPT=8612 LEN=24
> [10655.547731] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2271 PROTO=UDP 
> SPT=62082 DPT=8612 LEN=24
> [10676.799166] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=11477 PROTO=UDP 
> SPT=50901 DPT=8612 LEN=24
> [10698.049995] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=29174 PROTO=UDP 
> SPT=54120 DPT=8612 LEN=24
> [10719.299352] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=59268 PROTO=UDP 
> SPT=60986 DPT=8612 LEN=24
> [10740.551316] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=48602 PROTO=UDP 
> SPT=62791 DPT=8612 LEN=24
> [10761.803342] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=23144 PROTO=UDP 
> SPT=60710 DPT=8612 LEN=24
> [10775.972846] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=41731 PROTO=UDP 
> SPT=56027 DPT=8612 LEN=24
> [10797.225825] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21298 PROTO=UDP 
> SPT=60650 DPT=8612 LEN=24
> [10818.478742] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=28747 PROTO=UDP 
> SPT=53725 DPT=8612 LEN=24
> [10839.730133] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=63333 PROTO=UDP 
> SPT=55245 DPT=8612 LEN=24
> [10861.007074] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=43343 PROTO=UDP 
> SPT=60466 DPT=8612 LEN=24
> [10875.201305] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=59086 PROTO=UDP 
> SPT=50926 DPT=8612 LEN=24
> [10896.492982] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6306 PROTO=UDP 
> SPT=51338 DPT=8612 LEN=24
> [10917.785624] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=7593 PROTO=UDP 
> SPT=57818 DPT=8612 LEN=24
> [10939.074883] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=22595 PROTO=UDP 
> SPT=52763 DPT=8612 LEN=24
> [10960.363042] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=36882 PROTO=UDP 
> SPT=62352 DPT=8612 LEN=24
> [10981.653004] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=43734 PROTO=UDP 
> SPT=51387 DPT=8612 LEN=24
> [10995.848652] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6598 PROTO=UDP 
> SPT=62922 DPT=8612 LEN=24
> [11016.123294] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=45300 PROTO=UDP 
> SPT=61106 DPT=8612 LEN=24
> [11037.376554] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21836 PROTO=UDP 
> SPT=63958 DPT=8612 LEN=24
> [11058.623251] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=29742 PROTO=UDP 
> SPT=52538 DPT=8612 LEN=24
> [11079.872396] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=18223 PROTO=UDP 
> SPT=50838 DPT=8612 LEN=24
> [11101.118083] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=47993 PROTO=UDP 
> SPT=65491 DPT=8612 LEN=24
> [11115.275522] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=1162 PROTO=UDP 
> SPT=51704 DPT=8612 LEN=24
> [11136.516008] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=64696 PROTO=UDP 
> SPT=52916 DPT=8612 LEN=24
> [11157.763505] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21634 PROTO=UDP 
> SPT=53171 DPT=8612 LEN=24
> [11179.061290] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=16456 PROTO=UDP 
> SPT=58392 DPT=8612 LEN=24
> [11200.310981] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=50841 PROTO=UDP 
> SPT=62409 DPT=8612 LEN=24
> [11221.552076] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=30664 PROTO=UDP 
> SPT=50335 DPT=8612 LEN=24
> [11235.714711] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=64167 PROTO=UDP 
> SPT=55560 DPT=8612 LEN=24
> [11256.961611] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=31768 PROTO=UDP 
> SPT=59551 DPT=8612 LEN=24
> [11278.211144] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=4175 PROTO=UDP 
> SPT=54781 DPT=8612 LEN=24
> [11299.460686] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=11077 PROTO=UDP 
> SPT=53685 DPT=8612 LEN=24
> [11320.712878] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=17961 PROTO=UDP 
> SPT=50653 DPT=8612 LEN=24
> [11341.962845] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=19149 PROTO=UDP 
> SPT=57854 DPT=8612 LEN=24
> [11356.126416] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=12690 PROTO=UDP 
> SPT=64637 DPT=8612 LEN=24
> [11377.376157] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=28038 PROTO=UDP 
> SPT=53323 DPT=8612 LEN=24
> [11398.622321] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=32462 PROTO=UDP 
> SPT=52654 DPT=8612 LEN=24
> [11419.869941] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=154 PROTO=UDP 
> SPT=65181 DPT=8612 LEN=24
> [11441.117693] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=30678 PROTO=UDP 
> SPT=63772 DPT=8612 LEN=24
> [11455.284692] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=42918 PROTO=UDP 
> SPT=60582 DPT=8612 LEN=24
> [11476.532537] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=27778 PROTO=UDP 
> SPT=58511 DPT=8612 LEN=24
> [11497.783340] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=61283 PROTO=UDP 
> SPT=55613 DPT=8612 LEN=24
> [11519.034166] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=17701 PROTO=UDP 
> SPT=49750 DPT=8612 LEN=24
> [11540.286035] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=60563 PROTO=UDP 
> SPT=64688 DPT=8612 LEN=24
> [11561.535829] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=11276 PROTO=UDP 
> SPT=59799 DPT=8612 LEN=24
> [11575.704568] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=14864 PROTO=UDP 
> SPT=51516 DPT=8612 LEN=24
> [11596.955455] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=45615 PROTO=UDP 
> SPT=49745 DPT=8612 LEN=24
> [11618.206608] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=5521 PROTO=UDP 
> SPT=62348 DPT=8612 LEN=24
> [11639.458621] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=42445 PROTO=UDP 
> SPT=53031 DPT=8612 LEN=24
> [11660.709755] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=23252 PROTO=UDP 
> SPT=59857 DPT=8612 LEN=24
> [11681.961247] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=55926 PROTO=UDP 
> SPT=55912 DPT=8612 LEN=24
> [11696.128694] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=46226 PROTO=UDP 
> SPT=54615 DPT=8612 LEN=24
> [11717.381677] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=55127 PROTO=UDP 
> SPT=60967 DPT=8612 LEN=24
> [11738.631127] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=43609 PROTO=UDP 
> SPT=58269 DPT=8612 LEN=24
> [11759.882273] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=22258 PROTO=UDP 
> SPT=64924 DPT=8612 LEN=24
> [11781.134049] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=42960 PROTO=UDP 
> SPT=53387 DPT=8612 LEN=24
> [11795.302209] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=54512 PROTO=UDP 
> SPT=53765 DPT=8612 LEN=24
> [11816.553516] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=41229 PROTO=UDP 
> SPT=57628 DPT=8612 LEN=24
> [11837.806479] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=2146 PROTO=UDP 
> SPT=60148 DPT=8612 LEN=24
> [11859.059611] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=6312 PROTO=UDP 
> SPT=59522 DPT=8612 LEN=24
> [11880.309831] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=34084 PROTO=UDP 
> SPT=50598 DPT=8612 LEN=24
> [11901.561754] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=58314 PROTO=UDP 
> SPT=65109 DPT=8612 LEN=24
> [11915.730898] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=56605 PROTO=UDP 
> SPT=59733 DPT=8612 LEN=24
> [11936.982386] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=360 PROTO=UDP 
> SPT=61147 DPT=8612 LEN=24
> [11958.236875] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=3899 PROTO=UDP 
> SPT=64429 DPT=8612 LEN=24
> [11979.489873] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=14931 PROTO=UDP 
> SPT=52829 DPT=8612 LEN=24
> [12000.740408] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=47735 PROTO=UDP 
> SPT=58033 DPT=8612 LEN=24
> [12021.991429] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=59114 PROTO=UDP 
> SPT=52799 DPT=8612 LEN=24
> [12036.156879] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=38654 PROTO=UDP 
> SPT=64937 DPT=8612 LEN=24
> [12057.408761] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=53972 PROTO=UDP 
> SPT=58841 DPT=8612 LEN=24
> [12078.660466] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=37753 PROTO=UDP 
> SPT=56736 DPT=8612 LEN=24
> [12099.913128] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=62635 PROTO=UDP 
> SPT=52020 DPT=8612 LEN=24
> [12121.164001] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=59145 PROTO=UDP 
> SPT=58305 DPT=8612 LEN=24
> [12135.332113] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=40537 PROTO=UDP 
> SPT=62194 DPT=8612 LEN=24
> [12156.580851] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=7251 PROTO=UDP 
> SPT=56203 DPT=8612 LEN=24
> [12177.829624] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=43349 PROTO=UDP 
> SPT=52360 DPT=8612 LEN=24
> [12199.079992] [UFW BLOCK] IN=eth0 OUT= 
> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 
> DST=224.0.0.1 LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=37232 PROTO=UDP 
> SPT=64936 DPT=8612 LEN=24



From Larry.Finger at lwfinger.net  Tue Oct 29 10:42:04 2013
From: Larry.Finger at lwfinger.net (Larry Finger)
Date: Tue, 29 Oct 2013 09:42:04 -0500
Subject: Problems with Broadcom wireless BCM4306 on HP Compaq NX9105
In-Reply-To: <526FB25B.6040903@berwers.org>
References: <526FB25B.6040903@berwers.org>
Message-ID: <526FC93C.4030004@lwfinger.net>

On 10/29/2013 08:04 AM, Ben Berwers wrote:
> Dear mr/mrs,
>
> I cannot properly get the wireless card Broadcom BCM 4306 (14e4:4320 Rev. 03)
> (b43legacy?) working.
>
> Being a newby in Linux land (former Windows-user and now Mac user) I did the
> following to install the b43 driver:
>
> sudo apt-get update && sudo apt-get upgrade
> sudo apt-get install b43-fwcutter firmware-b43-installer
>
> The card worked for a while, then the blue led on the corner started to blink
> instead of burning constantly and then the card stopped working.
>
> Could you please give me some hints?
>
> Thank you in advance,
>
> Ben Berwers
> ben at berwers.org
> Assen, the Netherlands
> +31 592 795987
>
>
>   $ uname -a
> Linux ben-hp-compaq-nx9105-PG693EA-ACB 3.2.0-23-generic #36-Ubuntu SMP Tue Apr
> 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
>
> $ lspci -vvn|grep 43 -A7
> 02:02.0 0280: 14e4:4320 (rev 03)
>      Subsystem: 103c:12fa
>      Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR+ FastB2B- DisINTx-
>      Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
> <MAbort- >SERR- <PERR- INTx-
>      Latency: 64
>      Interrupt: pin A routed to IRQ 17
>      Region 0: Memory at e0104000 (32-bit, non-prefetchable) [size=8K]
>      Kernel driver in use: b43-pci-bridge
>      Kernel modules: wl, ssb
>
> 02:04.0 0607: 104c:ac54 (rev 01)
>      Subsystem: 103c:006d
>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>      Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
> <MAbort- >SERR- <PERR- INTx-
>      Latency: 168, Cache Line Size: 64 bytes
>
>
> dmesg:
>> UDP SPT=58930 DPT=8612 LEN=24
>> [ 8819.356080] [UFW BLOCK] IN=eth0 OUT=
>> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 DST=224.0.0.1
>> LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=24539 PROTO=UDP SPT=51264 DPT=8612 LEN=24
>> [ 8840.650172] [UFW BLOCK] IN=eth0 OUT=
>> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 DST=224.0.0.1
>> LEN=44 TOS=0x00 PREC=0x00 TTL=1 ID=21768 PROTO=UDP SPT=51628 DPT=8612 LEN=24
>> [ 8861.942562] [UFW BLOCK] IN=eth0 OUT=
>> MAC=01:00:5e:00:00:01:00:1f:f3:54:c8:b5:08:00 SRC=10.0.1.2 DST=224.0.0.1

Everything you posted as dmesg output came from your firewall and involved eth0, 
not your wireless card. As such, that output tells us nothing.

A BCM4306 (14e4:4320) with Rev 3 should use b43, not b43legacy. You could tell 
that by looking at the output of dmesg immediately after running the following 
two commands:

sudo /sbin/modprobe -rv b43
sudo /sbin/modprobe -v b43

A BCM4306 is pretty simple. The one I use is a PCMCIA device with two LEDs. One 
is steady to indicate power, and the other blinks when there is traffic. I have 
no idea what configuration you have, or what the LEDs indicate.

When the device stopped working, what was changed on your system? Was there a 
new kernel, or did some other software get changed? Perhaps your device 
malfunctioned.

Larry



From geert at linux-m68k.org  Wed Oct 30 15:08:54 2013
From: geert at linux-m68k.org (Geert Uytterhoeven)
Date: Wed, 30 Oct 2013 20:08:54 +0100
Subject: [PATCH 29/51] DMA-API: ata: pata_octeon_cf: convert to use
 dma_coerce_mask_and_coherent()
In-Reply-To: <E1VMmAk-0007iq-IU@rmk-PC.arm.linux.org.uk>
References: <20130919212235.GD12758@n2100.arm.linux.org.uk>
 <E1VMmAk-0007iq-IU@rmk-PC.arm.linux.org.uk>
Message-ID: <CAMuHMdWqAL6MN5VJrpAPC1fq3QtRWZ3UUMG3+6W5vEKSEm5N9g@mail.gmail.com>

On Thu, Sep 19, 2013 at 11:54 PM, Russell King
<rmk+kernel at arm.linux.org.uk> wrote:
> diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
> index c51bbb9..6231d43 100644
> --- a/drivers/ata/pata_octeon_cf.c
> +++ b/drivers/ata/pata_octeon_cf.c
> @@ -1014,8 +1014,9 @@ static int octeon_cf_probe(struct platform_device *pdev)
>         }
>         cf_port->c0 = ap->ioaddr.ctl_addr;
>
> -       pdev->dev.coherent_dma_mask = DMA_BIT_MASK(64);
> -       pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
> +       rv = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
> +       if (rv)
> +               return ret;

return rv;

http://kisskb.ellerman.id.au/kisskb/buildresult/9959184/

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


From m.chehab at samsung.com  Thu Oct 31 07:46:40 2013
From: m.chehab at samsung.com (Mauro Carvalho Chehab)
Date: Thu, 31 Oct 2013 09:46:40 -0200
Subject: [PATCH 19/51] DMA-API: media: dt3155v4l: replace
 dma_set_mask()+dma_set_coherent_mask() with new helper
In-Reply-To: <5249673B.5020705@xs4all.nl>
References: <20130919212235.GD12758@n2100.arm.linux.org.uk>
 <E1VMm13-0007hO-9l@rmk-PC.arm.linux.org.uk> <5249673B.5020705@xs4all.nl>
Message-ID: <20131031094640.205840a2@samsung.com>

Hi Russell,

Em Mon, 30 Sep 2013 13:57:47 +0200
Hans Verkuil <hverkuil at xs4all.nl> escreveu:

> On 09/19/2013 11:44 PM, Russell King wrote:
> > Replace the following sequence:
> > 
> > 	dma_set_mask(dev, mask);
> > 	dma_set_coherent_mask(dev, mask);
> > 
> > with a call to the new helper dma_set_mask_and_coherent().
> > 
> > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> 
> Acked-by: Hans Verkuil <hans.verkuil at cisco.com>

Somehow, I lost your original post (I got unsubscribed on a few days 
from all vger mailing lists at the end of september).

I suspect that you want to sent this via your tree, right?
If so:

Acked-by: Mauro Carvalho Chehab <m.chehab at samsung.com>

> 
> Regards,
> 
> 	Hans
> 
> > ---
> >  drivers/staging/media/dt3155v4l/dt3155v4l.c |    5 +----
> >  1 files changed, 1 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c
> > index 90d6ac4..081407b 100644
> > --- a/drivers/staging/media/dt3155v4l/dt3155v4l.c
> > +++ b/drivers/staging/media/dt3155v4l/dt3155v4l.c
> > @@ -901,10 +901,7 @@ dt3155_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> >  	int err;
> >  	struct dt3155_priv *pd;
> >  
> > -	err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
> > -	if (err)
> > -		return -ENODEV;
> > -	err = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
> > +	err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
> >  	if (err)
> >  		return -ENODEV;
> >  	pd = kzalloc(sizeof(*pd), GFP_KERNEL);
> > 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 

Cheers,
Mauro


From linux at arm.linux.org.uk  Thu Oct 31 10:49:30 2013
From: linux at arm.linux.org.uk (Russell King - ARM Linux)
Date: Thu, 31 Oct 2013 14:49:30 +0000
Subject: [PATCH 19/51] DMA-API: media: dt3155v4l: replace
 dma_set_mask()+dma_set_coherent_mask() with new helper
In-Reply-To: <20131031094640.205840a2@samsung.com>
References: <20130919212235.GD12758@n2100.arm.linux.org.uk>
 <E1VMm13-0007hO-9l@rmk-PC.arm.linux.org.uk> <5249673B.5020705@xs4all.nl>
 <20131031094640.205840a2@samsung.com>
Message-ID: <20131031144929.GC25039@n2100.arm.linux.org.uk>

On Thu, Oct 31, 2013 at 09:46:40AM -0200, Mauro Carvalho Chehab wrote:
> Hi Russell,
> 
> Em Mon, 30 Sep 2013 13:57:47 +0200
> Hans Verkuil <hverkuil at xs4all.nl> escreveu:
> 
> > On 09/19/2013 11:44 PM, Russell King wrote:
> > > Replace the following sequence:
> > > 
> > > 	dma_set_mask(dev, mask);
> > > 	dma_set_coherent_mask(dev, mask);
> > > 
> > > with a call to the new helper dma_set_mask_and_coherent().
> > > 
> > > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> > 
> > Acked-by: Hans Verkuil <hans.verkuil at cisco.com>
> 
> Somehow, I lost your original post (I got unsubscribed on a few days 
> from all vger mailing lists at the end of september).
> 
> I suspect that you want to sent this via your tree, right?

Yes please.

> If so:
> 
> Acked-by: Mauro Carvalho Chehab <m.chehab at samsung.com>

Added, thanks.

> > > -	err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
> > > -	if (err)
> > > -		return -ENODEV;
> > > -	err = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
> > > +	err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
> > >  	if (err)
> > >  		return -ENODEV;

One thing I've just noticed is that return should be "return err" not
"return -ENODEV" - are you okay for me to change that in this patch?

Thanks.


From Larry.Finger at lwfinger.net  Thu Oct 31 10:47:52 2013
From: Larry.Finger at lwfinger.net (Larry Finger)
Date: Thu, 31 Oct 2013 09:47:52 -0500
Subject: Problems with Broadcom wireless BCM4306 on HP Compaq NX9105
In-Reply-To: <9AB72C11-82AD-4BC7-B729-76DE995A8A0F@berwers.org>
References: <526FB25B.6040903@berwers.org> <526FC93C.4030004@lwfinger.net>
 <9AB72C11-82AD-4BC7-B729-76DE995A8A0F@berwers.org>
Message-ID: <52726D98.3010309@lwfinger.net>

On 10/31/2013 07:47 AM, ben at berwers.org wrote:
> Good afternoon Larry,
>
> sorry to bother you. I like this Zorin distribution, but still it is very technical to get the Broadcom BMC4306 working.
> I am afraid that I must give up. Thanks anyway!

That is your decision. Getting a Broadcom device to work is more difficult than 
others because Broadcom does not allow redistribution of their firmware, but it 
seemed as if you had already mastered that step.

In the future, always use the "Reply to All" feature of your mailer so that any 
mailing lists are included in the Cc lists. Without that, you are implicitly 
asking for private consulting without paying for it. In most instances, 
developers like me just ignore such mail.

Larry




