On Mon, Jan 15, 2024 at 05:08:40PM +0100, Dariusz Kopka wrote: > Hostapd reads the list of Rx Key Holders from hostapd.conf file. > However, for systems where topology changes dynamically, the update > of RxKHs list is required without reloading the whole configuration. > > Here we introduce a new source of RxKH definition with original syntax: > - rxkh_file - path to a file containing a list of RxKHs. > In addition two cli commands are added: > - get_rxkhs - returns the list of currently configured RxKHs > - reload_rxkhs - reloads RxKHs definition from a file > specified in `rxkh_file` > > This allows hostapd to properly distribute Rx keys even after topology > change (assuming rxkh_file is updated and reload_rxkhs command issued). > > Syntax of rxkh_file is the same as extraction of r0kh and r1kh options > from original hostapd.conf file. > > ``` > r0kh=ff:ff:ff:ff:ff:ff * 00112233445566778899aabbccddeeff > r0kh=ff:ff:ff:ff:ff:ff * 00112233445566778899aabbccddeeff > r1kh=00:00:00:00:00:00 00:00:00:00:00:00 00112233445566778899aabbccddeef > r1kh=00:00:00:00:00:00 00:00:00:00:00:00 00112233445566778899aabbccddeef > r1kh=00:00:00:00:00:00 00:00:00:00:00:00 00112233445566778899aabbccddeef > ``` Thanks, applied. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap