[RFC 17/56] NAN: Initial support for NDL state machine and operations

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



On 12/10/25 14:47, Vinay Gannevaram wrote:
> 
> On 12/7/2025 4:48 PM, Andrei Otcheretianski wrote:
>> +static int nan_ndl_parse_qos_attr(struct nan_data *nan,
>> +				  struct ieee80211_nan_qos *qos_attr,
>> +				  u16 qos_attr_len,
>> +				  u8 *min_slots, u16 *max_latency)
>> +{
>> +	*min_slots = qos_attr->min_slots;
> 
> Can you please fix this typo
> 
> s/qos_attr->min_slots/qos_attr->max_latency
> 
>> +	*max_latency = le_to_host16(qos_attr->min_slots);
>> +

Fixed. Thanks

>> +	wpa_printf(MSG_DEBUG, "NAN: QoS attr: min_slots=%u, max_latency=%u",
>> +		   *min_slots, *max_latency);
>> +	return 0;
>> +}
>> +
>>




More information about the Hostap mailing list