Hi
I'm doing a project, where I would like to run the QCA4010 in promiscuous mode and get the RSSI on the packages that I get in the callback function. In some forums they talk about the Radiotap header, but I can't seem to find anything in the chips API documentation about this. Someone asked about it in relation to the QCA4020 (https://developer.qualcomm.com/forum/qdn-forums/hardware/qca4020-qca4024...), but I can't see any solution on the question.
Doesn't the chip support this?
Is there a workaround to get this information?
I would actually like to do it in a dual-band setup, on the QCA4012, but my development board has the QCA4010. Am I wrong to assume that if I can get it to work on the QCA4010, then it will also work on the QCA4012?
I hope that someone can help me.
/Morten
Hi,
Could you share your code snippet?
I am evaluating using the demo code. From the sdk_shell demo code:
void swat_wmiconfig_promiscuous_test(A_BOOL promiscuousEn) {
qcom_promiscuous_enable(promiscuousEn);
qcom_set_promiscuous_rx_cb((QCOM_PROMISCUOUS_CB)swat_application_frame_cb);
}
void swat_application_frame_cb(A_UINT8 *pData, A_UINT16 length) {
// Do something with the frame
}
So you enable promiscuous mode and sets a callback function. However, pData only contain the frame data. What I need for my project is the RSSI of the received frame.
As shown in sdk_shell. Please try with swat_application_frame_cb_ext() function instead.
This is exactly what I need.
I have downloaded the release package named qca4010.tx_.2.2_qdn.zip from the QDN webpage on the QCA4010. I however cannot find anything about the qcom_set_promiscuous_rx_cb_ext(...) function in the header files.
Do I need a special package/version to get the _ext function?
You should contact to QC guy. This function has not been available in TX2.2 yet.
Thank you for your reply. I will try to reach out.
Do you know which software package/release I should ask for?