3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-05 11:39:24 +01:00
Commit Graph

519 Commits

Author SHA1 Message Date
Denis Kenzior
002290998e mpdu: Add x-ref in comments for struct definitions 2014-12-16 14:21:18 -06:00
Tomasz Bursztyka
805619fc9d core: Add the preliminary logic to parse 802.11 MPDUs
It currently focuses on parsing management frames, and specifically its
authentication and deauthentication frames.
2014-12-16 10:53:20 -06:00
Denis Kenzior
dd47f485af AUTHORS: Mention Ravi's contributions 2014-12-16 08:58:15 -06:00
Denis Kenzior
02b0f6e27a AUTHORS: Mention Tomasz's contributions 2014-12-16 08:58:05 -06:00
Ravi kumar Veeramally
deb80322ea monitor: Fix memory leak
Memory allocated l_timeout struct from l_timeout_create not being
freed.

==4184== HEAP SUMMARY:
==4184==     in use at exit: 32 bytes in 1 blocks
==4184==   total heap usage: 50 allocs, 49 frees, 39,902 bytes allocated
==4184==
==4184== 32 bytes in 1 blocks are definitely lost in loss record 1 of 1
==4184==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4184==    by 0x40706D: l_malloc (util.c:62)
==4184==    by 0x408D9A: l_timeout_create (timeout.c:117)
==4184==    by 0x40896A: signal_callback (signal.c:82)
==4184==    by 0x408692: l_main_run (main.c:346)
==4184==    by 0x402474: main (main.c:797)
==4184==
==4184== LEAK SUMMARY:
==4184==    definitely lost: 32 bytes in 1 blocks
==4184==    indirectly lost: 0 bytes in 0 blocks
==4184==      possibly lost: 0 bytes in 0 blocks
==4184==    still reachable: 0 bytes in 0 blocks
==4184==         suppressed: 0 bytes in 0 blocks
2014-12-16 08:56:57 -06:00
Denis Kenzior
44301601ed monitor: Various style cleanups 2014-12-15 16:19:29 -06:00
Patrik Flykt
214c89ba8b monitor: Print BSS load information 2014-12-15 16:14:31 -06:00
Patrik Flykt
4b8542e671 monitor: Print TPC Report information 2014-12-15 16:14:31 -06:00
Patrik Flykt
2f21cb47c4 monitor: Print TIM information 2014-12-15 16:14:30 -06:00
Patrik Flykt
ca77daafe3 monitor: Print ERP information 2014-12-15 16:14:30 -06:00
Patrik Flykt
afbf098774 monitor: Print Power constraint 2014-12-15 16:14:30 -06:00
Patrik Flykt
87b49f8071 monitor: Print DSSS parameter set 2014-12-15 16:14:30 -06:00
Denis Kenzior
e2cd88c1cd nlmon: Fix style 2014-12-12 10:59:48 -06:00
Patrik Flykt
f2745611f6 monitor: Print country/regulatory IEs 2014-12-12 10:58:25 -06:00
Patrik Flykt
ce93e1bf9c monitor: Print supported rates
Print out supported rates, both basic and extended IEs. A trailing
(B) after the rate indicates BSSBasicRateSet.
2014-12-12 10:55:22 -06:00
Patrik Flykt
fbdb88dda3 monitor: Create table for IE decoding
Create a table for IE decoding and modify vendor IE printing to use this
new implementation. Unconditionally print out hexdumps of the IEs in order
to be able to verify the decoded IEs and its byte representation.
2014-12-12 10:47:54 -06:00
Denis Kenzior
d2218e81c9 dbus: Fix style 2014-12-12 09:52:12 -06:00
Jukka Rissanen
c5b5d4502b dbus: Add helper to append a byte array
Needed when appending SSID into properties.
2014-12-12 09:51:55 -06:00
Denis Kenzior
67825723e7 TODO: Take ownership of the 4-way handshake task 2014-12-09 22:26:42 -06:00
Denis Kenzior
2f1d38ea8f TODO: Clarify SSID tasks 2014-12-09 22:25:53 -06:00
Denis Kenzior
be9f2f1865 TODO: Move this task into ell 2014-12-09 22:21:05 -06:00
Jukka Rissanen
1233ede400 TODO: Add more tasks to be done
Using the iwd mail thread called "IWD ideas/questions" 24.11.2014
and weekly IRC meeting as a base for these new items.
2014-12-09 22:13:59 -06:00
Tomasz Bursztyka
8936abf33b TODO: Split the management frames related task
Splitted into 3 tasks: decoding, encoding and logic handling.
2014-12-09 22:11:24 -06:00
Tomasz Bursztyka
752409174d TODO: Mark CMD_(NEW|DEL)_INTERFACE task as done
CMD_NEW_INTERFACE/CMD_DEL_INTERFACE event broadcasting has been fixed in
commit 8f894be2df9ad43d17763bc0201f7f303a91f091.
2014-12-05 09:38:45 -06:00
Tomasz Bursztyka
2a794401e7 TODO: Mark CMD_NEW_WIPHY/CMD_DEL_WIPHY task done
CMD_NEW_WIPHY/CMD_DEL_WIPHY event was added in 3.16 kernel. I fixed its
logic in commit a796dac9a6bedff6db99f57828c85c97071d3d1e.
2014-12-05 09:38:09 -06:00
Patrik Flykt
7a1d9259fa TODO: Set ownersip for monitor IE decoding 2014-11-14 22:37:52 -06:00
Patrik Flykt
892ce0a412 TODO: Mark HWSIM_CMD_GET_RADIO done
Update doc/features.txt with a short description of the feature.
2014-11-14 22:37:28 -06:00
Denis Kenzior
ff30bb86dd hwsim: Fixup minor style issues 2014-11-14 22:17:30 -06:00
Denis Kenzior
55ddc6f49e hwsim: Call list_callback_done in all cases 2014-11-14 22:14:31 -06:00
Patrik Flykt
f1a5dcf6f3 hwsim: Add support for HWSIM_CMD_GET_RADIO
Add a new option to the hwsim binary to fetch all or a given hwsim radio.
Print out radio information which is currently returned in the reply to
user space.

