Commit Graph

19 Commits

Author SHA1 Message Date
Amit Khatri 0f3d4b504d tests: Run make clean for hwsim_test before rebuilding it
This makes sure that the build.sh script ends up rebuilding hwsim_test.

Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
2014-04-01 11:22:51 +03:00
Jouni Malinen 24dbd2813c hwsim_test: Allow TOS/DSCP field to be set from command line
This makes it easier to test how Data frames are mapped to different
ACs.

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-12-24 14:31:52 +02:00
Jouni Malinen 991e31cd66 hwsim_test: Use a valid IPv4 header in the test frame
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-12-24 14:18:14 +02:00
Jouni Malinen eaca46532f hwsim_test: Use unsigned bit variables
Signed-hostap: Jouni Malinen <j@w1.fi>
2013-12-24 13:42:26 +02:00
Jouni Malinen e22d4d957b Remove the GPL notification from files contributed by Atheros
Remove the GPL notification text from files that were initially
contributed by Atheros Communications or Qualcomm Atheros.

Signed-hostap: Jouni Malinen <j@w1.fi>
2012-02-11 19:39:36 +02:00
Jouni Malinen 266e2ee3cf mac80211_hwsim: Remove forgotten files
These live in the Linux kernel tree with mac80211_hwsim.c that was
already removed from hostap.git. The notes and example configuration
files are in Documentation/networking/mac80211_hwsim directory, so
remove the unnecessarily duplicated files from hostap.git.

Signed-hostap: Jouni Malinen <j@w1.fi>
2011-10-29 19:26:07 +03:00
Jouni Malinen 8bdedb579a hwsim_test: Fix silly bug in select() result processing 2011-10-23 22:14:04 +03:00
Johannes Berg 2c1df9bd90 Remove mac80211_hwsim code
The hwsim code here can only compile with a very specific kernel
version, but is shipped with current kernels so you just need to enable
it in your kernel instead.
2009-07-28 14:34:23 +03:00
Jouni Malinen 9e8cda5a46 hwsim_test: Tool for testing data connectivity with mac80211_hwsim
This program can be used to verify that both unicast and broadcast
data frames can be transmitted successfully through mac80211_hwsim
interfaces.
2009-05-07 17:59:53 +03:00
Jouni Malinen b3f240bc0e Added a place for example mac80211_hwsim test cases
The tests directory and its subdirectories contain a set of configuration
files that can be used to exercise various mac80211, hostapd, and
wpa_supplicant features. The test.txt file in each test directory describes
the particular test and includes the commands needed to run the test.
2008-08-28 18:53:47 +03:00
Jouni Malinen f598194e7a Removed forgotten todo entry 2008-06-10 20:57:32 +03:00
Jouni Malinen 1ef83fae63 Added support for AP mode Beacon transmission 2008-06-10 20:46:12 +03:00
Jouni Malinen 561c0c4c3e Set ACK flag properly for txstatus 2008-06-10 19:44:26 +03:00
Jouni Malinen 2b5ac52ee0 Use _irqsafe versions of ieee80211 rx and tx_status functions 2008-06-10 19:28:39 +03:00
Jouni Malinen badba00bd4 Added start/stop handlers and do not send frames to stopped radios 2008-06-10 19:27:00 +03:00
Jouni Malinen a218a713b8 Added a comment about hwsim# 2008-06-10 18:10:40 +03:00
Jouni Malinen 1f9afa67e3 Added global monitor interface (hwsim#)
This new netdev is created by hwsim, not mac80211, and as such, it is
available all the time (i.e., can be UP before starting mac80211 netdevs)
and it will receive all frames regardless of the channel etc.
2008-06-10 17:11:58 +03:00
Jouni Malinen a837861751 Fixed tx() handler to use GFP_ATOMIC. 2008-06-10 15:49:06 +03:00
Jouni Malinen de08c7248d Added mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
mac80211_hwsim is a Linux kernel module that can be used to simulate
arbitrary number of IEEE 802.11 radios for mac80211 on a single
device. It can be used to test most of the mac80211 functionality and
user space tools (e.g., hostapd and wpa_supplicant) in a way that
matches very closely with the normal case of using real WLAN
hardware. From the mac80211 view point, mac80211_hwsim is yet another
hardware driver, i.e., no changes to mac80211 are needed to use this
testing tool.
2008-06-10 13:31:25 +03:00