qcacmn: Enable Monitor Mode for QCA6390

Support Monitor Mode for QCA6390 as RXDMA1 block is
now removed.
1. Monitor buffers are now received on rxdma_err_dst_ring
2. RXDMA1 monitor status ring is moved to RXDMA0 monitor
   status ring
3. Msdu link descriptors are now returned to WBM descriptor
   release ring.
4. Reap the Monitor buffers and return it to SW Refill ring.
5. Use the same rx descriptor pool for regular and monitor data.

Change-Id: If41e5d13f942da2b97e5aab72b88ae344925ba67
CRs-Fixed: 2297300
此提交包含在:
Venkata Sharath Chandra Manchala
2018-08-01 12:45:34 -07:00
提交者 nshrivas
父節點 cc8676b6a8
當前提交 8747958dff
共有 11 個檔案被更改,包括 541 行新增194 行删除

查看文件

@@ -26,6 +26,7 @@
#if defined(CONFIG_MCL)
#define MAX_PDEV_CNT 1
#define WLAN_CFG_INT_NUM_CONTEXTS 7
#define WLAN_CFG_RXDMA1_ENABLE 1
/*
* This mask defines how many transmit frames account for 1 NAPI work unit
* 0 means each tx completion is 1 unit
@@ -39,6 +40,7 @@
#else
#define MAX_PDEV_CNT 3
#define WLAN_CFG_INT_NUM_CONTEXTS 7
#define WLAN_CFG_RXDMA1_ENABLE 1
/*
* This mask defines how many transmit frames account for 1 NAPI work unit
* 0xFFFF means each 64K tx frame completions account for 1 unit of NAPI budget
@@ -198,12 +200,12 @@ struct wlan_cfg_dp_soc_ctxt {
int reo_exception_ring;
int reo_cmd_ring;
int reo_status_ring;
int rxdma_refill_ring;
int rxdma_err_dst_ring;
bool raw_mode_war;
bool enable_data_stall_detection;
bool disable_intra_bss_fwd;
bool rxdma1_enable;
};
/**