wpa_supplicant: Basic support for PBSS/PCP
authorLior David <qca_liord@qca.qualcomm.com>
Mon, 8 Feb 2016 10:30:04 +0000 (12:30 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Feb 2016 20:23:56 +0000 (22:23 +0200)
commitb907491281b06b4dee9e0d0326e23c67ce486eb5
tree91d050cd4f5cbefda1005eac5581690497bf912f
parent86b5c400a0fe2567e40119c31657076b87cd5f18
wpa_supplicant: Basic support for PBSS/PCP

PBSS (Personal Basic Service Set) is a new BSS type for DMG
networks. It is similar to infrastructure BSS, having an AP-like
entity called PCP (PBSS Control Point), but it has few differences.
PBSS support is mandatory for IEEE 802.11ad devices.

Add a new "pbss" argument to network block. The argument is used
in the following scenarios:
1. When network has mode=2 (AP), when pbss flag is set will start
as a PCP instead of an AP.
2. When network has mode=0 (station), when pbss flag is set will
connect to PCP instead of AP.

The function wpa_scan_res_match() was modified to match BSS according to
the pbss flag in the network block (wpa_ssid structure). When pbss flag
is set it will match only PCPs, and when it is clear it will match only
APs.

Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
13 files changed:
src/ap/ap_config.h
src/ap/beacon.c
wpa_supplicant/ap.c
wpa_supplicant/bss.h
wpa_supplicant/config.c
wpa_supplicant/config_file.c
wpa_supplicant/config_ssid.h
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_cli.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant.conf
wpa_supplicant/wps_supplicant.c