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

Vinay Gannevaram quic_vganneva at quicinc.com
Wed Dec 10 04:42:47 PST 2025


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;

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



More information about the Hostap mailing list