Re: [PATCH] allow updating Time Advertisement

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

 



On Thu, Mar 07, 2019 at 03:47:06PM +0100, Zefir Kurtisi wrote:
> Once the Time Advertisement elements are set,
> subsequent calls of hostapd_eid_time_adv()
> won't update the WLAN_EID_TIME_ADVERTISEMENT
> data, causing the propagated time to remain
> at its initial value during the whole
> lifetime of the AP.

Which is by design and needed for correct functionality..

> This change allows updating the time whenever
> this function is called.

This would break the advertised time information. hostapd supports only
the option of UTC time at TSF timer 0, i.e., at the time the BSS was
started. If hostapd_update_time_adv() is called again during the
lifetime of the BSS, the advertised time would be changed to be the
current time at the time this call happened which would not be the time
at TSF 0.

If this change would be needed for some purpose,
hostapd_update_time_adv() would need to be modified to address the FIX
comment there regarding fetching the current TSF value and updating the
time stamp based on that information.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux