qualcomm_android_monitor_mode icon indicating copy to clipboard operation
qualcomm_android_monitor_mode copied to clipboard

injection Patch???

Open Thiviyan opened this issue 5 years ago • 8 comments
trafficstars

is there any way we can patch it and get the injection to work?

Thiviyan avatar Jul 01 '20 09:07 Thiviyan

The code is present in most CAF's, but propably disabled somewhere. Been looking a lot into it, but also found a phone with a working injection, so take it from there

kimocoder avatar Jul 01 '20 09:07 kimocoder

may i know which phone? or source code of the one which already has the injection enabled

Thiviyan avatar Jul 01 '20 10:07 Thiviyan

@kimocoder Is this the snippet from qcacld-2.0 that needs to be reworked for qcacld-3.0 injection?

https://gitlab.com/Codeaurora/platform_vendor_qcom-opensource_wlan_qcacld-2.0/commit/3d3ad7877d1b4d097b4302a4293a1cbb2478e7bf

ghost avatar Aug 26 '20 01:08 ghost

I have found a commit "qcacld-3.0: add support to inject disassoc frames" but can't find a patch on CAF

commit 222d174cddb3d357815839887edebbc8d974b402
Author: Kiran Kumar Lokere <[email protected]>
Date:   Wed Apr 15 19:29:21 2020 -0700

qcacld-3.0: Add support to inject disassoc frames

Add support to inject disassoc frames with user configured pmf
options.

Change-Id: I40df805f8d6ef62dab48477c26cb9b0fc6b17929
CRs-Fixed: 2665042

Narrowing Down a bit: origin/LE.UM.4.1.1_rb1.27 origin/wlan-cld3.driver.lnx.2.0

Geofferey avatar Sep 16 '20 07:09 Geofferey

https://gitlab.com/Codeaurora/platform_vendor_qcom-opensource_wlan_qcacld-2.0/-/commit/3ee8df49120b82529c3d8835d44ecd52094d1495

kimocoder avatar Sep 16 '20 07:09 kimocoder

These branches supposedly contain the commit I was talking about.

origin/LE.UM.4.1.1_rb1.27 origin/wlan-cld3.driver.lnx.2.0

Trying to track down that patch.

Geofferey avatar Sep 16 '20 07:09 Geofferey

These branches supposedly contain the commit I was talking about.

origin/LE.UM.4.1.1_rb1.27 origin/wlan-cld3.driver.lnx.2.0

Trying to track down that patch.

You mean this commit? https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0/commit/?id=222d174cddb3d357815839887edebbc8d974b402

I'm busy with making Nethunter Kernel for Samsung S20 FE which is based qcacld-3.0. It could be nice to have too packet injection :D

Svirusx avatar Dec 09 '20 12:12 Svirusx

Any news about this? I think that the easy way is just add qcacld-2.0 to the kernel. My phone is Poco X3 NFC (surya).

LionKing101 avatar Dec 11 '20 23:12 LionKing101