Re: athn: fix ar9380 receive code

2017-05-25 Thread Kevin Lo
On Thu, May 25, 2017 at 05:38:59PM +0200, Stefan Sperling wrote: > > On Wed, May 24, 2017 at 10:11:21AM +0800, Kevin Lo wrote: > > My AR9380 adapter arrived, but I hit a kernel panic on amd64: > > Which PCI product ID does this card have? The product ID is 0x0030. # pcidump -v 2:0:0 2:0:0: Ath

Re: athn: fix ar9380 receive code

2017-05-25 Thread Stefan Sperling
On Wed, May 24, 2017 at 10:11:21AM +0800, Kevin Lo wrote: > My AR9380 adapter arrived, but I hit a kernel panic on amd64: Which PCI product ID does this card have? > athn0 at pci2 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 1 int 17 > > uvm_fault(0x81858d20, 0x800130868

Re: athn: fix ar9380 receive code

2017-05-23 Thread Kevin Lo
On Thu, May 18, 2017 at 02:42:45PM +0800, Kevin Lo wrote: > > On Thu, May 18, 2017 at 08:08:52AM +0200, Stefan Sperling wrote: > > > > On Thu, May 18, 2017 at 01:19:18PM +0800, Kevin Lo wrote: > > > On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote: > > > > athn0 at pci1 dev 0 funct

Re: athn: fix ar9380 receive code

2017-05-17 Thread Kevin Lo
On Thu, May 18, 2017 at 08:08:52AM +0200, Stefan Sperling wrote: > > On Thu, May 18, 2017 at 01:19:18PM +0800, Kevin Lo wrote: > > On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote: > > > athn0 at pci1 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 16 > > > athn0: AR9380 rev

Re: athn: fix ar9380 receive code

2017-05-17 Thread Stefan Sperling
On Thu, May 18, 2017 at 01:19:18PM +0800, Kevin Lo wrote: > On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote: > > athn0 at pci1 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 16 > > athn0: AR9380 rev 3 (3T3R), ROM rev 0, address xx:xx:xx:xx:xx:xx > Can't receive packets with

Re: athn: fix ar9380 receive code

2017-05-17 Thread Kevin Lo
On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote: > > AR9380 devices are currently not supported by our athn(4). > There is code for them in the driver, but this code does not work yet. > > This diff makes monitor mode work with an AR9380 device I have lying around. > > athn0 at p

athn: fix ar9380 receive code

2017-05-17 Thread Stefan Sperling
AR9380 devices are currently not supported by our athn(4). There is code for them in the driver, but this code does not work yet. This diff makes monitor mode work with an AR9380 device I have lying around. athn0 at pci1 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 16 athn0: AR9380 rev