From nobody Wed Dec 11 16:54:42 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y7hXt2KFHz5g9hV for ; Wed, 11 Dec 2024 16:54:54 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y7hXs6TB0z4DR0; Wed, 11 Dec 2024 16:54:53 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-46785fbb949so17975201cf.3; Wed, 11 Dec 2024 08:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733936093; x=1734540893; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PNGfClU+0Mfz1HLLD+YkcU4CfxmijdgxE0RRrRfwVb4=; b=gBXKl/a5je+NS/9YJwizMZS2RfDdn4bM5uARAc6cJT+zDKkYqXsZTVTg+oL51vMxOK RFsRtTCEEBoqUpwlip6ozDVKIEVItSpWDzY/6ewz1mxOg56MPc8Wz23WEXINh63BMJ8h BKLxCvdcTNBfxcGTbCi4n2IkjzlTQzpCWhSVZeocxZbJLWYEolPJ5OzfZVxy+IyOCdsN kfFj7IQEa+dq4nMAgD6H7MU73idASWqfvI0jHSWMExHeul+p89Q7sqFsvTPZKV3J5eaX JZZAFFivGat9ZIqnm7CS/UbI+71iA9dkMENzEWRcHPHtZ1pPOX0IRc+y5LDT7GCYlFBh i3Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733936093; x=1734540893; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PNGfClU+0Mfz1HLLD+YkcU4CfxmijdgxE0RRrRfwVb4=; b=FgUwVo8w7Dwag70fEg4dP5U2EnYciRxxx0t9T6XsLZGU8ya4xnaVyAmYRmfEo0AWXi oIHJYkGQXdMejFZHdU66MpNarb1+sfXWYVkolIFyWsvdyefVhJnkRlJh5k3M5vaDH/14 sn1Hj60zeAaQ9eC7XxDVbstlK/9tGkTm6YzPImJ8/Q76r6Wjm77hO0QV2+/H3IGBNCVW 2nyHMvFuNtpY97iW4T4oOwPzUsoOXgYa3s7i07htUGhRZJhnB/QkV22NfV31TUj6IVbm cJmGbUrp6kJNEvIgSo0d8hmDNen3EVUSDP5GVgvYMqG7dfkqspXE/Wl3DlyfW2F6MroR ruYQ== X-Gm-Message-State: AOJu0YynVTo+lJ1SK+99kvsXUqnYuMXVpwFMUlhCApR01T5mjE3ifHv1 YwiZ75J5OTzN+D2r7bQ4OEDsTpL7lU9Cn26CeXF4av5YidCoTw7oP5384qzCEtwIrgNJ4cjK70K NVGnsiQ8E63d3z6rVOO9LDlv0/MC9mtYE X-Gm-Gg: ASbGncvvdzYcyobg2ktN74HhL8GPSGDurztO9C4MXDneNJFe+6LuPS53LkRs94I/b26 sMBKAxNMOzbv7ucCQu0idWEXWc5VuFVq12x/n X-Google-Smtp-Source: AGHT+IG+OFXQ9cTZiunlOeIfd25Q1wCyQASuiHjmTGE5nAPtK2EXv+1uS0ke2ydoQp9924mcyOIpW/FaWL8DF4Of0OY= X-Received: by 2002:ac8:7f94:0:b0:466:b189:2071 with SMTP id d75a77b69052e-46796267610mr670041cf.49.1733936093015; Wed, 11 Dec 2024 08:54:53 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 References: <5e27a6e0-6fe2-434a-b8ea-1c39ea018d1f@gmail.com> In-Reply-To: From: Mike Jakubik Date: Wed, 11 Dec 2024 11:54:42 -0500 Message-ID: Subject: Re: ath0 (Atheros AR946x/AR948x) timeout issues To: Adrian Chadd Cc: net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e334950629017425" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[] X-Rspamd-Queue-Id: 4Y7hXs6TB0z4DR0 X-Spamd-Bar: ---- --000000000000e334950629017425 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Here are some images for now, I'll have to plug it back in to get the rest of the data. https://ibb.co/3N1SRtd https://ibb.co/k0cQ2Pr Thanks. On Wed, Dec 11, 2024 at 11:00=E2=80=AFAM Adrian Chadd = wrote: > Hi! It shouldn't be timing out at all. It's possible there's some antenna > config issues as the AR9462 IIRC is one of those 1x1 devices with an > antenna switch and bluetooth. > > Can you do "ifconfig wlan0 list sta" and paste that and the above into a > problem report? I'll go find my AR9462 NICs and take a look. > > Also, can you take a photo of the NIC itself, so I can make sure it lines > up with what I have in my box of Atheros parts? > > Thanks! > > > > -adrian > > > On Sun, 1 Dec 2024 at 05:41, Mike Jakubik wrote: > >> Hello, >> >> After all the info i gathered about ath having best WIFI support, i >> bought a card only to experience constant timeout issues and terrible >> performance. Below is some useful info, any ideas appreciated. The PC >> and it's antenna is ~12m @ LOS from the AP. All other WIFI devices in >> house work great. >> >> Qualcomm Atheros AR5BMD222 Wireless Network Adapter >> FreeBSD 15 @ ~2 days ago from master branch. >> >> #rc.conf >> create_args_wlan0=3D"country US regdomain FCC" >> wlans_ath0=3D"wlan0" >> ifconfig_wlan0=3D"WPA SDHCP" >> >> #wpa_supplicant.conf >> ctrl_interface=3D/var/run/wpa_supplicant >> >> network=3D{ >> ssid=3D"SSID_redacted" >> psk=3D"PSK_redacted" >> } >> >> >> ath0: mem 0xdf600000-0xdf67ffff at device 0.0 on >> pci8 >> ath0: [HT] enabling HT modes >> ath0: [HT] enabling short-GI in 20MHz mode >> ath0: [HT] 1 stream STBC receive enabled >> ath0: [HT] 1 stream STBC transmit enabled >> ath0: [HT] LDPC transmit/receive enabled >> ath0: [HT] 2 RX streams; 2 TX streams >> ath0: AR9460 mac 640.2 RF5110 phy 0.0 >> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 >> >> >> [255] ath0: device timeout >> [287] ath0: device timeout >> >> ^ This repeats hundreds of times, network is unusable during these >> reports. >> >> >> [mike@fbsd15 ~]$ ifconfig -m wlan0 >> >> wlan0: flags=3D8843 metric 0 mtu >> 1500 >> options=3D0 >> capabilities=3D0 >> ether c0:38:96:39:66:f5 >> inet 192.168.100.180 netmask 0xffffff00 broadcast 192.168.100.255 >> groups: wlan >> ssid BluePill channel 149 (5745 MHz 11a ht/40+) bssid 40:ae:30:fc:e2:3d >> regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON >> deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 >> mgmtrate 6 scanvalid 60 ampdulimit 64k shortgi -uapsd wme burst >> roaming MANUAL >> parent interface: ath0 >> media: IEEE 802.11 Wireless Ethernet MCS mode 11na >> status: associated >> >> supported media: >> media MCS mode autoselect >> media MCS mode 11ng >> media autoselect mode 11ng >> media MCS mode 11na >> media autoselect mode 11na >> media DS/11Mbps mode autoselect >> media DS/5.5Mbps mode autoselect >> media DS/2Mbps mode autoselect >> media DS/1Mbps mode autoselect >> media OFDM/54Mbps mode autoselect >> media OFDM/48Mbps mode autoselect >> media OFDM/36Mbps mode autoselect >> media OFDM/24Mbps mode autoselect >> media OFDM/18Mbps mode autoselect >> media OFDM/12Mbps mode autoselect >> media OFDM/9Mbps mode autoselect >> media OFDM/6Mbps mode autoselect >> media OFDM/54Mbps mode 11g >> media OFDM/48Mbps mode 11g >> media OFDM/36Mbps mode 11g >> media OFDM/24Mbps mode 11g >> media OFDM/18Mbps mode 11g >> media OFDM/12Mbps mode 11g >> media OFDM/9Mbps mode 11g >> media OFDM/6Mbps mode 11g >> media DS/11Mbps mode 11g >> media DS/5.5Mbps mode 11g >> media DS/2Mbps mode 11g >> media DS/1Mbps mode 11g >> media autoselect mode 11g >> media DS/11Mbps mode 11b >> media DS/5.5Mbps mode 11b >> media DS/2Mbps mode 11b >> media DS/1Mbps mode 11b >> media autoselect mode 11b >> media OFDM/54Mbps mode 11a >> media OFDM/48Mbps mode 11a >> media OFDM/36Mbps mode 11a >> media OFDM/24Mbps mode 11a >> media OFDM/18Mbps mode 11a >> media OFDM/12Mbps mode 11a >> media OFDM/9Mbps mode 11a >> media OFDM/6Mbps mode 11a >> media autoselect mode 11a >> media autoselect mode autoselect >> nd6 options=3D29 >> >> >> >> >> >> --000000000000e334950629017425 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Here are some images for now, I'= ;ll have to plug it back in to get the rest of the data.


