| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Instead of getting this via hostapd.h, include it as the first
non-system header file in all source code files in the same way as
used in all other files.
|
| |
|
| |
|
|
|
|
|
| |
This avoids the need to include ../hostapd/wps_hostapd.h into the
driver wrappers.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This makes it clearer which files are including header from src/common.
Some of these cases should probably be cleaned up in the future not to
do that.
In addition, src/common/nl80211_copy.h and wireless_copy.h were moved
into src/drivers since they are only used by driver wrappers and do not
need to live in src/common.
|
|
|
|
|
|
| |
This avoids passing the raw scan results into the RSN code and by
doing so, removes the only dependency on src/drivers from the
src/rsn_supp code (or from any src subdirectory for that matter).
|
| |
|
|
|
|
| |
This removes the only src/crypto dependency from src/utils files.
|
|
|
|
| |
driver_nl80211.c does not use anything from this header file.
|
|
|
|
|
| |
It is simpler to just use the HT Capabilities IE payload structure
as-is.
|
| |
|
|
|
|
|
|
| |
Instead of using hardcoded maximum A-MPDU length of 64 kB and no
restrictions on minimum MPDU Start Spacing, use the correct values
reported by the driver.
|
| |
|
|
|
|
|
| |
No more warnings from Doxygen about missing documentation from
radius_client.[ch].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not actually used at all and it looks like the rules for
maintaining the old/new RADIUS configuration are not very clear in the
case the RADIUS client configuration did not change. Consequently, it
is better to just remove this for now and if similar functionality is
ever needed, redesign it to be easier to use without causing hard to
find issues with using freed memory.
Simpler approach to reconfiguring the RADIUS client would involve
just deinitializing the old context unconditionally and initializing
a new one whenever the configuration could have changed.
|
|
|
|
|
| |
This is not used at all inside RADIUS client and as such, it belongs
into hostapd configuration.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Need to provide the private driver context, not the wpa_supplicant
global context, in init2() call.
|
| |
|
|
|
|
|
|
| |
Use shared functions for converting Primary Device Type between binary
and string formats. In addition, use array of eight octets instead of a
specific structure with multiple fields to reduce code complexity.
|
|
|
|
|
|
| |
Mainly, this is including header files to get definitions for functions
which is good to verify that the parameters match. None of these are
issues that would have shown as incorrect behavior of the program.
|
|
|
|
|
|
| |
crypto_internal.c requires both aes-internal-enc.o and
aes-internal-dec.o, so make sure they get included in the build when
using internal crypto.
|
|
|
|
|
| |
This has now been replaced with get_scan_results2() in every
in-tree driver.
|
|
|
|
|
| |
These have been replaced with scan2 driver_ops that provides all
parameters in a single call.
|
|
|
|
|
|
| |
This gets rid of previously deprecated driver_ops handlers set_wpa,
set_drop_unencrypted, set_auth_alg, set_mode. The same functionality
can be achieved by using the init/deinit/associate handlers.
|
| |
|
|
|
|
|
|
|
| |
These driver wrappers should not be used anymore; WEXT should be used
instead. However, there may still be users stuck on older kernel versions
that may require driver specific wrappers, so the source code still
remains in the repository.
|
| |
|
|
|
|
|
|
| |
This moves the MTU definition into driver_hostap.c since it was really
meant to be specific to this driver. Since this was the last remaining
definition in hostapd_defs.h, remove that header file as unnecessary.
|
|
|
|
|
|
| |
This code was copied from driver_hostap.c where it is used with the
special wlan#ap interface. It was not supposed to be used to change
the MTU for a normal data interface.
|
|
|
|
|
| |
Clean up definitions to reduce need to include header files from the
hostapd directory into files under the src subdirectories.
|
|
|
|
|
| |
Even though this makes the hostapd version a bit larger, the code will
be easier to maintain with the reduced number of complex ifdef blacks.
|
|
|
|
|
|
| |
Clean up driver_nl80211.c by gettign rid of the last remaining WEXT use.
This requires that a recent mac80211 version is used to get full protection
in station mode via the authorized flag (IEEE 802.1X PAE).
|
|
|
|
|
|
| |
Clean up driver interface by merging hostapd and wpa_supplicant
specific set_beacon driver_ops into a single one. In addition,
merge set_beacon_int into to the same operation.
|
| |
|
|
|
|
|
|
| |
If initialization fails, we could potentially try to sendto() on -1
socket which would fail. No point in doing that, so just return early
from the function.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This removes many of the cases where moving to the WPS tab can be
undesired. It is really only useful if we are not currently connected
and there is an AP available that would likely be able to provide us
network connectivity with use of WPS (active PBC more or selected
registrar set).
|
|
|
|
|
|
| |
The current MinGW/w32api versions seem to provide all the needed CryptoAPI
functions, so the code for loading these dynamically from the DLL can be
removed.
|