Opened 12 years ago

Closed 6 years ago

#8801 closed enhancement (fixed)

Add Qualcom Atheros AR93xx and AR94xx wifi adapters support

Reported by: xsive Owned by: nobody
Priority: normal Milestone: R1
Component: Drivers/Network/atheroswifi Version: R1/Development
Keywords: atheros AR9462 AR9380 AR9485 Qualcom QCA Cc: phoudoin, starsseed@…
Blocked By: Blocking: #10133
Platform: All

Description (last modified by phoudoin)

See https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300 for the current FreeBSD support state for these family of adapters of QCA (QualCom Atheros).

One thing to watch is if that this new AR9300 HAL is targetting FreeBSD HEAD, not 9-, which AFAICT is what we currently support with our compat layer.

Change History (23)

comment:1 by umccullough, 12 years ago

I'm not sure which atheros chips are supported at this point, but please try with a latest nightly image (R1A3 doesn't include the updated wifi support) from here:

http://haiku-files.org/haiku/development/

For Atheros, the firmware should already come with Haiku.

comment:2 by xsive, 12 years ago

I've tried with the latest nightly, should it work out of the box or is there anything I need to do to activate the driver? thanks

comment:3 by umccullough, 12 years ago

It would be helpful if you included the output from listdev, and also a syslog.

comment:4 by xsive, 12 years ago

Would do but I've tried a latest nightly and now the USB won't even boot, can't find boot volume :(

comment:5 by xsive, 12 years ago

hmm now its booting... here's my syslog....

~> listdev

device Serial bus controller (SMBus) [c|5|0]
  vendor 8086: Intel Corporation
  device 1e22: 7 Series/C210 Series Chipset Family SMBus Controller

device Mass storage controller (SATA controller, AHCI 1.0) [1|6|1]
  vendor 8086: Intel Corporation
  device 1e03: 7 Series Chipset Family 6-port SATA Controller [AHCI mode]

device Bridge (ISA bridge) [6|1|0]
  vendor 8086: Intel Corporation
  device 1e57: HM77 Express Chipset LPC Controller

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 8086: Intel Corporation
  device 1e26: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1

device Network controller [2|80|0]
  vendor 168c: Atheros Communications Inc.
  device 0034: AR9462 Wireless Network Adapter

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 1e12: 7 Series/C210 Series Chipset Family PCI Express Root Port 2

device Generic system peripheral [8|80|0]
  vendor 14e4: Broadcom Corporation
  device 16bf: Unknown

device Generic system peripheral [8|80|0]
  vendor 14e4: Broadcom Corporation
  device 16be: Unknown

device Generic system peripheral (SD Host controller) [8|5|1]
  vendor 14e4: Broadcom Corporation
  device 16bc: NetXtreme BCM57765 Memory Card Reader

device Network controller (Ethernet controller) [2|0|0]
  vendor 14e4: Broadcom Corporation
  device 16b5: NetLink BCM57785 Gigabit Ethernet PCIe

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 1e10: 7 Series/C210 Series Chipset Family PCI Express Root Port 1

device Multimedia controller (Audio device) [4|3|0]
  vendor 8086: Intel Corporation
  device 1e20: 7 Series/C210 Series Chipset Family High Definition Audio Controller

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 8086: Intel Corporation
  device 1e2d: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2

device Communication controller [7|80|0]
  vendor 8086: Intel Corporation
  device 1e3a: 7 Series/C210 Series Chipset Family MEI Controller #1

device Serial bus controller (USB controller, XHCI) [c|3|30]
  vendor 8086: Intel Corporation
  device 1e31: 7 Series/C210 Series Chipset Family USB xHCI Host Controller

device Display controller (VGA compatible controller, VGA controller) [3|0|0]
  vendor 8086: Intel Corporation
  device 0116: 2nd Generation Core Processor Family Integrated Graphics Controller

device Bridge (Host bridge) [6|0|0]
  vendor 8086: Intel Corporation
  device 0104: 2nd Generation Core Processor Family DRAM Controller
Last edited 12 years ago by umccullough (previous) (diff)

in reply to:  5 comment:6 by umccullough, 12 years ago

Replying to xsive:

> device Network controller [2|80|0]
>   vendor 168c: Atheros Communications Inc.
>   device 0034: AR9462 Wireless Network Adapter

I don't see devid 0034 listed in the atheros driver code we are using:

http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ah_devid.h

It seems FreeBSD doesn't yet support that chipset in their own driver:

http://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport

I'm afraid you'll probably have to wait until support is added to FreeBSD and then we have updated our sources from them.

comment:7 by umccullough, 12 years ago

Keywords: atheros AR9462 added
Summary: Onboard Wifi?Atheros AR9462 not yet supported
Version: R1/alpha3R1/Development

comment:8 by xsive, 12 years ago

just my luck :D thanks anyway hopefully sometime in the future...

comment:9 by xsive, 11 years ago

Driver update in freebsd is now in progress so hopefully be added to Haiku when its ready http://wiki.freebsd.org/dev/ath(4)

comment:10 by korli, 11 years ago

I'm afraid there is still no support in view for this revision in FreeBSD current

comment:12 by korli, 11 years ago

FreeBSD has no support yet. Once it's integrated you'll see a directory ar9300 here

comment:13 by xsive, 11 years ago

https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300

https://wiki.freebsd.org/dev/ath_hal(4)/HardwareSupport

Is this supported now? Looks like its been added to supported chipsets

comment:14 by phoudoin, 11 years ago

Cc: phoudoin added
Description: modified (diff)
Keywords: AR9380 AR9485 Qualcom QCA added
Summary: Atheros AR9462 not yet supportedAdd Qualcom Atheros AR93xx and AR94xx wifi adapters support

in reply to:  13 comment:15 by phoudoin, 11 years ago

Replying to xsive:

https://wiki.freebsd.org/dev/ath_hal%284%29/AR9300

https://wiki.freebsd.org/dev/ath_hal(4)/HardwareSupport

Is this supported now? Looks like its been added to supported chipsets

It's not integrated in FreeBSD's HEAD yet, but made available by the developer in his own git clone for beta-testers since a month or like.

comment:16 by starsseed, 11 years ago

Cc: starsseed@… added

comment:17 by phoudoin, 11 years ago

It's now in FreeBSD's HEAD:

http://www.mavetju.org/mail/view_message.php?list=freebsd-wireless&id=3705430

Question is how much FreeBSD's 10 network API is compatible with our FreeBSD's 9 compatibility library?

comment:18 by xsive, 11 years ago

Is this now incorporated in the latest builds?

comment:19 by korli, 11 years ago

No, it isn't. I guess this support won't be ported to FreeBSD stable-9, which we rely on at the moment. There is surely a bit of work to smoothly move to stable-10 when it's out.

comment:20 by xsive, 9 years ago

Any luck on this one? Dying to get my laptop on haiku :(

comment:21 by pulkomandy, 9 years ago

Blocking: 10133 added

comment:22 by waddlesplash, 6 years ago

Please retest after hrev52093.

comment:23 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

Various users have reported AR93xx/AR94xx devices now working; closing as fixed.

Note: See TracTickets for help on using tickets.