Hi,
First of all, thanks for the great work on adding frame injection support to qcacld-3.0!
I’m trying to enable monitor mode + packet injection on a Xiaomi SDM845 device (kernel version 4.9). I found the patch add-qcacld-3.0-injection-4.14.patch (commit 6138cbcb4103cbc1e9aa7b56389ece136cbafb6e). However, this patch is clearly written for kernel 4.14, and my kernel tree is based on 4.9.
When I try to apply it, several hunks fail due to API differences between 4.9 and 4.14, for example:
.get_channel callback in cfg80211_ops – not present in 4.9
- Extra parameter in
wlan_hdd_cfg80211_join_ibss call
- Missing
WMI_MGMT_TX_COMP_TYPE_MAX constant in WMI headers
struct del_bss_resp usage that doesn't match the 4.9 definitions
I’ve tried to manually adapt the patch, but there are many dependencies and I'm not confident I can get it stable.
Request: Could you please consider providing a version of the frame injection patch that works on kernel 4.9 (or specifically for SDM845 devices, e.g., Xiaomi sdm845 kernel tree)? Alternatively, any guidance on what needs to be changed to make the existing patch compatible would be greatly appreciated.
Device info:
What works:
- Monitor mode (partially)
- Frame reception in monitor mode
What doesn't work:
- Frame injection (no TX in monitor mode)
I’m happy to test any patches or provide more logs if needed.
Thank you for your time and effort!
Hi,
First of all, thanks for the great work on adding frame injection support to qcacld-3.0!
I’m trying to enable monitor mode + packet injection on a Xiaomi SDM845 device (kernel version 4.9). I found the patch
add-qcacld-3.0-injection-4.14.patch(commit 6138cbcb4103cbc1e9aa7b56389ece136cbafb6e). However, this patch is clearly written for kernel 4.14, and my kernel tree is based on 4.9.When I try to apply it, several hunks fail due to API differences between 4.9 and 4.14, for example:
.get_channelcallback incfg80211_ops– not present in 4.9wlan_hdd_cfg80211_join_ibsscallWMI_MGMT_TX_COMP_TYPE_MAXconstant in WMI headersstruct del_bss_respusage that doesn't match the 4.9 definitionsI’ve tried to manually adapt the patch, but there are many dependencies and I'm not confident I can get it stable.
Request: Could you please consider providing a version of the frame injection patch that works on kernel 4.9 (or specifically for SDM845 devices, e.g., Xiaomi sdm845 kernel tree)? Alternatively, any guidance on what needs to be changed to make the existing patch compatible would be greatly appreciated.
Device info:
What works:
What doesn't work:
I’m happy to test any patches or provide more logs if needed.
Thank you for your time and effort!