From: W. van den Akker Date: Wed, 4 Feb 2009 21:49:28 +0100 Subject: [ath9k-devel] [RFC] Serialization of writes In-Reply-To: <200902041827.30085.listsrv@wilsoft.nl> References: <20090204011216.GA8220@tesla> <43e72e890902032047k434e490br97d9ff694ca33a9f@mail.gmail.com> <200902041827.30085.listsrv@wilsoft.nl> Message-ID: <200902042149.28245.listsrv@wilsoft.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wednesday 04 February 2009, W. van den Akker wrote: > On Wednesday 04 February 2009, Luis R. Rodriguez wrote: > > On Tue, Feb 3, 2009 at 5:12 PM, Luis R. Rodriguez > > > > wrote: > > > Some devices requires serialization of writes, this is required > > > for AR5416 and AR9280 PCI devices. This was not implemented in ath9k > > > though. Here's an attempt, but I have no way of testing this as I > > > haven't had issues with my systems or cards. I am not sure if this > > > should fix some of the current issues being reported but it may help. > > > > > > Those who have issues on SMP systems with hostapd locking up -- > > > please give this a whirl, let me know if it helps. > > > > > > This has 3 patches in 1 file, the one that counts it the third one > > > but just apply it all together, 'patch -p1 serialize.patch' ( > > > for compat-wireless users or testers) or 'git am serialize.patch' > > > for git users. > > > > > > Feedback on results is appreciated. > > > > > > http://www.kernel.org/pub/linux/kernel/people/mcgrof/patches/ath9k/tmp/ > > >se rialize.patch > > > > On second thought, this should be pretty useless since because we have > > only one tasklet and tasklets are not re-entrant on different CPUs. > > Hm,,, > > I will test this and will report back.. > I have updated the git and applied the patch. But hostapd cannot start the adapter to work: xxx:/home/xx# hostapd -dd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf ctrl_interface_group=0 Opening raw packet socket for ifindex 1688 BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits) Failed to set country code wlan0: Unable to setup interface. rmdir[ctrl_interface]: No such file or directory I am using hostapd 0.6.7. Greetings, Willem -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.