Thanks.

On Wed, Dec 11, 2024 at 11:00= =E2=80=AFAM Adrian Chadd <adrian@f= reebsd.org> wrote:
Hi! It shouldn't be timing out at all. It&#= 39;s possible there's some antenna config issues as the AR9462 IIRC is = one of those 1x1 devices with an antenna switch and bluetooth.

Can you do "ifconfig wlan0 list sta" and paste that and th= e above into a problem report? I'll go find my AR9462 NICs and take a l= ook.

Also, can you take a photo of the NIC itself,= so I can make sure it lines up with what I have in my box of Atheros parts= ?

Thanks!


=
-adrian


On Sun, 1 Dec 2024 at 05:41, Mik= e Jakubik <m= ike.jakubik@gmail.com> wrote:
Hello,

After all the info i gathered about ath having best WIFI support, i
bought a card only to experience constant timeout issues and terrible
performance. Below is some useful info, any ideas appreciated. The PC
and it's antenna is ~12m @ LOS from the AP. All other WIFI devices in <= br> house work great.

Qualcomm Atheros AR5BMD222 Wireless Network Adapter
FreeBSD 15 @ ~2 days ago from master branch.

#rc.conf
create_args_wlan0=3D"country US regdomain FCC"
wlans_ath0=3D"wlan0"
ifconfig_wlan0=3D"WPA SDHCP"

