[ath5k-devel] [PATCH] ath5k: fix locking in tx_complete_poll_work

2011-01-18 Thread Bob Copeland
ath5k_reset must be called with sc-lock. Since the tx queue watchdog runs in a workqueue and accesses sc, it's appropriate to just take the lock over the whole function. Signed-off-by: Bob Copeland m...@bobcopeland.com --- drivers/net/wireless/ath/ath5k/base.c |4 1 files changed, 4

Re: [ath5k-devel] [PATCH] ath5k: fix locking in tx_complete_poll_work

2011-01-18 Thread Bruno Randolf
On Tue January 18 2011 22:06:43 Bob Copeland wrote: ath5k_reset must be called with sc-lock. Since the tx queue watchdog runs in a workqueue and accesses sc, it's appropriate to just take the lock over the whole function. Signed-off-by: Bob Copeland m...@bobcopeland.com ---

[ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Cory Coager
I have been using hostapd to run multiple access points with madwifi. Recently I upgraded my kernel and it looks like the driver uses nl80211 now. I am no longer able to run multiple access points with ath5k. What is the current status of development for support for this?

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Bruno Randolf
On Wed January 19 2011 11:21:45 Cory Coager wrote: I have been using hostapd to run multiple access points with madwifi. Recently I upgraded my kernel and it looks like the driver uses nl80211 now. I am no longer able to run multiple access points with ath5k. What is the current status of

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Cory Coager
On 01/18/2011 09:37 PM, Bruno Randolf wrote: Up to 4 AP are supported. Please check if you have a compat-wireless version or kernel version later than 2010-10-05. Yes the interface is nl80211 now. bruno That is good to hear, now if I could only figure it out why its not working... I'm using

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Bruno Randolf
On Wed January 19 2011 11:48:37 Cory Coager wrote: On 01/18/2011 09:37 PM, Bruno Randolf wrote: Up to 4 AP are supported. Please check if you have a compat-wireless version or kernel version later than 2010-10-05. Yes the interface is nl80211 now. That is good to hear, now if I could only

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Cory Coager
On 01/18/2011 09:58 PM, Bruno Randolf wrote: Use hostapd to manage it all. here is an example of a hostapd config file: --- ctrl_interface=/var/run/hostapd-phy2 driver=nl80211 hw_mode=g channel=11 interface=wlan2 wpa_passphrase=mysecretkey wpa=3 wpa_pairwise=CCMP TKIP

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Cory Coager
On 01/18/2011 10:04 PM, Ben Greear wrote: Funny, that's how I've been doing it, but with one hostapd process per interface. Worked fine last I tried. I'm not sure the ath5k virtualization stuff got into stock 2.6.36, by the way. It *should* be in .37. Thanks, Ben Thats how I was doing

Re: [ath5k-devel] multiple access points broke on nl80211

2011-01-18 Thread Ben Greear
On 01/18/2011 06:58 PM, Bruno Randolf wrote: On Wed January 19 2011 11:48:37 Cory Coager wrote: On 01/18/2011 09:37 PM, Bruno Randolf wrote: Up to 4 AP are supported. Please check if you have a compat-wireless version or kernel version later than 2010-10-05. Yes the interface is nl80211 now.