mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
de08c7248d
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.
13 lines
433 B
Makefile
13 lines
433 B
Makefile
# Determine path to the root directory of the Linux kernel source for the
|
|
# currently running kernel. Version can be hardcoded with environment variable:
|
|
# KVERS=2.6.25-foo make
|
|
# Kernel path can be overrided with KERNEL_PATH argument to make:
|
|
# make KERNEL_PATH=/usr/src/linux
|
|
KVERS ?= $(shell uname -r)
|
|
KERNEL_PATH ?= /lib/modules/$(KVERS)/build
|
|
|
|
hwsim:
|
|
$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD) modules
|
|
|
|
obj-m += mac80211_hwsim.o
|