Re: Atheros AR9462 not working properly

2021-05-14 Thread Adrian Chadd
hi! On Fri, 14 May 2021 at 03:25, Daniel Cervus wrote: > (a) When unconnected: > wlan0: flags=8c43 metric 0 > mtu 1500 > ether *** > inet6 ***%wlan0 prefixlen 64 scopeif 0x3 > groups: wlan > ssid "" channel 3 (2422 MHz 11g) > regdomain ROW country CN indoor ecm authmode OPEN privacy OFF >

Re: Atheros AR9462 not working properly

2021-05-13 Thread Adrian Chadd
hi! (a) it'll say 802.11g but then the channel should say HT/20 or HT/40. what's the actual output of ifconfig wlan0 ? (b) yeah, that's a bsdconfig bug :-) (c) that's fine, it's likely some crazy stuff like needing to do some packet IO during a scan; it's printed like that in case things are also

Re: Correct net80211 channel flag.

2021-04-02 Thread Adrian Chadd
lemme go see (again). That's why I wanted to re-review it all before I landed stuff! -a On Fri, 2 Apr 2021 at 13:41, Bjoern A. Zeeb wrote: > > On 2 Apr 2021, at 6:44, Adrian Chadd wrote: > > > I've got this in my local tree now. > > That’s not a good idea? > > &

Re: Correct net80211 channel flag.

2021-04-02 Thread Adrian Chadd
I've got this in my local tree now. I have a note to go dig up which draft I yanked this from and update it with reference to the draft and the current spec. Thanks for pointing this out! -adrian ___ freebsd-wireless@freebsd.org mailing list

Re: Correct net80211 channel flag.

2021-04-01 Thread Adrian Chadd
gt; I had tried using this section of code and found these flags are not > satisfied, after changing them, I can negotiate VHT80, VHT160 fine with iwm, > so I pointed out this problem. I am also wondering what's the badly wrong of > you said in draft VHT implementation? > > thanks >

Re: Correct net80211 channel flag.

2021-03-29 Thread Adrian Chadd
hm! On Mon, 29 Mar 2021 at 08:02, qcwap <1051244...@qq.com> wrote: > > This patch corrects ieee80211_vht_get_vhtcap_ie for 160/80P80 channel width > recognition. > > diff --git a/sys/net80211/ieee80211.h b/sys/net80211/ieee80211.h > index 86ab1459cca..76c43629b33 100644 > ---

Re: AR9227/AR9287 unresponsive after some time

