Jouni Malinen
6e3f4b89ea
P2P: Let the driver wrapper know if association is for P2P group
2010-09-09 07:17:17 -07:00
Jouni Malinen
8ccbe415ba
P2P: Add group notifications
2010-09-09 07:17:17 -07:00
Jouni Malinen
e44f8bf20a
P2P: Add P2P configuration and callbacks in hostapd code
2010-09-09 07:17:17 -07:00
Jouni Malinen
b22128efdc
P2P: Add initial version of P2P Module
2010-09-09 07:17:17 -07:00
Jouni Malinen
c2af2afb3b
P2P: Preparations for adding P2P IE into Beacon/Probe Response frames
2010-09-09 07:17:17 -07:00
Jouni Malinen
b305c684b8
P2P: Save a copy of P2P IE(s) data from (Re)Association Request
2010-09-09 07:17:17 -07:00
Jouni Malinen
fdadd5fe03
P2P: Do not register l2_packet on dedicated P2P device interface
2010-09-09 07:17:17 -07:00
Jouni Malinen
73e492693d
P2P: Add TODO note for Group Formation bit use in AP selection
2010-09-09 07:17:17 -07:00
Jouni Malinen
4c2c302893
P2P: Remove 802.11b rates from wpa_supplicant AP mode operations
...
TODO: do this only for P2P group interface
2010-09-09 07:17:17 -07:00
Jouni Malinen
4dac02455a
P2P: Use config block with disabled==2 to store persistent groups
2010-09-09 07:17:17 -07:00
Jouni Malinen
046b26a24e
nl80211: Add P2P operations
2010-09-09 07:17:17 -07:00
Jouni Malinen
2883205ec8
driver_test: Add functionality for allowing P2P testing
2010-09-09 07:17:17 -07:00
Jouni Malinen
75bde05d53
P2P: Add driver operations for P2P use
2010-09-09 07:17:16 -07:00
Jouni Malinen
2ff99b3c38
P2P: Do not save temporary networks
2010-09-09 07:17:16 -07:00
Jouni Malinen
b2c5a4a3df
P2P: Do not filter BSSes based on SSID during P2P Provisioning
...
TODO: Use group id from GO Neg instead(?)
2010-09-09 07:17:16 -07:00
Jouni Malinen
9fa243b295
P2P: Let WPS code know if it is used in a P2P group
2010-09-09 07:17:16 -07:00
Jouni Malinen
e3768e7c94
P2P: Add global configuration parameters for P2P
2010-09-09 07:17:16 -07:00
Jouni Malinen
2c5d725c65
P2P: Add dynamic network config block parameters for P2P
2010-09-09 07:17:16 -07:00
Jouni Malinen
62281bc690
P2P: Do no process Probe Request with P2P wildcard SSID in WPS
...
The Probe Request frames used in P2P Device Discovery should not be
processed by the WPS implementation.
2010-09-09 07:17:16 -07:00
Jouni Malinen
935a948f97
P2P: Enable use of WPS Requested Device Type without WPS 2.0
2010-09-09 07:17:16 -07:00
Jouni Malinen
63675def6e
P2P: Add Device Name into WPS IE in Probe Request frames
2010-09-09 07:17:16 -07:00
Jouni Malinen
91a9464528
Make IEEE 802.11 IE parser aware of P2P IE
...
This does not handle fragmented IEs and is only used to check quickly
whether the IE blob includes any P2P IE(s).
2010-09-09 07:17:16 -07:00
Jouni Malinen
dd6cc5a20c
P2P: Wi-Fi Direct frame format definitions
2010-09-09 07:17:16 -07:00
Jouni Malinen
611aea7d41
Allow ctrl_iface SET command to change global config parameters
2010-09-09 07:17:16 -07:00
Jouni Malinen
1d47214aa9
Add flag indicating which global configuration parameters have changed
2010-09-09 07:17:16 -07:00
Jouni Malinen
121adf9c2e
Move global configuration parser into config.c
...
This makes it easier to provide support for dynamic updates of the
global configuration parameters while wpa_supplicant is running.
2010-09-09 07:17:16 -07:00
Jouni Malinen
fdc9eeb175
WPS 2.0: Convert new attributes into WFA vendor extension
...
The WSC 2.0 specification moved to use another design for the new
attributes to avoid backwards compatibility issues with some
deployed implementations.
2010-09-09 06:07:49 -07:00
Jouni Malinen
ac4dcaf7bf
WPS 2.0: Fix strict mode validation of UPnP MAC Address format
...
This was supposed to only reject the message from WPS 2.0 ER, not from
WPS 1.0 ER.
2010-09-09 06:07:49 -07:00
Jouni Malinen
42f50264c0
WPS: Make fragment size configurable for EAP-WSC peer
...
"wpa_cli set wps_fragment_size <val>" can now be used to configure the
fragment size limit for EAP-WSC.
2010-09-09 06:07:49 -07:00
Jouni Malinen
ecece754db
WPS: Add more debug prints for authorized MACs operations
2010-09-09 06:07:49 -07:00
Jouni Malinen
498cdee0c7
WPS ER: Use PBC overlap detection
...
ER should follow same rules as internal Registrar in an AP for
session overlap detection.
2010-09-09 06:07:49 -07:00
Jouni Malinen
6a4477236e
WPS 2.0: Only reject Probe Request frames from WPS 2.0 devices
2010-09-09 06:07:49 -07:00
Jouni Malinen
e69b86b71d
WPS 2.0: By default, use strict validation reject only with WPS 2.0
2010-09-09 06:07:49 -07:00
Jouni Malinen
cae67937ca
WPS: Fix CONFIG_WPS_STRICT build option
...
This was not supposed to be depending on CONFIG_WPS_NFC.
2010-09-09 06:07:49 -07:00
Jouni Malinen
5fabd9fefb
WPS: Fix strict validation to mandate Network Index attribute
...
While this attribute is is now deprecated, it is still required
for backwards compatibility. Better check this if strict validation
is enabled.
2010-09-09 06:07:49 -07:00
Jouni Malinen
e6e25d37a3
WPS 2.0: Use strict validation of NewWLANEventMAC only with WPS 2.0
...
This avoids some testing issues with WPS 1.0 implementations while
maintaining strict validation for WPS 2.0 implementations.
2010-09-09 06:07:49 -07:00
Jouni Malinen
b68ccf4048
WPS ER: Do not use SetSelectedRegistrar when learning/configuring AP
2010-09-09 06:07:49 -07:00
Jouni Malinen
ad4741183f
WPS 2.0: Make sure PHY/VIRT flag gets set for PBC
2010-09-09 06:07:48 -07:00
Jouni Malinen
168f840169
WPS 2.0: Add strict validation of SetSelectedRegistrar attributes
2010-09-09 06:07:48 -07:00
Jouni Malinen
545ee4fd3d
WPS 2.0: Add wildcard AuthorizedMACs if Enrollee address is not known
2010-09-09 06:07:48 -07:00
Jouni Malinen
53587ec183
WPS 2.0: Make WSC 2.0 support to be build option (CONFIG_WPS2)
...
For now, the default build will only include WSC 1.0 support.
CONFIG_WPS2=y can be used to add support for WSC 2.0.
2010-09-09 06:07:48 -07:00
Jouni Malinen
c15a854aec
WPS 2.0: Add tool for testing protocol extensibility
...
This is disabled by default and can be enabled by defining
CONFIG_WPS_EXTENSIBILITY_TESTING.
2010-09-09 06:07:48 -07:00
Jouni Malinen
4a34969824
WPS: Add a test mechanism for adding an extra credential into M8
...
This can be used to build a test version of ER that adds an extra
Credential attribute into M8.
2010-09-09 06:07:48 -07:00
Jouni Malinen
54f489be45
WPS 2.0: Validate WPS attributes in management frames and WSC messages
...
If CONFIG_WPS_STRICT is set, validate WPS IE(s) in management frames and
reject the frames if any of the mandatory attributes is missing or if an
included attribute uses an invalid value. In addition, verify that all
mandatory attributes are included and have valid values in the WSC
messages.
2010-09-09 06:07:48 -07:00
Jouni Malinen
00ae50bc87
atheros: Use larger buffer for WSC IE changes
...
This resolves issues in updating Beacon/Probe Response frame IEs
in a case where the value may be long enough to get fragmented
into multiple IEs.
2010-09-09 06:07:48 -07:00
Jouni Malinen
ed1c1ebfb4
WPS 2.0: Ignore WEP Credentials as station Enrollee
...
Ignore Credential if it is for a WEP network. Reject the message if
no valid Credential is found.
2010-09-09 06:07:48 -07:00
Jouni Malinen
6be2d7f826
WPS 2.0: Enforce new security policy of received AP Settings
...
When receiving new AP Settings from ER, reject WEP configuration
and upgrade WPA-Personal/TKIP only to mixed mode (i.e., add
WPA2-Personal/CCMP).
2010-09-09 06:07:48 -07:00
Jouni Malinen
6b633b4da7
WPS 2.0: Fix Probe Request WPS IE building to be able to fragment data
...
If all the device information attributes use their maximum lengths,
a single WPS IE is not enough to fit in all the data and as such,
we must be able to fragment the data. In addition, the wpabuf needs
to be allocated larger to fit in maximum data.
2010-09-09 06:07:47 -07:00
Jouni Malinen
dcc4d8be75
WPS 2.0: Disable WPS workarounds if CONFIG_WPS_STRICT is defined
2010-09-09 06:07:47 -07:00
Jouni Malinen
5314d652d4
WPS 2.0: Modify empty-string workaround to meet 2.0 rules
...
Instead of using 0x00 as the extra character, use space (' ') to
avoid failing tests that verify that the variable length string
attributes are not null terminated. In addition, this workaround
can now be disabled by defining CONFIG_WPS_STRICT for the build.
This can be done by adding following line to .config:
CFLAGS += -DCONFIG_WPS_STRICT
However, it should be noted that such a build may not interoperate
with some deployed WPS 1.0 -based implementations and as such, is
mainly designed for testing.
2010-09-09 06:07:47 -07:00