From: James Cameron <quozl@laptop.org>
To: John Tobias <john.tobias.ph@gmail.com>
Cc: Bing Zhao <bzhao@marvell.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"John W. Linville" <linville@tuxdriver.com>,
Amitkumar Karwar <akarwar@marvell.com>,
Avinash Patil <patila@marvell.com>,
Maithili Hinge <maithili@marvell.com>,
Xinming Hu <huxm@marvell.com>, Chris Ball <cjb@laptop.org>
Subject: Re: [PATCH 2/2] mwifiex: don't clear cmd_sent flag in timeout handler
Date: Fri, 25 Apr 2014 06:48:01 +1000 [thread overview]
Message-ID: <20140424204801.GA12124@us.netrek.org> (raw)
In-Reply-To: <CACUGKYMGVZyRHv7m90+3VJ3dAb6n0jvi=XHUYLUQh+1UAJgNQA@mail.gmail.com>
On Thu, Apr 24, 2014 at 09:45:37AM -0700, John Tobias wrote:
> How did you know that by downgrading the firmware the problem has
> been solved?. Did you see a scenario or flow in the driver that both
> occurred when using the two different firmware but able to work on
> the p80?.
I knew it had been solved because the problem stopped happening,
whereas before it would always happen.
No, there was nothing in the driver changed, and nothing I could see
in the driver had any effect on the problem.
> The reason why I am asking is because sometimes the bug/s did not
> occur often.
We are probably facing different problems. For the problem I am
working, it always happens, all I have to do is boot 14 or more
laptops. The sequence is:
- the automatic starting or joining of an ad-hoc network, by the Sugar
learning software,
- a stream of 13 adhoc station connect events from the card, one for
each station in the network,
- at about the point that the 14th beacon is seen on RF, the card
firmware hangs,
- a command is sent by the host (e.g. to get RSSI to update the
display),
- no interrupt occurs, and so the mwifiex driver reports a command
timeout.
http://dev.laptop.org/ticket/12763 has some of the details.
I have an instrumented kernel that reports the adhoc station connect
and disconnect events, and counts the number of stations that the card
knows about.
There's some sort of timer used by the card to issue the adhoc station
disconnect event; when no beacons from the station have been heard for
a few seconds. So increasing the beacon interval to 10000 TU also
avoided the problem.
I doubt your problem is caused by firmware, but you could test for it.
--
James Cameron
http://quozl.linux.org.au/
next prev parent reply other threads:[~2014-04-24 20:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 5:01 [PATCH 1/2] mwifiex: fix IE parsing issues Bing Zhao
2014-04-17 5:01 ` [PATCH 2/2] mwifiex: don't clear cmd_sent flag in timeout handler Bing Zhao
2014-04-17 21:41 ` John Tobias
2014-04-17 23:33 ` Bing Zhao
2014-04-18 4:46 ` James Cameron
2014-04-18 19:16 ` Bing Zhao
2014-04-19 0:34 ` James Cameron
2014-04-19 0:42 ` John Tobias
2014-04-19 0:48 ` James Cameron
2014-04-24 6:11 ` James Cameron
2014-04-24 7:28 ` Bing Zhao
2014-04-24 16:45 ` John Tobias
2014-04-24 20:48 ` James Cameron [this message]
2014-04-24 7:22 ` Bing Zhao
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=20140424204801.GA12124@us.netrek.org \
--to=quozl@laptop.org \
--cc=akarwar@marvell.com \
--cc=bzhao@marvell.com \
--cc=cjb@laptop.org \
--cc=huxm@marvell.com \
--cc=john.tobias.ph@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=maithili@marvell.com \
--cc=patila@marvell.com \
/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.