]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Use a struct for Probe Response generation in/out params
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 20 Nov 2023 23:51:31 +0000 (01:51 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Nov 2023 16:10:18 +0000 (18:10 +0200)
commit6b5e00a80e5fdb10ff6c1c928979f816d26f55fa
treeb690d761903b4318b09e70e14a53dac9d22a688c
parent3cd377eb54e7d835d72733999b58017f45daeb82
AP: Use a struct for Probe Response generation in/out params

This effectively moves setting the csa/ecsa/cca position to happen
only when a Probe Response template for offloading is generated.

One could probably avoid the global variable altogether, as the
value is immediately consumed into struct {csa,cca}_settings.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
src/ap/beacon.c