2021-03-03 Thread Adrian Chadd
hi! Yeah, there's been some long standing calibration issues with the 9227 that i've never figured out :( -a On Wed, 3 Mar 2021 at 02:27, Domagoj Smolčić wrote: > > For about 5 years now I have: > -- > ath1@pci0:3:2:0:class=0x028000 card=0x0300168c chip=0x002d168c > rev=0x01 hdr=0x00

Re: per-VAP vs shared ifconfig options

2021-01-03 Thread Adrian Chadd
On Sun, 3 Jan 2021 at 03:08, Andriy Gapon wrote: > > > Is there an easy way to tell which wireless ifconfig option is shared > and which is per VAP? > I mean, 'channel' is shared, 'ssid' is per VAP obviously. > But how about the rest? > Is that explicitly documented somewhere? > Is there

Re: erikan/athp atheros drv ?

2020-12-04 Thread Adrian Chadd
Hi You have to update to -head because we are also updating APIs in net80211 and such as part of it. -a On Fri, 4 Dec 2020 at 09:30, Berislav Purgar wrote: > > Hello > > Is possible to compile these driver on 12.2-RELEASE or do i need to switch on > -head (13) ?? > > Berry > > > > Sent from

Re: run/wlan0 question

2020-11-29 Thread Adrian Chadd
hi! I don't think we've added HT40 support yet! -adrian On Sun, 29 Nov 2020 at 18:59, tech-lists wrote: > > Hi, > > A Ralink/run device is plugged into the usb2 interface of a raspberry > pi running -current. > > It seems to work ok other than being unassociated at boot but that's > another

Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control

2020-09-16 Thread Adrian Chadd
22:36, Adrian Chadd wrote: > > > > > > On Wed, 16 Sep 2020 at 13:41, James Wright < > james.wri...@digital-chaos.com <mailto:james.wri...@digital-chaos.com>> > wrote: > > > > Hi wireless gurus, > > > > I'm trying to

Re: Edimax EW-7811Un (rtwn): Slow speeds / rate control

2020-09-16 Thread Adrian Chadd
On Wed, 16 Sep 2020 at 13:41, James Wright wrote: > Hi wireless gurus, > > I'm trying to understand why this USB wifi dongle is so slow under > FreeBSD. > The max real-world download rate seems to be capped at ~900KB/sec (see > wget below), > but with exactly the same hardware and conditions

Re: Atheros QCA6174 (ath10k) not working

2020-09-13 Thread Adrian Chadd
hi! we're still working on this. It's going to take some time. thanks, -adrian On Sun, 13 Sep 2020 at 11:12, Anthony Jenkins via freebsd-wireless < freebsd-wireless@freebsd.org> wrote: > I have a Killer 1535 802.11ac wireless card (chipset = Qualcomm Atheros > QCA6174). I am using the

Re: regdomain.xml [was also: - Linux wireless-regdb]

2020-08-09 Thread Adrian Chadd
On Sun, 9 Aug 2020 at 08:38, Bjoern A. Zeeb wrote: > Hi, > > I’ll just join in on the last email in the thread not replying to > anything specific. > > Having gone through some of the stuff lately myself in order to put [1] > out (which is also includes a few things to discuss) I’ll try to >

Re: Re: regdomain.xml - Linux wireless-regdb

2020-07-21 Thread Adrian Chadd
On Tue, 21 Jul 2020 at 20:36, Aaron wrote: > Still working on my mailing list etiquette ... > > On 7/21/2020 11:11 PM, Adrian Chadd wrote: > > > On Tue, 21 Jul 2020 at 20:03, Aaron > <mailto:notjanede...@gmail.com>> wrote: > > > >

Re: regdomain.xml - Linux wireless-regdb

2020-07-21 Thread Adrian Chadd
On Tue, 21 Jul 2020 at 20:03, Aaron wrote: > On 7/21/2020 10:53 PM, Adrian Chadd wrote: > > As a data source yes, but I'd /love/ ours to be more structured. > > Parsing the wireless-regdb format is ... lol. > > > > > > -a > Fair enough. This data al

Re: regdomain.xml - Linux wireless-regdb

2020-07-21 Thread Adrian Chadd
As a data source yes, but I'd /love/ ours to be more structured. Parsing the wireless-regdb format is ... lol. -a ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to

Re: regdomain.xml

2020-07-21 Thread Adrian Chadd
On Tue, 21 Jul 2020 at 14:48, Aaron wrote: > On 7/21/2020 5:41 PM, Adrian Chadd wrote: > > (cc'ing the list again, hehe :-) > On Tue, 21 Jul 2020 at 14:35, Aaron wrote: > >> On 7/21/2020 5:33 PM, Adrian Chadd wrote: >> > Ok. Please do dig into it. >> &

Re: regdomain.xml

2020-07-21 Thread Adrian Chadd
(cc'ing the list again, hehe :-) On Tue, 21 Jul 2020 at 14:35, Aaron wrote: > > On 7/21/2020 5:33 PM, Adrian Chadd wrote: > > > Ok. Please do dig into it. > > Do try to treat the regdomain code as a black box - input is "what > regulatory domain do we wa

Re: regdomain.xml

2020-07-21 Thread Adrian Chadd
On Tue, 21 Jul 2020 at 14:31, Aaron wrote: > > What do others think? What should we do? > >>> I vote for recreating it as a CSV file. Would then be easier to work > with > >>> and easy to convert to other formats -- json/xml/... > >> Lol, if anything we'd likely use a format that we already

Re: regdomain.xml

2020-07-21 Thread Adrian Chadd
On Tue, 21 Jul 2020 at 12:59, Chris wrote: > > So, I'd really like to figure out how to simplify the regdomain.xml file. > > But - we should come up with a firm plan first. Luckily this IS basically > > all userland work. :-) > > > +1 for the offer to dig in, Aaron! > > > What do others think?

Re: regdomain.xml

2020-07-21 Thread Adrian Chadd
hi! On Tue, 21 Jul 2020 at 02:06, Aaron wrote: > Howdy FreeBSD wireless mailing list, > > Looking to help, only item on this list > (https://wiki.freebsd.org/WiFi/TodoStuff) I'm competent to address is > "net80211 regulatory". I read the "regdomain" manpage ... no help there. > Yeah, it's

Re: Current state of recent wireless cards

2020-07-13 Thread Adrian Chadd
On Mon, 13 Jul 2020 at 08:25, Emmanuel Vadot wrote: > > > Compile and working ? > Because that's easy to compile code if you add a lot of dummy stub > functions. I'm happy that this is going on; at the very least it'll point out a bunch of missing bits from our net80211 API that should get

Re: Current state of recent wireless cards

2020-07-10 Thread Adrian Chadd
On Fri, 10 Jul 2020 at 14:33, Emmanuel Vadot wrote: > On Thu, 09 Jul 2020 11:36:59 + > "Bjoern A. Zeeb" wrote: > > > On 9 Jul 2020, at 11:24, driesm.michi...@gmail.com wrote: > > > > Hi Dreis, > > > > > I was wondering what the current state of the following wireless cards > > > is: > > > >

Re: FreeBSD wifi Usb (pfsense)

2020-06-13 Thread Adrian Chadd
On Sat, 13 Jun 2020 at 11:26, Vladimir Botka wrote: > > > > > .. buy and USB wifi adapter with support on 2,4GHz and 5GHz > > > > > Can you help me to search one model with 2,4 and 5Ghz support? > > > > > I'm using if_run and if_rtwn devices here. :) > > > > rtwn should work ok as an 11n AP;

Re: FreeBSD wifi Usb (pfsense)

2020-06-13 Thread Adrian Chadd
I'm actually using an RT3593. Right now whilst talking with you :) -a On Fri, 12 Jun 2020 at 00:53, Vladimir Botka wrote: > Hi! > > On Thu, 11 Jun 2020 22:23:54 -0700 > Adrian Chadd wrote: > > > > Can you help me to search one model with 2,4 and 5Ghz support

Re: FreeBSD wifi Usb (pfsense)

2020-06-12 Thread Adrian Chadd
On Thu, 11 Jun 2020 at 22:38, Vladimir Botka wrote: > On Fri, 12 Jun 2020 07:33:46 +0200 > Vladimir Botka wrote: > > > On Fri, 12 Jun 2020 04:33:01 + > > carmezsa via freebsd-wireless wrote: > > > > > ... USB wifi adapter with support on 2,4GHz and 5GHz > > > > I've found only one. It's

Re: FreeBSD wifi Usb (pfsense)

2020-06-11 Thread Adrian Chadd
hi! On Thu, 11 Jun 2020 at 21:33, carmezsa via freebsd-wireless < freebsd-wireless@freebsd.org> wrote: > Hi, > I am using pfsense firewall and It is on FreeBsd OS. I would like buy and > USB wifi adapter with support on 2,4GHz and 5GHz but I am not use what USB > devices I can buy and where. >

Re: open networks

2020-05-25 Thread Adrian Chadd
Yeah, it's a bit wrong. look at the ifieee80211.c code to see. This isn't the station in "list sta"; /there/ it's in power save. Scan it's protection. -a On Mon, 25 May 2020 at 14:11, Andriy Gapon wrote: > > On 26/05/2020 00:00, Adrian Chadd wrote: > > I th

Re: open networks

2020-05-25 Thread Adrian Chadd
On Mon, 25 May 2020 at 12:48, Andriy Gapon wrote: > > On 25/05/2020 14:00, Lars Engels wrote: > > Am 2020-05-25 08:48, schrieb Andriy Gapon: > >> How to tell from ifconfig wlan scan output which networks are open? > >> Thanks! > > ^ > > ifconfig -v list scan > > So, still, how do I tell which of

new phabricator group - wireless

2020-05-24 Thread Adrian Chadd
hi! bz and i poked the phab admins to create a wireless group in phabricator. It's a public group. I'm hoping we can put wireless and potentially bluetooth bits into this tag as well. It's a public group so please join it to keep track of wireless related patches. Also if you've got the time,

Re: Large number of "iwn0: null_update_chw: need callback" messages

2020-05-22 Thread Adrian Chadd
hi! No, it's actually your AP changing width between 20MHz and 40MHz. -adrian On Fri, 22 May 2020 at 13:03, Kevin Oberman wrote: > > in the past few days my logs have been filled with "iwn0: null_update_chw: > need callback" messages. No change to the driver for over a year, so it was >

Re: iwm rfkill

2020-05-19 Thread Adrian Chadd
On Tue, 19 May 2020 at 16:07, Andriy Gapon wrote: > > > > Adrian, thank you very much for your suggestion. > > Being a complete noob in this area, this is my stab at it: > > https://reviews.freebsd.org/D24923 > > Also, I see that there is some friction between how rfkill is handled at the >

Re: iwm rfkill

2020-05-18 Thread Adrian Chadd
On Mon, 18 May 2020 at 00:57, Andriy Gapon wrote: > > > I am trying to get my laptop fully functional and one of the things that > currently does not work as expected is a Wi-Fi / Radio special key. > It seems to be handled fully in hardware (but not 100% sure), but when I press > it only

Re: svn commit: r355988 - in head: contrib/libpcap contrib/libpcap/cmake/Modules contrib/libpcap/doc contrib/libpcap/missing contrib/libpcap/msdos contrib/libpcap/pcap contrib/libpcap/rpcapd contrib/l

2020-05-04 Thread Adrian Chadd
Heh, it's not this - the unaligned print only happens when I run tcpdump with an ether src or ether dst filter. If i just use ether proto it doesn't happen. So there is something unaligned going on inside libpcap /and/ somehow ether dst is not working right at least on mips + 802.11 DLT.

Re: svn commit: r355988 - in head: contrib/libpcap contrib/libpcap/cmake/Modules contrib/libpcap/doc contrib/libpcap/missing contrib/libpcap/msdos contrib/libpcap/pcap contrib/libpcap/rpcapd contrib/l

2020-05-04 Thread Adrian Chadd
On Mon, 4 May 2020 at 12:54, Adrian Chadd wrote: > > hi, > > This commit /seems/ to have broken things on FreeBSD-HEAD on mips74k. > I haven't yet tried hostapd mode on x86 with this commit; I"ll do that > soon. > > The TL;DR: > > * hostapd + wpa encryption

Re: svn commit: r355988 - in head: contrib/libpcap contrib/libpcap/cmake/Modules contrib/libpcap/doc contrib/libpcap/missing contrib/libpcap/msdos contrib/libpcap/pcap contrib/libpcap/rpcapd contrib/l

2020-05-04 Thread Adrian Chadd
hi, This commit /seems/ to have broken things on FreeBSD-HEAD on mips74k. I haven't yet tried hostapd mode on x86 with this commit; I"ll do that soon. The TL;DR: * hostapd + wpa encryption + mips32 (mips74k in this instance) fails on -HEAD! Woo! * l2_packet_freebsd.c in hostapd uses a pcap

Re: Regarding Chipset selection By the driver

2019-12-06 Thread Adrian Chadd
Hi! I've documented the layout in the wiki: wiki.freebsd.org/dev/ath(4) and wiki.freebsd.org/dev/ath_hal(4) . You should start there. The HAL code is a bit twisty: * the driver - if_ath_*[ch] is common for everything; * the if_ath_pci.c code detects the NIC and creates the if_ath context and

Re: [Bug 242337] iwm - rate 0 causes iwm panic (and work around)

2019-12-01 Thread Adrian Chadd
Hi! Wait, someone's calling iwn_rate2ridx() with rate=0 ? That's highly bogus and yes will lead to a firmware panic. what's the caller? How's it being called with rate=0 ? It sounds like something in the rate negotiation is failing... -adrian On Sun, 1 Dec 2019 at 05:24, wrote: > >

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
On Thu, 19 Sep 2019 at 15:21, Johannes Lundberg wrote: > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming and network preference

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
bgscan too periodically rather than only when the RSSI is low. -adrian On Thu, 19 Sep 2019 at 15:04, Cy Schubert wrote: > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > wrote: > >Roaming is done in wpa_supplicant when it's running.That's where the >

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
Roaming is done in wpa_supplicant when it's running.That's where the smarts need to be. :( -adrian On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb wrote: > On 19 Sep 2019, at 12:28, Tom Jones wrote: > > Hi, > > freebsd-wireless might be a better list for all this .. > > > > On Tue, Sep 17,

Re: Potential wireless project ideas

2019-09-09 Thread Adrian Chadd
hi! If you can pull out bits from say the linux driver to update our drivers then sure! Even if you don't succeed I bet you'll learn a lot! -adrian On Mon, 9 Sep 2019 at 12:45, lr x wrote: > Hello! > > I'm a grad student taking an Operating Systems course this semester where I > can

Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3)

2019-09-04 Thread Adrian Chadd
Yeah, the iwm code is missing all of the 11n/11ac handling code. :-) -adrian On Wed, 4 Sep 2019 at 01:42, wrote: > Hello, > > I see - ok so its not possible with the iwm driver yet. > Care to elaborate the details, whats missing etc.? > > regards, > > Am 2019-09-

Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3)

2019-09-03 Thread Adrian Chadd
--snip > > I've measured this aprox. 2MB/s with my laptop, which is also using > FreeBSD 12. > Its having an Intel wireless 3165 card. > > regards, > Georg > > Am 04.09.19 um 00:58 schrieb Adrian Chadd: > > hi! > >

Re: Atheros AR9280 5GHz working but still slow? (FreeBSD 11.3)

2019-09-03 Thread Adrian Chadd
hi! No, you should be getting more than 2 megabits/sec. Whats the output of "ifconfig wlan0 list sta" ? -adrian On Wed, 28 Aug 2019 at 16:41, Georg Bege wrote: > Hello community, > > Im using a Wifi AP with an Atheros card now for quite some time, since a > couple of FreeBSD revisions. I

Re: rtwn driver

2019-08-13 Thread Adrian Chadd
----- > On Aug 14, 2019, 12:09 AM, Adrian Chadd < adrian.ch...@gmail.com> wrote: > > > hi! > > Thanks for doing this! if it's the same chipset but a different ID then > yes, it's literally that easy most times. :) > > Nice work! If you file a PR then we'll try to get som

Re: rtwn driver

2019-08-13 Thread Adrian Chadd
hi! Thanks for doing this! if it's the same chipset but a different ID then yes, it's literally that easy most times. :) Nice work! If you file a PR then we'll try to get someone to commit it to freebsd-head. -a On Sun, 11 Aug 2019 at 00:34, james.m.parsons via freebsd-wireless <

