From: Johannes Berg <johannes@sipsolutions.net>
To: Avinash Patil <avinashapatil@gmail.com>
Cc: linux-wireless@vger.kernel.org,
Avinash Patil <patila@marvell.com>, Bing Zhao <bzhao@marvell.com>,
Kiran Divekar <dkiran@marvell.com>
Subject: Re: [cfg80211] Issue with simultaneous AP-STA operation in mwifiex/cfg80211
Date: Mon, 20 Aug 2012 13:16:31 +0200 [thread overview]
Message-ID: <1345461391.4459.7.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <CAJwzM1nGny-JBD8hwKXsrERko0cGvuJB_nD2dbPrPmzF-T49Tg@mail.gmail.com> (sfid-20120810_080731_101463_8799AA08)
On Fri, 2012-08-10 at 11:37 +0530, Avinash Patil wrote:
> Hi All,
>
> Lately simultaneous AP-STA functionality in mwifiex driver is not
> working. I feel this has something to do with recent changes in
> cfg80211.
>
> If we associate mwifiex STA to external AP first and then try to start
> mwifiex AP using hostapd(on different channel), we get –EBUSY error
> from cfg80211. This happens from path
> nl80211_start_ap->cfg80211_can_use_chan. cfg80211_can_use_chan
> returns EBUSY error. In our design if mwifiex STA is already
> associated on some different channel, AP follows this channel and BSS
> is started using STA channel settings. If we start hostapd on same
> channel, BSS is successfully started, but association requests from
> external station result in failure.
>
> Please let me know if we are missing something while registering
> n_iface and iface combinations. num_different_channels in
> ieee80211_iface_combination has been advertised as 1.
Well, if the number of different channels is 1, why would you expect to
be able to start an AP on a different channel than the STA is currently
using? Hostapd should know (needs to, I think) what channel is actually
being used, so you should start it on the right channel I think?
I don't know why association requests would fail.
johannes
prev parent reply other threads:[~2012-08-20 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 6:07 [cfg80211] Issue with simultaneous AP-STA operation in mwifiex/cfg80211 Avinash Patil
2012-08-13 5:35 ` Mohammed Shafi
2012-08-14 11:56 ` Avinash Patil
2012-08-14 12:06 ` Mohammed Shafi
2012-08-20 11:16 ` Johannes Berg [this message]
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=1345461391.4459.7.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=avinashapatil@gmail.com \
--cc=bzhao@marvell.com \
--cc=dkiran@marvell.com \
--cc=linux-wireless@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).