Project

General

Profile

Actions

Bug #1739

closed

Fixes for ath(4)

Added by ahuete.devel about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi all,

Can somebody please review the following patches?

http://leaf.dragonflybsd.org/~tuxillo/archive/patches/0001-x86_64-Sync-wlan-options-with-GENERIC.patch
http://leaf.dragonflybsd.org/~tuxillo/archive/patches/0002-ath-Fix-module-loading.patch

The first one is to hook up the wlan changes to X86_64, and the second
one just brings the code from the previous release. Basically it is to
register the modules ath_hal and ath_rate properly and make them a
dependency for if_ath.
They allowed me to use ath(4) on x86_64 where now it isn't possible.

Also, there are two remaining issues that I'm aware of :
  • You need to issue 'ifconfig wlan0 create wlandev ath0' and use wlan0
    instead of ath0 as it was previously. Can this be somehow automated?
  • If you create the clone 'wlan0' and you issue a 'kldunload if_ath'
    the system is totally frozen, not responding to any input from
    keyboard.

Cheers,
Antonio Huete

Actions #1

Updated by rpaulo1 about 14 years ago

On 17 Apr 2010, at 13:30, Antonio Huete Jimenez wrote:

Hi all,

Can somebody please review the following patches?

http://leaf.dragonflybsd.org/~tuxillo/archive/patches/0001-x86_64-Sync-wlan-options-with-GENERIC.patch
http://leaf.dragonflybsd.org/~tuxillo/archive/patches/0002-ath-Fix-module-loading.patch

The first one is to hook up the wlan changes to X86_64, and the second
one just brings the code from the previous release. Basically it is to
register the modules ath_hal and ath_rate properly and make them a
dependency for if_ath.
They allowed me to use ath(4) on x86_64 where now it isn't possible.

Looks ok, but I would remove:
+ kprintf("ath_hal loaded\n");

Also, there are two remaining issues that I'm aware of :
  • You need to issue 'ifconfig wlan0 create wlandev ath0' and use wlan0
    instead of ath0 as it was previously. Can this be somehow automated?

In rc.conf:
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

  • If you create the clone 'wlan0' and you issue a 'kldunload if_ath'
    the system is totally frozen, not responding to any input from
    keyboard.

I'll look into this.

Regards,
--
Rui Paulo

Actions #2

Updated by tuxillo about 14 years ago

Patches committed in 8fa6f1862378ddc3c175725547a12ae5d1d304a6 and
8425fd9d9864fa034e202ab73abdc93f36fe231b

Actions #3

Updated by tuxillo about 14 years ago

Lockup fix committed in 5fe801afe26ad5841931a4545322c532204c9fda

Actions

Also available in: Atom PDF