Re: debugging a Wifi association problem

2019-07-18 Thread Adrian Chadd
Hi! So, you don't set the monitor flag like you do on linux. you create a monitor VAP instead or you just use tcpdump with the right flags. Try: tcpdump -ni wlan0 -y IEEE802_11_PROTO That'll put the NIC into monitor mode on the current channel, even in station mode, and let you do normalt

Re: Broadcom4322

2019-05-21 Thread Adrian Chadd
hi! interesting! sorry, I haven't poked much at the broadcom stuff since landon went and did his bhnd work a few years ago. I'll have to go see what changed in fetching those EEPROM values and figure out why it's not being read correctly. I have no timeline on this yet though! -a On Tue, 21

Re: atheros 5223 issue on FreeBSD 12?

2019-05-15 Thread Adrian Chadd
hi, please raise a PR. Nothing in the driver has changed AFAIK; it's possible there's a USB issue. -a On Wed, 15 May 2019 at 05:45, Michael Zhilin wrote: > > Hi, > > Did you raise PR? > I suppose it's new issue. > > Thanks! > > On Wed, May 15, 2019 at 3:36 PM Sreenath Battalahalli via

Re: TDMA Wireless status?

2019-05-10 Thread Adrian Chadd
t regards > > Stephen > > > On Thu, 9 May 2019 at 19:55, Adrian Chadd wrote: > >> hi! >> >> Ok, so the 30 second version: >> >> * the AR54xx, AR91xx and later 11n chips had some changes to the >> resolution of the timers that Sam used to control tran

