Commit Graph

1007 Commits

Author SHA1 Message Date
Denis Kenzior 8261dab46b ie: Add ie_tlv_encapsulate_wsc_payload 2015-09-10 22:30:43 -05:00
Denis Kenzior c2aa596dd4 ie: Tweak function signature 2015-09-10 22:29:58 -05:00
Denis Kenzior 9d79ce45e4 unit: Add build_probe_request unit test 2015-09-09 09:32:12 -05:00
Denis Kenzior c23b1e3bc0 wsc: Add wsc_build_probe_request utility 2015-09-09 09:31:52 -05:00
Denis Kenzior 0608443641 unit: Add WSC ProbeRequest parser test 2015-09-09 08:52:52 -05:00
Denis Kenzior 241e459ae7 wsc: Add wsc_parse_probe_request 2015-09-09 08:52:49 -05:00
Denis Kenzior ab33a22149 wsc: Handle ATTR_REQUESTED_DEVICE_TYPE 2015-09-09 08:52:49 -05:00
Denis Kenzior 3e927ea6c9 nlmon: Fix up bitwise logic
The flags in question contain multiple set bits.  So we should only
print the relevant details if all bits are set, not just one of the
bits.
2015-09-09 08:52:49 -05:00
Denis Kenzior a1c198ab11 wsc: extract ATTR_CONFIGURATION_ERROR 2015-09-08 21:09:04 -05:00
Denis Kenzior b0e306b407 wsc: Extract ATTR_ASSOCIATION_STATE 2015-09-08 21:07:17 -05:00
Denis Kenzior 9a3e78d1fc wsc: Add extractor for ATTR_REQUEST_TYPE 2015-09-08 20:45:52 -05:00
Denis Kenzior 913bf61447 nlmon: print NetworkKeyShareable, RequestToEnroll 2015-09-07 09:36:42 -05:00
Denis Kenzior 7cb5a83732 monitor: Print WSC WFA extended attributes
Introduced in Version 2.0 of the spec
2015-09-07 09:34:53 -05:00
Denis Kenzior 410d74f772 nlmon: Pretty print WSC_ATTR_CONFIGURATION_ERROR 2015-09-02 13:37:50 -05:00
Denis Kenzior 312ff46f88 nlmon: Pretty-print WSC_ATTR_ASSOCIATION_STATE 2015-09-01 17:19:42 -05:00
Denis Kenzior 0496a79eea nlmon: Print WSC_ATTR_REQUEST_TYPE 2015-09-01 17:10:41 -05:00
Denis Kenzior a6a26cfe7f nlmon: Print WSC frames in other IE elements
Trigger Scan Event, Trigger Scan Requests, etc.
2015-09-01 16:58:41 -05:00
Denis Kenzior add4458a32 nlmon: Print human-readable reason-code 2015-09-01 16:48:50 -05:00
Denis Kenzior 265994edac build: Add ell/uuid.[ch] 2015-08-31 21:32:12 -05:00
Marcel Holtmann fd4d58896e build: Add ell/tls-record.c 2015-08-25 18:36:32 +02:00
Marcel Holtmann 5e86d91697 build: Add ell/ringbuf.[ch] 2015-08-15 04:22:05 +02:00
Marcel Holtmann 64d70c816d build: Add ell/pem.[ch], ell/tls.[ch] and ell/tls-private.h 2015-08-11 04:59:16 +02:00
Marcel Holtmann 6371b5d48c build: Add ell/base64.[ch] and ell/cipher-private.h 2015-08-11 04:58:51 +02:00
Denis Kenzior f912e63df5 nlmon: decode RF_BANDS attributes 2015-07-24 21:23:29 -05:00
Denis Kenzior bbb892da26 nlmon: decode CONFIGURATION_METHODS attributes 2015-07-24 21:23:29 -05:00
Denis Kenzior 084e69dadb nlmon: decode DEVICE_NAME attributes 2015-07-24 21:23:29 -05:00
Denis Kenzior a07813dff1 nlmon: decode PRIMARY_DEVICE_TYPE attributes 2015-07-24 21:23:26 -05:00
Denis Kenzior 8cc4ee923a nlmon: decode SERIAL_NUMBER attributes 2015-07-24 17:09:23 -05:00
Denis Kenzior 47b995d119 nlmon: decode MODEL_NUMBER attributes 2015-07-24 17:07:51 -05:00
Denis Kenzior f22c931b93 nlmon: decode MODEL_NAME attributes 2015-07-24 17:06:10 -05:00
Denis Kenzior 7fe9a3cebe nlmon: decode MANUFACTURER attributes 2015-07-24 16:58:13 -05:00
Denis Kenzior c9c440be3c nlmon: decode UUID-E and UUID-R attributes 2015-07-24 16:41:00 -05:00
Denis Kenzior 6e6ae9fe32 nlmon: decode RESPONSE_TYPE attributes 2015-07-24 16:32:22 -05:00
Denis Kenzior 9682d561e7 nlmon: decode DEVICE_PASSWORD_ID attributes 2015-07-24 16:28:56 -05:00
Denis Kenzior 8760e56278 nlmon: decode WSC_STATE attributes 2015-07-24 16:19:08 -05:00
Denis Kenzior d9b2d8151a nlmon: Add basic WSC pretty-printing capability 2015-07-23 20:49:29 -05:00
Denis Kenzior 1dd59c05b0 unit: Add beacon frame unit test 2015-07-23 19:42:50 -05:00
Denis Kenzior 3eee3d47ee wsc: Add Beacon frame parser 2015-07-23 19:42:29 -05:00
Denis Kenzior 10db370b72 unit: Add checking of WFA-Ext attributes
AuthorizedMACs and Registrar Configuration Methods should be checked as
well.
2015-07-23 16:47:34 -05:00
Denis Kenzior 86252a98cc wsc: Parse additional attributes for ProbeResponse
Probe Response messages can contain additional attributes tucked away
into the WFA-Vendor specific attribute.  Parse these attributes while
making sure the order is as expected.
2015-07-23 16:47:34 -05:00
Denis Kenzior 2f5a62d85c wsc: Add additional comment 2015-07-23 16:47:34 -05:00
Denis Kenzior 01b5445e94 wsc: Add SelectedRegistrar attribute checking 2015-07-23 16:47:34 -05:00
Marcel Holtmann 07301eb74f wsc: Cast data pointer into char for UTF-8 validation 2015-07-19 18:44:40 +02:00
Marcel Holtmann 02c3645c69 unit: Remove two unused variables 2015-07-19 18:43:48 +02:00
Denis Kenzior 8a9062aff3 unit: Add unit test for ProbeResponse parser 2015-07-17 14:54:12 -05:00
Denis Kenzior fa9b0e721b wsc: Add initial parser for ProbeResponse messages 2015-07-17 14:53:48 -05:00
Denis Kenzior 2cc0be5482 wsc: Add initial set of extractor functions 2015-07-17 14:53:21 -05:00
Denis Kenzior cd465852b4 wsc: Add initial message parser framework 2015-07-17 14:52:46 -05:00
Denis Kenzior 89dd69e160 unit: Update to handle WFA Extension recursion 2015-07-15 14:44:52 -05:00
Denis Kenzior ad08dfad33 wsc: Add WFA extension iterator + recurse 2015-07-15 14:44:28 -05:00