Configure dtim_period dynamicly

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>