Re: TDMA Wireless status?

2019-05-09 Thread Adrian Chadd
n >>> antennas. >>> Do you know "Mikrotik Nstreme/NV2" and "Ubiquity Airmax" ? >>> Those have framing/polling done in software - wrapped around the >>> wireless driver. >>> Is there equivalent developed in FreeBSD? >

Re: REGARDING TX DESCRIPTOR SETUP FOR AR9227(ATHEROS)

2019-05-09 Thread Adrian Chadd
hi! It should be pretty self explanatory in the HAL code. Take a look at ar5416_xmit.c (as that applies to the AR9227 too) and how those methods are called by the driver. -adrian On Wed, 24 Apr 2019 at 03:57, malepati vishnuvardhan < malepativishnuvardhan1...@gmail.com> wrote: > Hi, > I am

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-23 Thread Adrian Chadd
gt; kernel: ath0: [HT] 2 RX streams; 2 TX streams > kernel: ath0: AR9460 mac 640.3 RF5110 phy 3856.0 > kernel: ath0: 2GHz radio: 0x; 5GHz radio: 0x > kernel: [ath] loaded > > > > > вт, 23 апр. 2019 г. в 22:39, Adrian Chadd : > >> Do you have the kernel enviro

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-23 Thread Adrian Chadd
Do you have the kernel environment variable setup to say it's a WB222? -a On Tue, 23 Apr 2019 at 12:37, Serge Semenenko wrote: > Could it matter that I load modules from rc.conf? > > kld_list="if_ath if_ath_pci linux linsysfs linprocfs xhci umass ums > snd_hda /boot/modules/i915kms.ko

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-20 Thread Adrian Chadd
ooo please send me a pull request with the device id update! -a On Sat, 20 Apr 2019 at 04:17, Serge Semenenko wrote: > Hi > > It works for me with such section in devd.conf > > attach 200 { >device-name "ubt[0-9]+"; >match "vendor" "0x0cf3"; >match "product" "0xe006";

Re: 802.11s compatibility with Linux/OpenWRT

2019-04-19 Thread Adrian Chadd
It doesn't interoperate. Someone needs to grab the freebsd-mesh stuff and fix it up. ;) -a On Fri, 19 Apr 2019 at 02:33, wrote: > Hi, > > Looking at the FreeBSD/mesh wiki page ( > https://wiki.freebsd.org/WiFi/Mesh ) it says: > > "Development is occurring at the FreeBSD HEAD branch and an

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-18 Thread Adrian Chadd
Hi! Ok, I'm going to have to find my NIC and see what's going on. -a > ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-18 Thread Adrian Chadd
hi, On Thu, 18 Apr 2019 at 10:02, Matthias Apitz wrote: > El día Thursday, April 18, 2019 a las 08:05:53AM -0700, Adrian Chadd > escribió: > > > that means it SHOULD be ready for normal HCI operation. bcdDevice=1 is > what > > the driver uses to determine if it's onl

Re: Why the message is set to "TKIP countermeasures started" ?

2019-04-17 Thread Adrian Chadd
It means there's a replay / out of order thing going on with the received frames that are TKIP encrypted. -adrian On Wed, 17 Apr 2019 at 12:18, Yuri wrote: > I use wpa_gui, and sometimes it fails to connect with the "Last message" > field alternating between "Associating ..." and "TKIP

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-17 Thread Adrian Chadd
Try loading firmware, see if it can do a bt scan. Try also bringing up the 2g wifi and connect to a 2g station; see if that also allows a bt scan to work. -a On Wed, 17 Apr 2019 at 11:17, Matthias Apitz wrote: > Am Mittwoch, 17. April 2019 19:59:17 CEST schrieb Adrian Ch

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-17 Thread Adrian Chadd
no flashing occurs. it's running out of ram on the chip. -a On Wed, 17 Apr 2019 at 10:56, Matthias Apitz wrote: > Am Mittwoch, 17. April 2019 18:59:08 CEST schrieb Adrian Chadd > : > > Did you copy it into /usr/share/ or did you pass the command line arg in > to > > s

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-17 Thread Adrian Chadd
Did you copy it into /usr/share/ or did you pass the command line arg in to set the base directory? :) -a On Wed, 17 Apr 2019 at 09:57, Matthias Apitz wrote: > El día Wednesday, April 17, 2019 a las 02:35:51PM +, Alexey Dokuchaev > escribió: > > > On Tue, Apr 16, 2019 at 12:34:12PM

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-15 Thread Adrian Chadd
i thought i had the various combinations working when i last poked at this stuff. I'll have to go re-test it all. -a On Mon, 15 Apr 2019 at 10:35, Alexey Dokuchaev wrote: > On Mon, Apr 15, 2019 at 02:52:17PM +0200, Matthias Apitz wrote: > > I have not missed (or deleted) any mail in this

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-14 Thread Adrian Chadd
it's a userland program. :-) All ath3k in linux does is detect the hardware and squeeze firmware into it. That's literally it. -adrian On Sun, 14 Apr 2019 at 21:48, Matthias Apitz wrote: > El día domingo, abril 14, 2019 a las 09:42:46a. m. -0700, Adrian Chadd > escribió: > >

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-14 Thread Adrian Chadd
700, Adrian Chadd > escribió: > > > ok, so you've added the WB222 coex bits. Does ath3k load OK? > > > > I do not have this module: > > root@c720-r342378:/home/guru # uname -a > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 > root@c720-r342378:

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-14 Thread Adrian Chadd
ok, so you've added the WB222 coex bits. Does ath3k load OK? -a On Sun, 14 Apr 2019 at 09:02, Matthias Apitz wrote: > El día domingo, abril 14, 2019 a las 08:56:52a. m. -0700, Adrian Chadd > escribió: > > > hi! > > > > Ok, so there's two parts: > > > >

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-14 Thread Adrian Chadd
hi! Ok, so there's two parts: * loading in the firmware and/or bt nic setup (clock rate, etc) via ath3kfw; and * bluetooth coex/antenna setup in ath(4). The latter I can do. The former may require USB stack debugging. Which NIC is in the C720? Ar9485, right? -adrian On Sun, 14 Apr 2019 at

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-13 Thread Adrian Chadd
On Sat, 13 Apr 2019 at 12:14, Alexey Dokuchaev wrote: > On Sat, Apr 13, 2019 at 11:44:25AM -0700, Adrian Chadd wrote: > > Hm, is this a problem with our usb3 stack itself? > > > > If you send me a pull request against ath3k I'll merge it into my git > > tree just f

Re: TDMA Wireless status?

2019-04-13 Thread Adrian Chadd
door" (10-20km) with high gain > antennas. > Do you know "Mikrotik Nstreme/NV2" and "Ubiquity Airmax" ? > Those have framing/polling done in software - wrapped around the wireless > driver. > Is there equivalent developed in FreeBSD? > > Best regards > &g

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-13 Thread Adrian Chadd
Hm, is this a problem with our usb3 stack itself? If you send me a pull request against ath3k I'll merge it into my git tree just for completeness. Maybe we need to loop in hps@ with a bunch of usbdump output to see what the transactions look like... -adrian On Sat, 13 Apr 2019 at 07:21,

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-12 Thread Adrian Chadd
Well, yeah, qualcomm developers did a lot of the linux ath9k/ath3k support :) -a ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to

Re: TDMA Wireless status?

2019-04-11 Thread Adrian Chadd
hi! I know that a lot of the 11ac chips do TDMA but the vendors keep the implementation and knobs close to their chest. We don't have any public APIs for it. Sorry :( -a On Thu, 11 Apr 2019 at 10:23, Stephen Patrick wrote: > Dear sirs, > > Is this feature working for point-to-point, and

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-11 Thread Adrian Chadd
> > Hi, > I'm trying to figure out an ath sta mode crash and some ath10k things. I have the AR9485 / AR9462 hardware here so please just keep poking me here and on irc over the next couple weeks to get it working. There's also some weird antenna coex stuff that needs setting up in the HAL too

Re: Atheros AR5B22 WLAN+Bluetooth support on FreeBSD

2019-04-11 Thread Adrian Chadd
I have a tool to upload firmware - github.com/erikarn/ath3k. See if that helps! -a On Thu, 11 Apr 2019 at 06:19, Alexey Dokuchaev wrote: > On Thu, Apr 11, 2019 at 03:13:28PM +0200, Matthias Apitz wrote: > > # usbconfig list > > ... > > ugen0.3: at usbus0, cfg=0 md=HOST > > spd=FULL (12Mbps)

Re: Info

2019-03-08 Thread Adrian Chadd
Hi! We're working on it in github.com/erikarn/athp/ . I'm fixing up the transmit path in the driver right now to work around firmware behaviour and Geramy is wrapping his head around DMA / busdma issues. -adrian On Fri, 8 Mar 2019 at 03:45, Domenico Panella wrote: > Hi guys, > > I am a

Re: No association with WPA2 wireless lan sometimes (11.2)

2019-02-14 Thread Adrian Chadd
Hm, it'd be good to see driver debugging. It'd be good there to see if the actual auth frames are being exchanged and ACKed at the MAC level or not. I've seen some pretty crappy behaviours both with how some APs wanna try band steering (by dropping you off 2g when they see you've sent a probe on

