]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config.c
Add address masks to BSSID lists
authorStefan Tomanek <stefan.tomanek@wertarbyte.de>
Mon, 5 Jan 2015 20:10:16 +0000 (21:10 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 10 Jan 2015 15:35:53 +0000 (17:35 +0200)
commit79cd993a623e101952b81fa6a29c674cd858504f
treef1ff8efd459085ee332c411b8f87eb48bda96a4e
parentb83e455451a875ba233b3b8ac29aff8b62f064f2
Add address masks to BSSID lists

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This change expands the data structures used by MAC lists to include a
mask indicating the significant (non-masked) portions of an address and
extends the list parser to recognize mask suffixes.

Signed-off-by: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
src/utils/common.c
src/utils/common.h
wpa_supplicant/config.c
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant.conf