From: sjreom Date: Thu, 4 Jun 2009 02:00:50 +0000 Subject: [ath9k-devel] ath9k/ath5k + 80211s crash In-Reply-To: <40f31dec0906031259u1a9c4b0dh977cade85bded168@mail.gmail.com> References: <661650.46971.qm@web55304.mail.re4.yahoo.com> <45e8e6c40906020958x3de155acx1011452051c9e96@mail.gmail.com> <40f31dec0906031121xfb76641h3137f53ed5c8a792@mail.gmail.com> <45e8e6c40906031252x7f22a1c1mf4fb4a9612eb5ce0@mail.gmail.com> <40f31dec0906031259u1a9c4b0dh977cade85bded168@mail.gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org > 736 /* When in AP mode zero timer0 to start TSF */ > 737 if (ah->ah_op_mode == NL80211_IFTYPE_AP) > 738 ath5k_hw_reg_write(ah, 0, AR5K_TIMER0); > > We need to do this for NL80211_IFTYPE_MESH_POINT or DBA won't fire up > and beacon queue wont start... > In my case, that is not a solution. The problem is ath5k_hw_set_opmode() is called before mesh configuration. Operation mode was set in a function ath5k_add_interface(), but ath5k_hw_set_opmode() called before it. So there's no chance to configure h/w in mesh mode. If I add ath5k_reset() command at the end of ath5k_add_interface(), then beacon starts instantly. I found what problem is, but I don't know what is neat solution. So I hope someone who knows well about the atheros driver make a patch. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090604/26750970/attachment.htm