-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors (qcacld-3.0 driver) #251
Comments
hcxdumptool use WIRELESS EXTENSIONS to control the interface via ioctl() system calls. To get rid of it, I'm working on a version that will use NETLINK as an alternative to WIRELESS EXTENSIONS: To figure out if your interface support NETLINK instead of WIRELES EXTENSIONS, please unzip the attachment and run make (ignore the 2 warnings, because this is a bleeding test version). |
Here is the output with disabled wi-fi:
The output with enabled wi-fi:
|
I also ran this one:
|
Thanks. wlan0 = no monitor mode wifi-aware0 reported that it support WIRELESS EXTENSONS (but we know it will not support all EXTENSIONS) Please now run: You should see some information about RSN elements and that the channel is successfully changed. |
BTW: |
|
Thanks. I'm running out of ideas and I don't see a chance that hcxlabtool/hcxdumptool will work on this driver. |
Thanks a lot, @ZerBea! I think we can close this issue. |
No, please leave it open. hcxlabtool set monitor mode via NETLINK if the driver support NETLINK. Let's find out what happens if we set monitor mode via |
Let me think about it..... |
|
Thae atteeched version will not ry to set monitor mode vie NETLINK or WIRELESS EXTENSIONS: Please set monitor mode via |
Ok, that is the next big problem: It looks like raw packet sockets ore not supported by the driver. $ ./hcxlabtool -i wlan0 failed to open rx socket |
After using the new hcxlabtool_test I see the same output:
|
Ok, thanks. |
…r missing monitor mode or missing frame injection or missing both
Device: Android with qcacld-3.0 driver
Before running the tool, no operations were performed to change the mode of the internal wlan interface.
Initially, the necessary configs (CONFIG_CFG80211_WEXT=y and CONFIG_CFG80211_WEXT_EXPORT=y) were not included in the system kernel:
After including them in /proc/config.gz we have:
Therefore, suspicions fell on the adapter driver.
I looked at the information on the qcacld-3.0 driver and found this issue: aircrack-ng/aircrack-ng#2179
There was a discussion that the SIOCSIWMODE call was not implemented.
In file https://github.com/EssentialOpenSource/qcacld-3.0/blob/master/core/hdd/src/wlan_hdd_wext.c we can see:
What can you advise to do in this case?
The text was updated successfully, but these errors were encountered: