Search Linux Wireless

Re: [RFC 14/14] cfg80211: respect iface combinations when starting operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-05-28 at 13:19 +0200, Michal Kazior wrote:

> diff --git a/net/wireless/ibss.c b/net/wireless/ibss.c
> index 30f20fe..2583148 100644
> --- a/net/wireless/ibss.c
> +++ b/net/wireless/ibss.c
> @@ -115,6 +115,14 @@ int __cfg80211_join_ibss(struct cfg80211_registered_device *rdev,
>  #ifdef CONFIG_CFG80211_WEXT
>  	wdev->wext.ibss.channel = params->channel;
>  #endif
> +
> +	err = cfg80211_can_change_interface(rdev, wdev, wdev->iftype,
> +					    params->channel);

So here again we have the problem with IBSS -- that channel is not
guaranteed to be used.

I think we have to somehow take into account that IBSS cannot share
channel (channel context in mac80211, just the count here in the
combinations) unless its set to fixed channel (which isn't supported in
all devices)

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux