Age | Commit message (Collapse) | Author | Files | Lines |
|
Some really icky stuff going on here, so only use the internal supplicant
build for development or testing. Probably doesn't play well with
distro packaging.
|
|
|
|
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
|
|
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
For ListItems in the subscribersList, the 'pData' field is used to hold the
value of the subscriber ID, instead of storing a pointer. Iterator_GetNext()
can not read subscriber IDs directly into an L5_TARGET_ID since this may not
be as large as the size of 'pData'. With this change, the subscriber ID is
first read into a pointer, whose value is later copied into a L5_TARGET_ID.
Signed-off-by: David Ward <david.ward@ll.mit.edu>
|
|
Cuts the chatter in the compile log.
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Add a test to avoid calling memcpy with identical source and destination
addresses, which has undefined behavior and causes Valgrind to report an
error.
Signed-off-by: David Ward <david.ward@ll.mit.edu>
|
|
Reported-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Add byte swap calls where needed.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
Add byte swap calls where needed.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
The variable holding L3_L4_OPCODE_* value undergoes various typecasting
changes as it moves along the call stack. The end result, on big-endian
machines, is that the variable holding the opcode (indication_id) will
always equal 0. Changing the typedef from UINT16 to UINT32 resolves
this problem.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
Commented out dummyCompilerHappy[3] from wmx_SystemStateUpdate. This
change resolved alignment problems on ARM XSCALE (big-endian) processor.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
Update the size of wmx_Preambles_t to be a power of 2. This change
resolved alignment problems on ARM XSCALE (big-endian) processor.
The PREAMBLES_LENGTH define, used extensively throughout the code, was
not altered.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
Add byte swap calls where needed.
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
|
Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
|
|
Instead of hard-coding a script that unconditionally runs something,
allow an alternate script to be given. This can allow connection
managers that handle the IP details themselves to better integrate
with the wimax daemon.
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Good day, Inaky. This is patch for wimaxd that allow connect to wimax
network Yota from Carrick (part of connmand).
in InfraStack/OSAgnostic/WiMax/Wrappers/CommonAPI/wimaxapi.c in
function CmdConnectToNetwork() call to OSAL_wcscmp() with
nspName="Yota" and nspsEx[0].NSPName="Yota" returns -1246756864
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
The eap_methods array has to be EAP_VENDOR_IETF:EAP_TYPE_NONE
terminated, thus it has to be one slot bigger than 2. As well, the
proper pointer wasn't set to eap_ctx.eap_config.eap_methods. All
fixed.
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Fourth argument was being pass with wrong typing (and luckily it is
not really being used, so it wasn't pulling garbage). Fixed by
creating a null 'struct eap_config' that is passed to
eap_peer_sm_init().
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Array size declaration for 'cmd_args' was of the wrong size, thus
throwing a warning.
Reported-by: Andrey Kononov <kononov@zarya-k.ru>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
|
|
This typedef is already in eap_peer/util/common.h, no need to declare
it one more time.
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
|
|
Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Fix pthread_mutex_unlock duplicate call in OSALTrace(), i.e. second
pthread_mutex_unlock() called against already unlocked mutex. glibc
tolerant to this inconsistency, but uClibc not.
Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
cleanup: fix struct packing and type casting issues
Signed-off-by: Paul Donohue <wimax@PaulSD.com>
|
|
Correct assorted 64-bit issues.
Signed-off-by: Paul Donohue <wimax@PaulSD.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
- Adapt the TLS functions to use 'struct wpabuf':
- pass proper eap_config context
- initialize methods
- clean up noisy code
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Replace with static inline function macros or just remove the unused
ones. Dirty, but cleaner than what it was.
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
wmxSDK_Nds_Cmn.h:wmxConnectProgressInfoName
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Wiped all the crazy indirection to gain typing checks from the C
library. Still untested.
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
wmxSDK_Nds_Cmn.h:wmx_StateReason_tStr
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
They are useless in GCC anyway.
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
|
|
THis only applies to libeap0 > 0.7
|
|
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
|