mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
qcacmn: Validate mac_id for txrx_stats
Add a sanity check to avoid sending a htt txrx_stats request with an invalid mac_id parameter to firmware. Change-Id: Iae980bbffdcf6759b6d467849c5ebc65628f17ba Crs-Fixed: 2438693
This commit is contained in:
parent
8a0228a1f3
commit
8d583a8695
2 changed files with 7 additions and 1 deletions
|
|
@ -58,6 +58,7 @@
|
|||
#define WLAN_CFG_PER_PDEV_RX_RING 0
|
||||
#define WLAN_CFG_PER_PDEV_LMAC_RING 0
|
||||
#define WLAN_LRO_ENABLE 0
|
||||
#define WLAN_CFG_MAC_PER_TARGET 2
|
||||
#ifdef IPA_OFFLOAD
|
||||
/* Size of TCL TX Ring */
|
||||
#define WLAN_CFG_TX_RING_SIZE 1024
|
||||
|
|
@ -98,7 +99,7 @@
|
|||
#define WLAN_CFG_PER_PDEV_RX_RING 0
|
||||
#define WLAN_CFG_PER_PDEV_LMAC_RING 1
|
||||
#define WLAN_LRO_ENABLE 0
|
||||
|
||||
#define WLAN_CFG_MAC_PER_TARGET 3
|
||||
/* Tx Descriptor and Tx Extension Descriptor pool sizes */
|
||||
#ifndef QCA_WIFI_QCA8074_VP
|
||||
#define WLAN_CFG_NUM_TX_DESC 0x320000
|
||||
|
|
|
|||
Loading…
Reference in a new issue