OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: BadSamaritan on July 04, 2019, 02:18:44 am

Title: Atheros 9380 wifi fixes
Post by: BadSamaritan on July 04, 2019, 02:18:44 am
Will the fixes for reg_domain be present in 19.7? I have an AR9380 card that's currently not usable.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194336
https://svnweb.freebsd.org/base?view=revision&revision=343493

Card:
https://wikidevi.com/wiki/Rosewill_N900PCE

Dmesg:

ath0: <Atheros AR938x> mem 0xf0600000-0xf061ffff irq 16 at device 0.0 on pci2
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: ath_getchannels: unable to collect channel list from hal, status 12
device_attach: ath0 attach returned 22


Title: Re: Atheros 9380 wifi fixes
Post by: franco on July 04, 2019, 07:35:54 am
I've backported the change to our tree and in the best case it will be included in 19.7 directly. But I can give no promise this commit is the only thing that you're missing for a fully operational card.

https://github.com/opnsense/src/commit/1268658b52


Cheers,
Franco
Title: Re: Atheros 9380 wifi fixes
Post by: BadSamaritan on July 05, 2019, 03:55:55 am
Thanks thats all i ask. All my research points to the missing FCC6 reg domain being the culprit, but well aware it may not fix the issue.
Title: Re: Atheros 9380 wifi fixes
Post by: franco on July 05, 2019, 05:59:44 pm
Okay, just ping back if any other patch is needed. Note the patch will hit 19.7, not 19.7-RC1 due to overlapping timelines.


Cheers,
Franco
Title: Re: Atheros 9380 wifi fixes
Post by: BadSamaritan on July 17, 2019, 07:16:54 pm
The FCC6 fixes seem to have done the trick. Wifi is up and working and dmesg is much better

Code: [Select]
ath0: <Atheros AR938x> mem 0xf0600000-0xf061ffff irq 16 at device 0.0 on pci2
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
Restoring Cal data from EEPROM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
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] 3 RX streams; 3 TX streams
ath0: AR9380 mac 448.3 RF5110 phy 3172.10
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000