hostapd: Check for overlapping 20 MHz BSS before starting 20/40 MHz BSS
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 14 May 2014 07:41:44 +0000 (13:11 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 22:14:01 +0000 (01:14 +0300)
commitf41d55da023ab51b6197fb2c3d37afca141bdc9a
treea509f369cbdffa871ba3bd643fcc85dbf3de7a56
parent5516ed32c511aa36b8767fd499585478dc59afd3
hostapd: Check for overlapping 20 MHz BSS before starting 20/40 MHz BSS

Before starting a 20/40 MHz BSS on the 2.4 GHz band, a 40-MHz-capable HT
AP is required by the rules defined in IEEE Std 802.11-2012 10.15.5 to
examine the channels of the current operational regulatory domain to
determine whether the operation of a 20/40 MHz BSS might unfairly
interfere with the operation of existing 20 MHz BSSs. The AP (or some of
its associated HT STAs) is required to scan all of the channels of the
current regulatory domain in order to ascertain the operating channels
of any existing 20 MHz BSSs and 20/40 MHz BSSs. (IEEE 802.11-2012 S.5.2
Establishing a 20/40 MHz BSS).

Add the check for an overlapping 20 MHz BSS to the initial AP scan for
the P == OT_i case in 10.15.3.2.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
src/ap/hw_features.c