Re: ath10k driver status?

2019-02-11 Thread Adrian Chadd
hi, I'm trying to update things with Geramy right now. We hit a snag where his updates broke my QCA9880 NIC in STA mode, so we're working through that right now. -adrian On Mon, 11 Feb 2019 at 09:51, Ben Widawsky wrote: > On 19-02-04 00:29:29, Anthony Jenkins wrote: > > [snip] > > Hi

Re: wireless coordination and who's working on what?

2019-01-11 Thread Adrian Chadd
> > Hi, > I'm .. mostly trying to help people. Geramy has been helping out hugely on the ath10k port and I'm updating my laptops (again!) to the latest head so I can continue rolling with that. I'd like to get ath10k ready to put into the tree but there are a couple of net80211 and driver holes

Re: wireless coordination and who's working on what?

2019-01-08 Thread Adrian Chadd
Hi! If you can put some code up then we can poke at it together and see how to get the firmware load and USB framework bits into if_ath(4). You don't want to load it via userland; you really want the driver to load it at attach time and if it wants to power things fully down off or not. (You can

Re: Killer wireless AC 1535 support in 12.0?

2018-12-28 Thread Adrian Chadd
Is that the QCA6174 chip? Yeah some of us are working on it right now. (more so others than I atm..) -a On Fri, 28 Dec 2018 at 16:18, David Horwitt wrote: > Is this chipset supported? I was under the impression that it was going to > be included in 12.0, but see no mention in the release

Re: Support for AR9271 (ath USB glue)

2018-12-23 Thread Adrian Chadd
Hi! Sorry for not replying earlier. The 30 second version - you should look at uath and ath9k's usb code. It's not ENTIRELY just a register access method - there are a bunch of things that are done by firmware via calls - like setting the mode, adding/removing nodes, etc. ath(4) will need a

Re: Difference between AR9227 and AR9287 chipsets

2018-12-17 Thread Adrian Chadd
Hi, There are some minor differences but the big one is "PCI (9227)" versus "PCIe (AR9287). -adrian On Sun, 16 Dec 2018 at 20:47, malepati vishnuvardhan < malepativishnuvardhan1...@gmail.com> wrote: > Hi, > As i am doing some research on atheros drivers of freebsd. I want to know, > if

Re: Atheros 9220 - losing connectivity

