qcacld-3.0: Add support for STA + monitor mode

In mission mode, add support for virtual add/del monitor
mode interface. In addition to STA vdev, create and maintain
a new vdev for monitor interface.

Change-Id: I91ea8e56976cce92f9b1ae308d4bd0fb30815366
CRs-Fixed: 2818499
This commit is contained in:
Amruta Kulkarni 2020-11-12 15:39:04 -08:00 • committed by snandini
commit fd9f26cb8e
13 changed files with 307 additions and 233 deletions

View file

@ -175,7 +175,7 @@ target_if_register_mgmt_data_offload_event(struct wlan_objmgr_psoc *psoc)
}
wmi_handle = get_wmi_unified_hdl_from_psoc(psoc);
if (ucfg_pkt_capture_get_mode(psoc) &&
if ((ucfg_pkt_capture_get_mode(psoc) != PACKET_CAPTURE_MODE_DISABLE) &&
wmi_service_enabled(wmi_handle,
wmi_service_packet_capture_support)) {
uint8_t status;