Re: AR9462 WLAN support

2014-06-01 Thread Carsten Kunze
Hello,

> Hi. I've just realized that my laptop has the same chip. Do you have any 
> updates? Maybe I can help somehow? Thanks

I've spended a lot of time but some day a gave up. Now I have a Dell E6540 
where really everything works (sincere thanx to all developers!), so I think I 
leave the other laptop unused (it has another problem--with the current gfx 
driver the C70 GPU gets near to 100 degree celsius).

There is a working driver for FreeBSD. Initially I thought I could port it, but 
it is very FreeBSD dependent. Then I tried to extend the athn by looking at the 
FreeBSD code. Maybe the better way--since if you want to distribute it it has 
to have OpenBSD quality anyway. But if you look at the amount of code of this 
driver you see that it's a lot of work to do.

There is also a driver for Linux, but one could assume that there would be more 
work to do than using the FreeBSD code.

With my current time budget I can do testing and small code changes but real 
development I can't do in the near future, unfortunately.

Regards,
Carsten



Re: AR9462 WLAN support

2014-06-01 Thread Sergey Avseyev
  arcor.de> writes:


> 
> I'd prefer to extend the athn driver, I'd investigate at first in that.
> 

Hi. I've just realized that my laptop has the same chip. Do you have any 
updates? Maybe I can help somehow? Thanks



Re: AR9462 WLAN support

2014-02-19 Thread carsten . kunze
> Are you asking because you're interested in hacking on this yourself?

If there would already be some work in progress I'd like to use this one day 
instead of hacking myself. If not I'd intend to work on it. Not really short 
term though.

> It has also been suggested to port FreeBSD's ath driver to OpenBSD.
> I don't believe that is less work than extending the existing athn
> driver, though.

I'd prefer to extend the athn driver, I'd investigate at first in that.

Thank you for your extensive information.



Re: AR9462 WLAN support

2014-02-19 Thread Stefan Sperling
On Wed, Feb 19, 2014 at 04:34:27PM +0100, carsten.ku...@arcor.de wrote:
> Hello,
> 
> are there any plans to support the Atheros AR9462 WLAN IC (aka AR5B22, aka 
> WB222)? In my case I'd like to use it in a Acer AO725 laptop.
> 
> If not, might it be possible to port code from the ath9k driver (Linux) or 
> would that not be a feasible way?

It's technically possible since the ath9k driver is dual BSD/GPL.
There is also FreeBSD's ath driver, and there is the Atheros HAL which
was recently open sourced: https://github.com/qca/qcamain_open_hal_public

Contrary to the others OpenBSD currently has a split between ath
and athn drivers. I think it makes sense to maintain that.

It has also been suggested to port FreeBSD's ath driver to OpenBSD.
I don't believe that is less work than extending the existing athn
driver, though. So far I've found extending athn quite hard, and
I don't think having to deal with possible regressions for already
supported hardware would make this any easier. And it's possible that
FreeBSD's driver relies on features specific to FreeBSD's net80211 stack.
I don't know how much of a hurdle that would be but I wouldn't expect
it to be trivial.

There is already existing code for some newer atheros chips in ar9003.c.
However it is currently unused and doesn't work with an ar9485 I have
lying around. I have some work in progress patches for that if you're
interested but they don't make anything work yet.

Are you asking because you're interested in hacking on this yourself?
Because we really need people who would want to do that.



AR9462 WLAN support

2014-02-19 Thread carsten . kunze
Hello,

are there any plans to support the Atheros AR9462 WLAN IC (aka AR5B22, aka 
WB222)? In my case I'd like to use it in a Acer AO725 laptop.

If not, might it be possible to port code from the ath9k driver (Linux) or 
would that not be a feasible way?

Regards,
Carsten