| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
radius_example needs the -lrt option to build with some glibc versions.
Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
|
|
|
|
|
|
|
|
| |
req_conn_capab and required_roaming_consortium parameters were not
written into the cred block when requesting wpa_supplicant to write the
configuration file.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
| |
This verifies the new cred modification events and GET_CRED.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
"GET_CRED <id> <field>" can now be used to fetch credential parameters
over the control interface. This does not allow passwords etc. private
material to be retrieved ("*" is returned for those if the value is set
regardless of the value). FAIL is returned if the requested parameter
has not been set. For cred parameters that can have multiple values,
newline separated list of values is returned.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Following events are now sent to ctrl_iface monitors to indicate if
credential blocks have been added, modified, or removed:
CRED-ADDED <id>
CRED-MODIFIED <id> <field>
CRED-REMOVE <id>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
| |
This makes sure that the build.sh script ends up rebuilding hwsim_test.
Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
|
|
|
|
|
|
|
| |
Allows user to disable LDPC coding.
This possibility is useful for testing purpose.
Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com>
|
|
|
|
|
|
|
| |
It is required to read IMSI from SIM if it has not already been done
when comparing HS 2.0 AP 3GPP information with the local credentials.
Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
|
|
|
|
|
|
|
|
| |
When an ANQP fetch is triggered and ANQP_3GPP_CELLULAR_NETWORK info is
required, initialize scard to be ready when comparing ANQP and
credentials.
Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
|
|
|
|
|
|
| |
CONFIG_PCSC is used instead of PCSC_FUNCS.
Signed-off-by: Jean Trivelly <jean.trivelly@intel.com>
|
|
|
|
|
|
|
|
|
| |
wpa_supplicant and wpa_cli had already moved to allowing up to 4096 byte
buffer size to be used for control interface commands. This was limited
by the line edit buffer in interactive mode. Increase that limit to
match the other buffers to avoid artificially truncating long commands.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
These can be used to generate certificates for developer testing of the
OSU protocol.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
|
| |
This is meant mainly for testing purposes and as a reference
implementation showing how OSU SPP server could be implemented. This is
not suitable for any real production use in its current form.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
|
|
|
| |
Do not report missing PBC overlap detection as an issue in this test
case since the sequence can miss the overlap due to per-SSID scan used
during group formation. In addition, increase AP beaconing frequency to
make it more likely for a Beacon frame to be seen during the optimized
scan.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
The PBC overlap state could remain for the next test case and result in
unexpected failure reports.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
pos == NULL in almost all of the error cases here, so print the full
parameter value instead of the current position.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
| |
The "< '0' && > '9'" part would not match any character.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
This increases hlr_auc_gw.c test coverage and allows the SQN updated to
be checked if desired.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
[VHT160-80PLUS80] was parsed twice with the second copy not really doing
anything useful.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
| |
ap_sta_deauthenticate() does not necessarily send a Deauthentication
frame to the STA. Use ap_sta_disconnect() to drop the association so
that the notification frame goes out.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
Invalid parameters to HS20_WNM_NOTIF, HS20_DEAUTH_REQ,
DISASSOC_IMMINENT, and ESS_DISASSOC.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
| |
"user" MACACL "password" style lines in the eap_user file can now be
used to configured user entries for RADIUS-based MAC ACL.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
|
| |
This adds some helper definitions and functions to allow cfg80211 to be
tested with raw nl80211 messages built in the test scripts. The first
test case shows a case where station disassociates instead of
deauthenticates (which is the wpa_supplicant behavior).
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
| |
These are similar to the previous cases, but with supported rate set
limited to allow the BSS membership selector to fit into that element
instead of Ext Supp Rates.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
| |
p2p_dev_addr was not NULL, so the all zeros case was printed as well.
Clean this up by printing p2p_dev_addr in debug prints only if it is a
real P2P Device Address.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
| |
The 5 GHz cases are not yet complete due to missing mac80211_hwsim
functionality. The current test cases allow the ACS operation to fail
for those cases.
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
| |
Print CAC time and CAC left time in control interface STATUS command.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
|
|
|
|
| |
Signed-off-by: Jouni Malinen <j@w1.fi>
|
|
|
|
|
|
|
|
|
|
| |
If a separate P2P group interface is used, PBC overlap during group
formation causes the group interface to be removed, which ends up with
the interface context becoming invalid. Fix this by scheduling a timeout
to process the PBC overlap and interface removal instead of removing the
interface directly before the connection operation has returned.
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
|
|
|
|
|
|
|
|
| |
This was forgotten from the per-network ocsp parameter addition. The new
parameter needs to be stored to the configuration file similarly to the
other EAP parameters.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
|
|
|
|
|
|
|
| |
If the interface was not added by hostapd, it could have been left up
when disabling the AP.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
|
|
|
|
|
|
|
|
|
|
| |
If a new connection is attempted while there is a pending sme-connection
radio work, cancel the pending radio work and continue with the new
connection attempt. This is preferable over rejecting the new work and
continuing with the pending one, as it is possible that the previous
work is no longer valid.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
|