Store entire CS freq_params and not only freq

When CSA flow starts, store the entire struct hostapd_freq_params and
not only CS frequency as it was before. The additional freq_params are
required to advertise CS supplementary IEs such as secondary channel,
wide bandwidth CS, etc.

Signed-hostap: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
Andrei Otcheretianski 2013-12-15 10:47:41 +02:00 committed by Jouni Malinen
parent 13daed58c7
commit 8f4713c5c9
4 changed files with 8 additions and 6 deletions

View file

@ -334,7 +334,7 @@ struct hostapd_iface {
s8 lowest_nf;
/* channel switch parameters */
int cs_freq;
struct hostapd_freq_params cs_freq_params;
u8 cs_count;
int cs_block_tx;
unsigned int cs_c_off_beacon;