#wpa_supplicant.conf
ctrl_interface=3D/var/run/wpa_supplicant

network=3D{
=C2=A0=C2=A0 ssid=3D"SSID_redacted"
=C2=A0=C2=A0 psk=3D"PSK_redacted"
}


ath0: <Atheros AR946x/AR948x> mem 0xdf600000-0xdf67ffff at device 0.0= on
pci8
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9460 mac 640.2 RF5110 phy 0.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000


[255] ath0: device timeout
[287] ath0: device timeout

^ This repeats hundreds of times, network is unusable during these reports.=


[mike@fbsd15 ~]$ ifconfig -m wlan0

wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = mtu 1500
options=3D0
capabilities=3D0
ether c0:38:96:39:66:f5
inet 192.168.100.180 netmask 0xffffff00 broadcast 192.168.100.255
groups: wlan
ssid BluePill channel 149 (5745 MHz 11a ht/40+) bssid 40:ae:30:fc:e2:3d
regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6
mgmtrate 6 scanvalid 60 ampdulimit 64k shortgi -uapsd wme burst
roaming MANUAL
parent interface: ath0
media: IEEE 802.11 Wireless Ethernet MCS mode 11na
status: associated

supported media:
media MCS mode autoselect
media MCS mode 11ng
media autoselect mode 11ng
media MCS mode 11na
media autoselect mode 11na
media DS/11Mbps mode autoselect
media DS/5.5Mbps mode autoselect
media DS/2Mbps mode autoselect
media DS/1Mbps mode autoselect
media OFDM/54Mbps mode autoselect
media OFDM/48Mbps mode autoselect
media OFDM/36Mbps mode autoselect
media OFDM/24Mbps mode autoselect
media OFDM/18Mbps mode autoselect
media OFDM/12Mbps mode autoselect
media OFDM/9Mbps mode autoselect
media OFDM/6Mbps mode autoselect
media OFDM/54Mbps mode 11g
media OFDM/48Mbps mode 11g
media OFDM/36Mbps mode 11g
media OFDM/24Mbps mode 11g
media OFDM/18Mbps mode 11g
media OFDM/12Mbps mode 11g
media OFDM/9Mbps mode 11g
media OFDM/6Mbps mode 11g
media DS/11Mbps mode 11g
media DS/5.5Mbps mode 11g
media DS/2Mbps mode 11g
media DS/1Mbps mode 11g
media autoselect mode 11g
media DS/11Mbps mode 11b
media DS/5.5Mbps mode 11b
media DS/2Mbps mode 11b
media DS/1Mbps mode 11b
media autoselect mode 11b
media OFDM/54Mbps mode 11a
media OFDM/48Mbps mode 11a
media OFDM/36Mbps mode 11a
media OFDM/24Mbps mode 11a
media OFDM/18Mbps mode 11a
media OFDM/12Mbps mode 11a
media OFDM/9Mbps mode 11a
media OFDM/6Mbps mode 11a
media autoselect mode 11a
media autoselect mode autoselect
nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>





--000000000000e334950629017425--