From owner-freebsd-bugs@FreeBSD.ORG Sun May 26 08:40:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BAED759A for ; Sun, 26 May 2013 08:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8963AE73 for ; Sun, 26 May 2013 08:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4Q8e0kX001129 for ; Sun, 26 May 2013 08:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4Q8e0AD001128; Sun, 26 May 2013 08:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 26 May 2013 08:40:00 GMT Resent-Message-Id: <201305260840.r4Q8e0AD001128@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Monthadar Al Jaberi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C1EFD477 for ; Sun, 26 May 2013 08:34:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id B37FCE54 for ; Sun, 26 May 2013 08:34:58 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4Q8YvnY059978 for ; Sun, 26 May 2013 08:34:57 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4Q8YvgJ059963; Sun, 26 May 2013 08:34:57 GMT (envelope-from nobody) Message-Id: <201305260834.r4Q8YvgJ059963@oldred.FreeBSD.org> Date: Sun, 26 May 2013 08:34:57 GMT From: Monthadar Al Jaberi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/178986: Change mac address of ath(4) is not reflected when wlan is brought up X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 08:40:00 -0000 >Number: 178986 >Category: kern >Synopsis: Change mac address of ath(4) is not reflected when wlan is brought up >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 26 08:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Monthadar Al Jaberi >Release: Head + r238604 >Organization: >Environment: FreeBSD MESH 10.0-CURRENT FreeBSD 10.0-CURRENT #254: Sat May 25 16:53:50 CEST 2013 root@:/usr/obj/mips.mips/usr/src/sys/RSPRO_MFS mips >Description: The mac address of AR5413 wifi chip is not updated after a new mac address is assigned to it. Probably all ath(4) devices have same issue. This results in STAs not discarding to unicast frames address to the new MAC. >How-To-Repeat: COLD START two RSPRO with FreeBSD HEAD. RSPRO1# ifconfig ath0 ether 00:01:02:00:00:01 RSPRO1# ifconfig wlan create wlandev ath0 wlanmode mesh channel 1 meshid test RSPRO1# ifconfig wlan0 192.168.3.1 RSPRO2# ifconfig ath0 ether 00:01:02:00:00:02 RSPRO2# ifconfig wlan create wlandev ath0 wlanmode mesh channel 1 meshid test RSPRO2# ifconfig wlan0 192.168.3.2 Running 'athregs -i ath0 | grep STA' on both RSPRO reveals that the chip still has the old mac address registered as it's STA_ID0 (station id). Pining between the RSPROs does not work. >Fix: Workaround: Running 'ifconfig ath0 up' just after setting new mac address seems to update the STA_ID0 register to the new mac address. >Release-Note: >Audit-Trail: >Unformatted: