linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFCv2] respect channels in iface combinations
@ 2012-06-20  6:14 Michal Kazior
  2012-06-20  6:14 ` [RFCv2 01/13] cfg80211: introduce cfg80211_stop_ap Michal Kazior
                   ` (13 more replies)
  0 siblings, 14 replies; 32+ messages in thread
From: Michal Kazior @ 2012-06-20  6:14 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

Hi,

Here goes an updated patchset with multi-channel work on
cfg80211. Thanks go to Johannes and Eliad for review and
pointing out my mistakes.

I've addressed the issue with non-fixed channel IBSS.
Channels are now cosidered either shared or exclusive. An
exclusive channel always takes a channel resource (when
accouting interface combinations and
num_different_channels). Exclusive channel could also be
called hopping but I thought the first one fits better as it
explicitly states code logic decisions.

I've also refactored and fixed interface combination
checking. There are now functions like
cfg80211_can_use_chan, cfg80211_can_use_iftype_chan.

Monitor channel is now always defined. When there are
only monitors running we set a channel (first we can find in
supported bands structures). This way the corner case
(of a monitor not having a channel and .get_channel
returning NULL) mentioned by Johannes is fixed.

This is based on wireless-next tree.


-- Pozdrawiam / Best regards, Michal Kazior.



^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2012-06-25  7:41 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20  6:14 [RFCv2] respect channels in iface combinations Michal Kazior
2012-06-20  6:14 ` [RFCv2 01/13] cfg80211: introduce cfg80211_stop_ap Michal Kazior
2012-06-20  6:14 ` [RFCv2 02/13] cfg80211: .stop_ap when interface is going down Michal Kazior
2012-06-20  6:14 ` [RFCv2 03/13] cfg80211: add channel tracking for AP and mesh Michal Kazior
2012-06-20  8:18   ` Johannes Berg
2012-06-20  9:03     ` Michal Kazior
2012-06-20  9:09       ` Johannes Berg
2012-06-20  6:14 ` [RFCv2 04/13] cfg80211: track ibss fixed channel Michal Kazior
2012-06-20  6:14 ` [RFCv2 05/13] cfg80211: introduce cfg80211_get_chan_state Michal Kazior
2012-06-20  8:19   ` Johannes Berg
2012-06-20  9:11     ` Michal Kazior
2012-06-20  9:13       ` Johannes Berg
2012-06-20  6:14 ` [RFCv2 06/13] cfg80211: track monitor interfaces count Michal Kazior
2012-06-21 14:55   ` Johannes Berg
2012-06-20  6:14 ` [RFCv2 07/13] mac80211: refactor virtual monitor code Michal Kazior
2012-06-20  6:14 ` [RFCv2 08/13] cfg80211: refuse to .set_monitor_channel when non-monitors are present Michal Kazior
2012-06-20  6:14 ` [RFCv2 09/13] cfg80211: track monitor channel Michal Kazior
2012-06-20  6:14 ` [RFCv2 10/13] cfg80211: set initial " Michal Kazior
2012-06-21 14:57   ` Johannes Berg
2012-06-25  6:57     ` Michal Kazior
2012-06-25  7:28       ` Johannes Berg
2012-06-25  7:40         ` Michal Kazior
2012-06-25  7:41           ` Johannes Berg
2012-06-20  6:14 ` [RFCv2 11/13] cfg80211/mac80211: remove .get_channel Michal Kazior
2012-06-20  6:14 ` [RFCv2 12/13] cfg80211: add channel checking for iface combinations Michal Kazior
2012-06-21 15:03   ` Johannes Berg
2012-06-25  7:00     ` Michal Kazior
2012-06-20  6:14 ` [RFCv2 13/13] cfg80211: respect iface combinations when starting operation Michal Kazior
2012-06-21 15:06   ` Johannes Berg
2012-06-25  7:05     ` Michal Kazior
2012-06-25  7:27       ` Johannes Berg
2012-06-20  8:23 ` [RFCv2] respect channels in iface combinations Johannes Berg

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).