Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2442 (new defect)

Opened 11 years ago

ath_pci driver disabling when setting countrycode

Reported by: justincase@yopmail.com Assigned to:
Priority: blocker Milestone:
Component: madwifi: driver Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending: 0

Description

I checked out the latest revision from svn on 20101227.

Compiled and installed the driver from source.

If I set in /etc/modprobe.conf either options ath_pci countrycode=036 OR options ath_pci countrycode=36

it will disable the wireless card.

When I use: options ath_pci countrycode=036 /var/log/messages will show this: Dec 28 02:53:41 server kernel: PCI: Enabling device 0000:04:02.0 (0110 -> 0112) Dec 28 02:53:41 server kernel: ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 233 Dec 28 02:53:42 server kernel: MadWifi: ath_getchannels: Unable to collect channel list from HAL; regdomain likely 32924 country code 30 Dec 28 02:53:42 server kernel: ACPI: PCI interrupt for device 0000:04:02.0 disabled

When I use: options ath_pci countrycode=36 /var/log/messages will show this: Dec 28 02:55:15 server kernel: PCI: Enabling device 0000:04:02.0 (0110 -> 0112) Dec 28 02:55:15 server kernel: ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 233 Dec 28 02:55:16 server kernel: MadWifi: ath_getchannels: Unable to collect channel list from HAL; regdomain likely 32924 country code 36 Dec 28 02:55:16 server kernel: ACPI: PCI interrupt for device 0000:04:02.0 disabled

If I try something crazy like: options ath_pci countrycode=AU /var/log/messages will show this: Dec 28 02:56:57 wilber kernel: ath_pci: AU' invalid for parameter countrycode'

When I DON'T use the countrycode the driver will work: Dec 28 02:57:57 server kernel: PCI: Enabling device 0000:04:02.0 (0110 -> 0112) Dec 28 02:57:57 server kernel: ACPI: PCI Interrupt 0000:04:02.0[A] -> GSI 18 (level, low) -> IRQ 233 Dec 28 02:57:57 server kernel: MadWifi: ath_attach: Switching rfkill capability off. Dec 28 02:57:57 server kernel: wifi0: Atheros AR2425 chip found (MAC 15.0, PHY SChip 7.0, Radio 10.2) Dec 28 02:57:57 server kernel: ath_pci: wifi0: Atheros 2417: mem=0xfe5f0000, irq=233