All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kazior <michal.kazior@tieto.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 1/7] mac80211: add tracking of temporary offchannel sdata
Date: Thu, 10 May 2012 09:57:49 +0200	[thread overview]
Message-ID: <4FAB74FD.7080004@tieto.com> (raw)
In-Reply-To: <1336634791.4334.5.camel@jlt3.sipsolutions.net>

Johannes Berg wrote:
> Hi Michal,
>
>> This is necessary if we want to have a sdata-based
>> channel recalculation.
>>
>> Change-Id: I223e052146893b3ae1ca46de7d90c54ffc589f1b
>> Signed-off-by: Michal Kazior<michal.kazior@tieto.com>
>> ---
>>   net/mac80211/ieee80211_i.h |    1 +
>>   net/mac80211/work.c        |    2 ++
>>   2 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
>> index b5e491b..c109960 100644
>> --- a/net/mac80211/ieee80211_i.h
>> +++ b/net/mac80211/ieee80211_i.h
>> @@ -997,6 +997,7 @@ struct ieee80211_local {
>>   	struct ieee80211_channel *oper_channel, *csa_channel;
>>
>>   	/* Temporary remain-on-channel for off-channel operations */
>> +	struct ieee80211_sub_if_data *tmp_sdata;
>>   	struct ieee80211_channel *tmp_channel;
>>   	enum nl80211_channel_type tmp_channel_type;
>
> Do you actually need this? I'm still tempted to not worry about any of
> this and force drivers to implement remain-on-channel in the driver or
> device for multi-channel, and this temporary thing is only used for
> remain-on-channel operations now.

No I don't. But if it's not done we break the whole thing (sw 
offchannel/scan) with my next patch. We might as well just remove all 
the sw offchannel/scan code.

How many drivers are there that still depend on sw offchannel? Can we 
just go ahead and break them?


-- 
Pozdrawiam / Best regards, Michal Kazior.

  reply	other threads:[~2012-05-10  7:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  6:44 [RFC/PATCH] multi-channel preparation work Michal Kazior
2012-05-10  6:44 ` [PATCH 1/7] mac80211: add tracking of temporary offchannel sdata Michal Kazior
2012-05-10  7:26   ` Johannes Berg
2012-05-10  7:57     ` Michal Kazior [this message]
2012-05-10  8:02       ` Johannes Berg
2012-05-10  6:44 ` [PATCH 2/7] mac80211: split channel logic from hw_config Michal Kazior
2012-05-10  6:44 ` [PATCH 3/7] mac80211: refactor ieee80211_set_channel_type Michal Kazior
2012-05-10  6:44 ` [PATCH 4/7] mac80211: introduce ieee80211_oper_channel_type Michal Kazior
2012-05-10  6:44 ` [PATCH 5/7] cfg80211: extend get_channel to take wdev argument Michal Kazior
2012-05-10  7:29   ` Johannes Berg
2012-05-10  9:05     ` Michal Kazior
2012-05-10 10:57       ` Johannes Berg
2012-05-10  6:44 ` [PATCH 6/7] mac80211: remove _oper_channel_type Michal Kazior
2012-05-10  6:44 ` [PATCH 7/7] mac80211: move oper_channel to sdata Michal Kazior
2012-05-10  7:31   ` Johannes Berg
2012-05-10  8:59     ` Michal Kazior
2012-05-11 12:11 ` [RFC/PATCH] multi-channel preparation work Johannes Berg
2012-05-11 12:39   ` 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=4FAB74FD.7080004@tieto.com \
    --to=michal.kazior@tieto.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.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.