qcacld-3.0: Fix condition to forward beacon to packet capture interface
User can set following combination of configs in vendor command for packet capture mode: 1. PKT_CAPTURE_MGMT_CONNECT_NO_BEACON: to receive all mgmt frames but no beacons 2. PKT_CAPTURE_MGMT_CONNECT_NO_BEACON + PKT_CAPTURE_MGMT_CONNECT_BEACON + connected_beacon_interval : to receive all other mgmt frames and only connected SSID beacons at particular intervals 3. PKT_CAPTURE_MGMT_CONNECT_NO_BEACON + PKT_CAPTURE_MGMT_CONNECT_SCAN_BEACON: to receive all other mgmt frames and beacons only during scan. But with current condition connected SSID or scan beacons config will not be sent to FW as host checks for PKT_CAPTURE_MGMT_CONNECT_NO_BEACON config only. Also, on reception of any beacon, host checks for only PKT_CAPTURE_MGMT_CONNECT_NO_BEACON and if it is set, host drops the beacon which is wrong. So, enhance the conditions to send config to FW as well as remove the condition on reception of any beacon so that connected SSID or scan beacons are forwarded to packet capture interface when connected beacon interval config or PKT_CAPTURE_MGMT_CONNECT_BEACON or PKT_CAPTURE_MGMT_CONNECT_SCAN_BEACON is set by user in vendor command along with PKT_CAPTURE_MGMT_CONNECT_NO_BEACON config. Change-Id: I246b175f1c88ed45214527880ba14cdc17bf8206 CRs-Fixed: 3604708
Loading
Please register or sign in to comment