Add new hwsim attributes to the enum and tweak getopt to behave properly
with or without giving the radio id on the command line.
2014-11-14 22:06:06 -06:00
Patrik Flykt
c2a140382a hwsim: Exit hwsim if MAC80211_HWSIM vanishes
If the MAC80211_HWSIM netlink family disappears, exit hwsim. This can
happen already at startup, for example if MAC80211_HWSIM functionality is
not compiled in the kernel or respective module loaded.
2014-11-14 21:52:57 -06:00
Denis Kenzior
ab84f2dbe4 .gitignore: Add unit/test-crypto 2014-11-14 21:45:05 -06:00
Denis Kenzior
9e8654976d unit: Add unit/test-crypto test
And move the PSK generation from passphrase unit tests there
2014-11-14 21:41:59 -06:00
Denis Kenzior
d87d7d469f crypto: Add passphrase generation utility 2014-11-14 21:41:28 -06:00
Jukka Rissanen
d0cb0aedc6 wiphy: Check return value when appending attributes
Make sure to print some errors if attributes cannot be appended
to a message. It is dangerous to ignore the return code from
l_genl_msg_append_attr() because the kernel might act weirdly
if some attribute is missing.
2014-11-12 08:10:58 -06:00
Jukka Rissanen
fcda15c587 wiphy: Scheduled scan startup message was too short
The length needs to be at least 20 bytes so that the third
attribute fits in.
2014-11-12 08:09:25 -06:00
Denis Kenzior
ad86c91b38 wiphy: Fix memory leak
Whenever we find an existing BSS, we should free the old object since it
is being removed from the old_bss_list via l_queue_remove_if
2014-11-07 22:44:30 -06:00
Denis Kenzior
333b28bf3a main: Add --dbus-debug command line parameter 2014-11-07 22:44:30 -06:00
Denis Kenzior
4dc24025a4 dbus: Add enable_debug parameter to dbus_init 2014-11-07 22:44:30 -06:00
Denis Kenzior
9de7c92429 wiphy: Remove unneeded wiphy_set_ssid function 2014-11-07 22:44:27 -06:00
Denis Kenzior
ca5f5b2e2b main: Remove unneeded ssid command line argument 2014-11-07 21:37:09 -06:00
Jukka Rissanen
672be730c3 wiphy: Add scheduled scan support
Add rudimentary support for mac80211 scheduled scan feature.
This is done so that kernel support for task called "Bind
NL80211_CMD_START_SCHED_SCAN to netlink socket" from TODO
file can be tested. The current scan interval is set to 60
seconds which is probably too fast for the final version.
2014-11-07 20:42:11 -06:00
Jukka Rissanen
054125593d linux: Update nl80211.h file
The definitions for task "Bind NL80211_CMD_START_SCHED_SCAN to netlink
socket" are needed so the header file is updated.
2014-11-07 20:40:02 -06:00
Denis Kenzior
ca18b395e2 wiphy: Fix valgrind complaint
The network list must be destroyed before the BSS list as that is used
inside network_free
2014-11-05 08:29:33 -06:00
Denis Kenzior
84765ac4db wiphy: Add GetNetworks method 2014-11-03 15:37:08 -06:00
Denis Kenzior
e7bd2276de wiphy: Make const correct 2014-11-03 15:36:52 -06:00
Denis Kenzior
2f852d2954 wiphy: Add missing signals to introspection 2014-11-03 15:24:34 -06:00
Denis Kenzior
3cf47d4109 manager: Add missing signals to introspection 2014-11-03 15:24:12 -06:00
Jukka Rissanen
fc540ecd7f todo: Mark four hwsim related tasks done
Following tasks are done as relevant kernel patches are accepted into
linux kernel.

- Add support for returning HWSIM_ATTR_RADIO_ID from HWSIM_CMD_CREATE_RADIO
- Rename HWSIM_CMD_CREATE_RADIO into HWSIM_CMD_NEW_RADIO
- Rename HWSIM_CMD_DESTROY_RADIO into HWSIM_CMD_DEL_RADIO
- Provide multicast events for HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO
2014-11-03 13:21:26 -06:00
Jukka Rissanen
1154360354 TODO: Add ownership on NL80211_CMD_START_SCHED_SCAN task
Taking "Bind NL80211_CMD_START_SCHED_SCAN to netlink socket" task.
2014-11-01 21:33:15 -05:00