2018-12-12 Thread Adrian Chadd
ugh, I wonder why 11n is not working for you. hm. ;( -a On Wed, 12 Dec 2018 at 13:30, Volodymyr Kostyrko wrote: > On 21.11.18 18:50, Volodymyr Kostyrko wrote: > > On 21.11.18 18:29, Adrian Chadd wrote: > >> what's a channel survey give? is it on a very busy channel? Is t

Re: Atheros 9220 - losing connectivity

2018-11-21 Thread Adrian Chadd
what's a channel survey give? is it on a very busy channel? Is there a nearby device? -a On Wed, 21 Nov 2018 at 07:28, Volodymyr Kostyrko wrote: > On 16.11.18 00:02, Adrian Chadd wrote: > > ok, interesting. I'll see if I can reproduce it later next week. I > haven't >

Re: Atheros 9220 - losing connectivity

2018-11-15 Thread Adrian Chadd
ok, interesting. I'll see if I can reproduce it later next week. I haven't changed much on the AR9220 HAL... -a On Thu, 15 Nov 2018 at 14:01, Volodymyr Kostyrko wrote: > On 15.11.18 23:31, Adrian Chadd wrote: > > Hi! > > > > 11-stable to 12-stable shouldn't have res

Re: Atheros 9220 - losing connectivity

2018-11-15 Thread Adrian Chadd
Hi! 11-stable to 12-stable shouldn't have resulted in a regression? interesting, okay. Which devices are they? -adrian On Thu, 15 Nov 2018 at 12:56, Volodymyr Kostyrko wrote: > Hello. > > I'm not quite sure what happens so I'll just dump here what I have in > mind so it would be easier to

Re: device otus unknown

2018-11-12 Thread Adrian Chadd
yeah, that we'll have to look into.. -a On Mon, 12 Nov 2018 at 13:33, tech-lists wrote: > On Mon, Nov 12, 2018 at 12:32:25PM -0800, Adrian Chadd wrote: > >If it's showing up like that then it's not an AR9170 device; it's a > >broadcom firmware device. :( > > yeah. In

Re: device otus unknown

2018-11-12 Thread Adrian Chadd
If it's showing up like that then it's not an AR9170 device; it's a broadcom firmware device. :( -a On Mon, 12 Nov 2018 at 12:08, tech-lists wrote: > Hi, > > context: > freebsd-12-beta4 on amd64 and freebsd-12 on arm64, I'm trying right now > with amd64 r340354. > > I have a Netgear WNDA3100

Re: ath driver support broken on 12-BETA

2018-11-03 Thread Adrian Chadd
it should be fine; have you loaded if_ath_pci and the rest of the ath driver bits? (ath_hal, ath_hal_ar5416, ath_hal_ar9280) ? -adrian On Sat, 3 Nov 2018 at 15:55, Volodymyr Kostyrko wrote: > Hello. > > I have this card: > > ath0@pci0:4:5:0:class=0x028000 card=0x2093168c

Re: Why WiFi connections are established so slowly?

2018-10-30 Thread Adrian Chadd
It'd be interesting to figure out how much each step is taking. Eg, USB detect, firmware load, create interface, bstart wpa_supplicant, etc - that should be quick. I wonder if scan is taking forever.. On Tue, 30 Oct 2018 at 16:03, Yuri wrote: > I just measured: 20-40 seconds elapse between the

Re: rtwn(4) dropping frames, inconsistently receiving data

2018-08-18 Thread Adrian Chadd
hi! ok, hm. So, I wonder if there are some issues with the busdma code. Boot your test device with say, 1G of memory instead (there's some boot hint you can set that limits physical memory) which should avoid things like 64 bit bounce buffer stuff into 32 bit memory space. Booting with 1G

Re: Where do monitor mode and STA mode begin to differ?

2018-08-04 Thread Adrian Chadd
hi! So, net80211 itself shouldn't really differ that much for this particular issue. There may be some functions that aren't called in monitor mode (like sta_join) but you're not yet there.s I'd look at the difference in the driver VAP setup and the newstate function for different operating

Re: What is the ieee80211_scanner variable?

2018-07-29 Thread Adrian Chadd
hi, I replied on iRC but, for reference. The scanner array here is the per-mode scanner (AP, STA, etc.) that implements how you should do channel scanning and selection. It's set by net80211 by default and you normally don't need to go change it. -adrian On Sat, 28 Jul 2018 at 17:13, Farhan

Re: modules needed for AR9132 NIC

2018-07-04 Thread Adrian Chadd
options INTRNG" to my kernel config, so that this "Unimplemented > nexus_teardown_intr" code path isn't taken, but now I get several errors > during compilation, so I guess that was a mistake. > > On 18-07-04 16:39:42, Adrian Chadd wrote: > >Hi, > > > &

Re: modules needed for AR9132 NIC

2018-07-04 Thread Adrian Chadd
Hi, You should also load ath_hal_ar5212 and ath_hal_ar5416. That should do it! -a On Wed, 4 Jul 2018 at 13:10, Piotr Kubaj via freebsd-wireless wrote: > > Hi all, > > what are the kernel modules necessary for running AR9132 card (present on > TL-WR1043ND v1.x)? > > I'm currently loading

Re: ath0: could not map interrupt (again?)

2018-05-21 Thread Adrian Chadd
And Tim - is this really mini-pci? or is it mini-pcie? (can you take a photo? :-) -a On Mon, 21 May 2018 at 13:34, Adrian Chadd <adrian.ch...@gmail.com> wrote: > hi, > warner says "pcie interrupts aren't shared." :-) > So why is this working? You're saying this is

Re: ath0: could not map interrupt (again?)

2018-05-21 Thread Adrian Chadd
hi, warner says "pcie interrupts aren't shared." :-) So why is this working? You're saying this is a mini-pci slot? Would you please file a PR so we can get some more eyeballs on this? thanks! -adrian On Mon, 21 May 2018 at 12:55, Tim Chase wrote: > I've been

Re: Handling C2H debug interrupt on rtwn(8)

2018-05-14 Thread Adrian Chadd
It sounds like you need to ignore it! -adrian On Mon, 14 May 2018 at 09:48, Farhan Khan wrote: > Hi all, > I have a question regarding catching an unhandled C2H event interrupt. > rtwn(4) receives C2H interrupts from the device. One type > is R92C_C2H_EVT_DEBUG as defined

  1   2   3   4   5   6   7   8   9   10   >