All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <linux@rempel-privat.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Stable Version for ath9k_htc in AP Mode?
Date: Fri, 02 May 2014 00:41:34 +0200	[thread overview]
Message-ID: <5362CD9E.4020700@rempel-privat.de> (raw)
In-Reply-To: <CAFjWW+YQteYy7cdVd1zKKKCUosrxz=HMEp_rc0-FScF3L634FA@mail.gmail.com>

Am 02.05.2014 00:00, schrieb Aaron Hamilton:
> Considering the wifi card is attached to an at91rm9200
> (http://www.atmel.com/Images/1768s.pdf) that only has a 12 Mbps USB
> port, does it matter if I enable 802.11n?

Theoretically it will work at same speed as before, but transaction will
take less air time.

12 MBps ...  ufff.. i never tested FS mode. This device has huge
difference on HS and SS hosts. There are different speed and stability
issues. I won't be surprised if it is part of the problem.
Interrupt traffic may reserve big part of your available usb bandwidth.
How many devices do you have on same root hub?

Did you tried to increase beacon interval to reduce usb traffic?


> On Wed, Apr 30, 2014 at 10:37 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>> Am 01.05.2014 01:03, schrieb Aaron Hamilton:
>>> I believe CONFIG_ATH_DEBUG is enabled, but I'll double check again.
>>> Attached is the hostapd.conf we're using. Right now the only logs we
>>> see are what's in syslog or dmesg, but I'd be more than happy to
>>> enable whatever I can. Just need to know what to configure.
>>
>> First mistake what i see in hostapd.conf is:
>> max_num_sta=255
>> it should be 8
>>
>> second, max_num_sta=255 is not enabled:
>> ieee80211n=1
>> ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40][RX-STBC1]
>> channel=11
>> ieee80211d=1
>> country_code=DE
>>
>> then you may try module parameter "nohwcrypt=1", just to make sure.
>>
>>> Thus far everytime we've had an issue with clients unable to connect,
>>> a restart of hostapd fixed it. Strangely, the clients were able to see
>>> the SSID broadcast, but failed immediately upon a connection attempt.
>>> The problem also seems to be all or none. Once one client looses
>>> connection, they all do until hostapd is restarted or the device is
>>> power cycled.
>>
>> Did you tried to reproduce this problem with more then one STA?
>> It look for me more like "max_num_sta=255" problem.
>>
>>>
>>> On Wed, Apr 30, 2014 at 1:40 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>>>> Am 30.04.2014 22:16, schrieb Oleksij Rempel:
>>>>> Am 30.04.2014 20:59, schrieb Aaron Hamilton:
>>>>>> Unfortunately our units are in another state, so we're unable to make
>>>>>> the electrical connections. If the UART is RS-232, we might be able to
>>>>>> modify some locally - but it'll be a rather difficult challenge.
>>>>>
>>>>> It is TTL level, 3,3 Volt.
>>>>>
>>>>>> Not
>>>>>> to mention, we see a great deal of issues in the field, but can't
>>>>>> duplicate them here.
>>>>>
>>>>> Did you tried to grab hostpad  log to so what kind of connections do you
>>>>> have? What is your hostapd config?
>>>>>
>>>>>> On the firmware, I'm pulling down io_clean-2014.04.29 right now. I'm
>>>>>> assuming this is what I should be using?
>>>>>
>>>>> You can use it, but these changes should make sense only if you can get
>>>>> oops log from firmware. Or at least FW panic report from dmesg.
>>>>>
>>>>> Theoretically this change set should not affect stability.
>>>>>
>>>>>> Are there any other options for debugging aside from the UART? We're
>>>>>> really in a bind and feel like the only work around is to setup a task
>>>>>> to restart hostapd every hour.
>>>>>
>>>>> Hmm.. restarting hostpad should not affect firmware. Is it really
>>>>> working for you?
>>>>
>>>> Make sure you have CONFIG_ATH_DEBUG enabled. May be we can get some
>>>> interesting information. For example WMI timeouts are printed with
>>>> ath_dbg which is disable without CONFIG_ATH_DEBUG.
>>>>
>>>> --
>>>> Regards,
>>>> Oleksij
>>>>
>>
>>
>> --
>> Regards,
>> Oleksij
>>


-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 278 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140502/b954678e/attachment.pgp 

  reply	other threads:[~2014-05-01 22:41 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 20:43 [ath9k-devel] Stable Version for ath9k_htc in AP Mode? Aaron Hamilton
2014-04-28 22:03 ` Oleksij Rempel
2014-04-29  6:19   ` Aaron Hamilton
2014-04-29  6:31     ` Oleksij Rempel
2014-04-29  9:08       ` Aaron Hamilton
2014-04-30 17:29         ` Aaron Hamilton
2014-04-30 18:27           ` Oleksij Rempel
2014-04-30 18:59             ` Aaron Hamilton
2014-04-30 20:16               ` Oleksij Rempel
2014-04-30 20:40                 ` Oleksij Rempel
2014-04-30 23:03                   ` Aaron Hamilton
2014-05-01  5:37                     ` Oleksij Rempel
2014-05-01 21:33                       ` Aaron Hamilton
2014-05-01 22:00                       ` Aaron Hamilton
2014-05-01 22:41                         ` Oleksij Rempel [this message]
2014-05-02  6:27                           ` Aaron Hamilton
2014-05-02 10:11                             ` Aaron Hamilton
2014-05-03  9:07                               ` Oleksij Rempel
2014-05-05 18:09                                 ` Aaron Hamilton
2014-05-05 19:32                                   ` Oleksij Rempel
2014-05-06  1:57                                     ` Aaron Hamilton
2014-05-06  7:21                                       ` Oleksij Rempel
2014-05-08 22:57                                         ` Aaron Hamilton
2014-05-10  9:26                                           ` Oleksij Rempel
2014-05-11  6:40                                             ` Aaron Hamilton
2014-05-11 15:40                                               ` Adrian Chadd
2014-05-12  1:46                                                 ` Aaron Hamilton
2014-05-12  8:01                                                   ` Oleksij Rempel
2014-05-12 13:11                                                     ` Peter Stuge
2014-05-12 14:47                                                       ` Oleksij Rempel
2014-05-28  5:36                                                         ` Aaron Hamilton
2014-05-30  4:21                                                           ` Oleksij Rempel
2014-06-04 18:06                                                             ` Aaron Hamilton
2014-06-06  2:12                                                               ` Aaron Hamilton
2014-06-06  7:52                                                                 ` Oleksij Rempel
2014-06-06 11:06                                                                   ` Aaron Hamilton
2014-06-06 20:24                                                                     ` Gui Iribarren
2014-06-06 20:27                                                                     ` Gui Iribarren
2014-05-01  4:12               ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5362CD9E.4020700@rempel-privat.de \
    --to=linux@rempel-privat.de \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.