-
Notifications
You must be signed in to change notification settings - Fork 7
Whether monitor mode implemented on this driver? #2
Comments
I can confirm the bug. Running
As a rule, most vendor drivers do not support monitor mode, but there are mentions of it in the original source here. I'll have to do some digging. |
Confirmed monitor mode is not supported by this driver. Need to dig more into why and how hard it would be to get it working. It's probably also worth looking into the level of effort required to bake rtl88x2bu support into the mainline rtl8xxxu effort.
|
If you enable CONFIG_WIFI_MONITOR and rebuild the driver, things look promising:
However, while
|
Playing around with I'm out of time to dig into this today. If you feel like poking around with things further, I'd be interested to hear what you find. |
Hi cilynx, thanks for your effort to study this issue. I recompile the driver with CONFIG_WIFI_MONITOR flag set on, and with similar result you posted. Then one question go through my mind: Is switching a WiFi adapter to monitor mode a generic process, or it is vendor related? i.e. It depends on hardware design. If it is vendor related, then it may be harder to implement monitor mode by outsider without detail hardware information. However, if it is not hardware dependence (or fully dependence), a "stupid" way to tackle this issue is to study source code of another WiFi dongle driver with monitor mode implemented. I know C programming, but knowledge of Linux driver is very very thin, so I don't even have a starting point to learn a WiFi driver like this one. Could you point me a direction, or give me some hints? |
CONFIG_WIFI_MONITOR control the compiling option for program "os_dep/linux/ioctl_cfg80211.c", and affect the value "software_iftypes" of object "wiphy". Definition of "nl80211_iftype" is on lines 1719 - 1733 of this program file. |
As title, I would like to know whether this driver support monitor mode? I try to put Wsky 1200 into monitor mode by airmon-ng (from aircrack), but it hangs up the terminal shell.
The text was updated successfully, but these errors were encountered: