Date: Wed, 15 Aug 2018 16:54:46 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 230654] [ath] AR9485 will not connect when wlan MAC address is changed Message-ID: <bug-230654-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230654 Bug ID: 230654 Summary: [ath] AR9485 will not connect when wlan MAC address is changed Product: Base System Version: 11.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: yoitsmeremember+fbsd@gmail.com I have an AR9485 in a laptop, configured as the backup for an Ethernet connection as documented in: https://www.freebsd.org/doc/handbook/network-aggregation.html#networking-la= gg-wired-and-wireless The issue is, when using the recommended configuration, the Atheros card (a= th0) will not establish layer-2 connectivity (i.e. it will not associate with our access points). After some troubleshooting, it appears this is an issue th= at arises due to the MAC address being set on the wlan0 interface. Here is the configuration that does *NOT* work (rc.conf): ifconfig_em0=3D"up" wlans_ath0=3D"wlan0" ifconfig_wlan0=3D"WPA" create_args_wlan0=3D"wlanaddr XX:XX:XX:XX:XX:XX" # address of em0 is given cloned_interfaces=3D"lagg0" ifconfig_lagg0=3D"up laggproto failover laggport em0 laggport wlan0 DHCP" This identical configuration works with an Intel Centrino Wireless-N [iwn] = card (except for the necessary change of interface names), so I believe the issue may be specific to Atheros cards. A workaround can be achieved by doing all of the following: - Remove the "create_args_wlan0..." line from rc.conf - Set the MAC address of the em0 (or appropriate other laggport device) to = that of the Atheros card (replaced by 'Y's in this example), e.g.: echo "ifconfig em0 link YY:YY:YY:YY:YY:YY" > /etc/start_if.em0 Additional information: #uname -mirs FreeBSD 11.2-RELEASE-p1 amd64 BASTION relevant wireless kernel config: device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm #device iwn # Intel 4965/1000/5000/6000 wireless NICs. device ath device ath_pci device ath_hal device ath_rate_sample options AH_AR5416_INTERRUPT_MITIGATION options AH_SUPPORT_AR5416 options ATH_ENABLE_11N relevant output from #pciconf -lcbv: ath0@pci0:3:0:0: class=3D0x028000 card=3D0x02081028 chip=3D0x0032168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR9485 Wireless Network Adapter' class =3D network bar [10] =3D type Memory, range 64, base 0xf2400000, size 524288, ena= bled cap 01[40] =3D powerspec 2 supports D0 D1 D2 D3 current D0 cap 05[50] =3D MSI supports 4 messages, 64 bit, vector masks=20 cap 10[70] =3D PCI-Express 2 endpoint max data 128(128) RO link x1(x1) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 2 corrected ecap 0002[140] =3D VC 1 max VC0 ecap 0003[160] =3D Serial 1 0000000000000000 I can provide any other information you need upon request. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230654-21060>