linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Vivek Natarajan <nataraja@qca.qualcomm.com>
Cc: jouni@qca.qualcomm.com, kvalo@qca.qualcomm.com,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] cfg80211: Support for automatic channel selection in AP mode
Date: Wed, 20 Jun 2012 10:55:00 +0200	[thread overview]
Message-ID: <1340182500.4655.47.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1340017242-6436-1-git-send-email-nataraja@qca.qualcomm.com>

On Mon, 2012-06-18 at 16:30 +0530, Vivek Natarajan wrote:
> If the driver sets WIPHY_FLAG_SUPPORTS_ACS, auto_channel_select
> is passed to the driver as ap settings and frequency setting is
> skipped. When the AP mode comes up in the new channel, it is 
> intimated to cfg80211 through cfg80211_ch_switch_notify which
> in turn notifies the channel information to wpa_supplicant
> through CH_SWITCH event.
> 
> Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
> ---
> v2: Add a new flag attribute for _START_AP command to indicate ACS request.
>     Update the channel/frequency information using ch_switch_notify
>     once the driver (firmware) has selected the channel.
> 
> For P2P, the operating channel needs to be known before group negotiation starts.
> This is true in case of P2P GO or client. It needs a separate p2p command from
> wpa_cli to get the acs-based best channel information from the driver.

So .. is there any reason to not do only the second, and then pass that
channel back here instead?

johannes


  parent reply	other threads:[~2012-06-20  8:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 11:00 [PATCH 1/2] cfg80211: Support for automatic channel selection in AP mode Vivek Natarajan
2012-06-18 11:00 ` [PATCH v2] wpa_supplicant: Add support for auto " Vivek Natarajan
2012-06-18 11:00 ` [PATCH 2/2] ath6kl: Enable auto channel selection for " Vivek Natarajan
2012-07-11 15:42   ` Kalle Valo
2012-06-20  8:55 ` Johannes Berg [this message]
2012-06-20  9:42   ` [PATCH 1/2] cfg80211: Support for automatic channel selection in " Vivek Natarajan
2012-06-20 15:41     ` Johannes Berg
2012-06-21  6:21       ` Michal Kazior
2012-06-21  8:26         ` Johannes Berg

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=1340182500.4655.47.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=jouni@qca.qualcomm.com \
    --cc=kvalo@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nataraja@qca.qualcomm.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).