]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Add Operating Class and Primary Channel in FD for non-PSC chan
authorSriram R <quic_srirrama@quicinc.com>
Mon, 22 Apr 2024 17:08:42 +0000 (22:38 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 23 Apr 2024 21:17:15 +0000 (00:17 +0300)
commitb9113105ad26e88bfa1431e24e6dd0d6d0741b33
treed892b00c03883ae2ec0f0d945a88e5080e745414
parent5929b4eb1d750058e2415d31c05b977154fb7c2d
FILS: Add Operating Class and Primary Channel in FD for non-PSC chan

If a non-PSC 6 GHz channel with bandwidth higher than 20 MHz is
configured, duplicate beacons/FD/UBPR will be transmitted in other 20
MHz channels of the current configured bandwidth to aid in faster scan.
In such cases the duplicate FD needs to carry the Operating Class and
Primary Channel subfields for non-AP STAs to identify the primary
non-PSC.

IEEE Std 802.11-2020, 9.6.7.36 (FILS Discovery frame format):
"The Operating Class subfield specifies the operating class of the
Primary Channel of the transmitting AP (see 9.4.1.36).

The Primary Channel subfield is set to the channel number of the primary
channel (see 11.15.2) if the FILS Discovery frame is transmitted as a
non-HT duplicate PPDU; otherwise, the subfield is not present."

Hence, add the Operating Class and Primary Channel subfields if the
current channel is non-PSC and the channel bandwidth is 40 MHz or
higher.

Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com>
src/ap/beacon.c