|
The driver posted by Igor at the Armbian forum on 27 April 2016 - 06:25 PM
doesn't provide the MONITOR mode
It is also rather out dated.
root@orangepiplus:/lib/modules/3.4.111-sun8i/kernel/drivers/net/wireless/rtl8189es# modinfo 8189es.ko
filename: /lib/modules/3.4.111-sun8i/kernel/drivers/net/wireless/rtl8189es/8189es.ko
version: v4.3.10.1_13373.20150129
Probably this is the reason, that the CONFIG_WIFI_MONITOR = y was not present in the v4.3.10.1_13373.20150129
I have been able rebuilding conveniently the 8189es driver on the regular Armbian 5.05 from the '52ee6388111fbaf990ec60e93b086cafa6cc373a' commit
where the CONFIG_WIFI_MONITOR = y
The build went smoothly after replacing the platform_ARM_SUNnI_sdio.c in the driver's platform directory with the one from :
https://github.com/loboris/Orang ... rm_ARM_SUNnI_sdio.c
Then
root@orangepiplus:/usr/src/rtl8189ES_linux# make ARCH=arm KSRC=/usr/src/linux-headers-$(uname -r)
make ARCH=arm CROSS_COMPILE= -C /usr/src/linux-headers-3.4.110-sun8i M=/usr/src/rtl8189ES_linux modules
make[1]: Entering directory '/usr/src/linux-headers-3.4.110-sun8i'
CC [M] /usr/src/rtl8189ES_linux/core/rtw_cmd.o
...
CC [M] /usr/src/rtl8189ES_linux/hal/phydm/rtl8188e/hal8188erateadaptive.o
CC [M] /usr/src/rtl8189ES_linux/hal/phydm/rtl8188e/phydm_rtl8188e.o
CC [M] /usr/src/rtl8189ES_linux/platform/platform_ops.o
CC [M] /usr/src/rtl8189ES_linux/core/rtw_mp.o
CC [M] /usr/src/rtl8189ES_linux/core/rtw_mp_ioctl.o
LD [M] /usr/src/rtl8189ES_linux/8189es.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/rtl8189ES_linux/8189es.mod.o
LD [M] /usr/src/rtl8189ES_linux/8189es.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.4.110-sun8i'
root@orangepiplus:/usr/src/rtl8189ES_linux#
Looking at the info from :
root@orangepiplus:/usr/src/rtl8189ES_linux# lsmod 8189es.ko
Usage: lsmod
root@orangepiplus:/usr/src/rtl8189ES_linux# modinfo 8189es.ko
filename: /usr/src/rtl8189ES_linux/8189es.ko
version: v4.3.18.1_15373.20151005
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: 374911DC5AF9842313AEAA0
alias: sdio:c*v024Cd8179*
depends:
vermagic: 3.4.110-sun8i SMP preempt mod_unload modversions ARMv7 p2v8
This driver is more recent, than the one provided by Igor v4.3.10.1_13373.20150129
The magic version matches the kernel well now and the module loads without errors:
The regular module with the Armbian 5.05:
root@orangepiplus:/usr/src/rtl8189ES_linux# lsmod
Module Size Used by
8189es 896688 0
root@orangepiplus:/usr/src/rtl8189ES_linux# rmmod 8189es
Custom built module:
root@orangepiplus:/usr/src/rtl8189ES_linux# insmod 8189es.ko
root@orangepiplus:/usr/src/rtl8189ES_linux# lsmod
Module Size Used by
8189es 1212556 0
However, I am not sure that the MONITOR mode is available now with the new module.
Probably it would be necessary to reboot the system.
How to replace the regular module with the custom one, so that to load it on the system boot up and discover the MONITOR mode?
Any suggestions on that?
How the iperf could be used for testing the speed ? |
|