[RFC 26/56] NAN: Reject NDLs with overlapping time bitmaps

Andrei Otcheretianski andrei.otcheretianski at intel.com
Wed Dec 10 04:45:59 PST 2025



On 12/10/25 14:42, Vinay Gannevaram wrote:
> 
> On 12/7/2025 4:48 PM, Andrei Otcheretianski wrote:
>> @@ -1223,7 +1236,10 @@ bool nan_sched_covered_by_avail_entries(struct 
>> nan_data *nan,
>>                            &sched_entries,
>>                            sched, sched_len);
>> -    sched_bf = nan_sched_to_bf(nan, &sched_entries, &map_id);
>> +    sched_bf = nan_sched_to_bf(nan, &sched_entries, &map_id, &reason);
> 
> Here can we change it to return false;

Fixed. Thanks

> 
>> +    if (!sched_bf)
>> +        return -1;
>> +
>>       nan_flush_avail_entries(&sched_entries);
>>       avail_bf = nan_sched_bf_from_avail_and_chan(nan, avail_entries,
Andrei



More information about the Hostap mailing list