[PATCH 2/2] ibss: add fixed freq ssid param

Nicolas Cavallari nicolas.cavallari at green-communications.fr
Mon Jan 19 14:27:46 EST 2015


On 19/01/2015 20:13, Dan Williams wrote:
> On Mon, 2015-01-19 at 16:50 +0100, Nicolas Cavallari wrote:
>> On 19/01/2015 15:45, Dan Williams wrote:
>>> On Mon, 2015-01-19 at 10:02 +0100, Janusz Dziedzic wrote:
>>>> diff --git a/src/drivers/driver.h b/src/drivers/driver.h
>>>> index b8a7c51..8e24d77 100644
>>>> --- a/src/drivers/driver.h
>>>> +++ b/src/drivers/driver.h
>>>> @@ -767,6 +767,13 @@ struct wpa_driver_associate_params {
>>>>  	int fixed_bssid;
>>>>  
>>>>  	/**
>>>> +	 * fixed_freq - fix control channel in IBSS mode
>>>> +	 * 1 = fix control channel
>>>> +	 * 0 = don't fix control channel
>>>> +	 */
>>>> +	int fixed_freq;
>>>
>>> Does this simply tell the kernel driver to never ever leave the
>>> specified channel, eg disabling BSS coalescing?
>>
>> It tells the kernel driver to not ever leave the specified channel,
>> but it will still coalesce BSS if they run on the same channel.
>>
>> Not to be confused with "fixed_bssid".
> 
> Ok, I guess I was hoping this could already be handled by the
> 'frequency' option, but I suppose without fixed_freq, passing
> 'frequency' just tells the kernel what channel to start on, and doesn't
> prevent coalescing to a different channel.  Right?

If fixed-freq and fixed-bssid are off, then the kernel scans first and
joins later.  The "frequency" option is only used when starting a new
network after the scan yielded nothing, otherwise it is ignored.


More information about the HostAP mailing list