HMWDS for legacy was broken during bring up of DBDC on Hawkeye
platform.
Add cmn_tx_ops to support add, delete and update of AST entries.
Change-Id: Ia2a465a1f5f3d304a35d02c33bff73c56bb010a3
CRs-Fixed: 2225830
"(" character should not appear in macro parameter list. Remove
this illegal character to avoid compiling error.
CRs-Fixed: 2239574
Change-Id: Ie50feb5dacda52edb0b1a4fcdfd516e909c7bda8
It is sometimes useful to reverse map an errno into a QDF_STATUS. For
this purpose, introduce qdf_status_from_os_return(), the logical inverse
operation of qdf_status_to_os_return().
Change-Id: I053f43867ef603c2654eca64fe76c7bd313e14e4
CRs-Fixed: 2242664
Pre-allocate the reduction_limit number of segments during
flex-mem-pool initialization.
Change-Id: I91581e04b94597ee4314ce8691b37a45066c5273
CRs-Fixed: 2241805
In P2P ROC and MGMT tx cases, it use kernel address as cookie and
provides to userspace. Which has security risk. Add QDF API for ID
allocation and map ID to pointer, provides ID to userspace instead
of kernel address.
Change-Id: I4e10109988391474722df5b251fab11a87c7992b
CRs-Fixed: 2237756
For legacy PCIe chip like Rome, FW will use register 'fw_indicator'
to indicate more info, when failure occurs.
Here to print its value for debug purpose.
CRs-Fixed: 2242094
Change-Id: I9037dc29091ec5d7571414bb9e135dfaaf0f6dd9
A global timer is created and freed by each module, if passed as
msg to mc queues, shouldn't be freed in scheduler_cleanup_queues,
or double free issue happens
For example, a timer in tLimTimers is freed in mac_stop->pe_stop
->lim_cleanup_mlm
Change-Id: I919b13f2570e3496a1de249fd90a88f3bfeaa131
CRs-Fixed: 2220514
In qdf_trace_hex_dump() API, linebuf array is not initialized where
it is used to print in the form of string in qdf_trace_msg() API,
this may cause information leak.
To address this issue, initialize the linebuf array to zero.
Change-Id: If2fe200eb16b28f7fff4413873c1d149716fb1a7
CRs-Fixed: 2232012
Macro P2P_EVENT_PROPOGATE_TIME contains a misspelling of PROPAGATE so
fix the misspelling in both places it occurs.
CRs-Fixed: 2238309
Change-Id: Ic5c4a31820f8b51a5117241c6c6fa01025f4ae84
Add sanity checks for pool id & index extracted
from the SW cookie field within buf_addr_info.
Change-Id: Icf21b94fa05f6f8887b8c7a17896348f25436dda
CRs-Fixed: 2220030
In case of invalid MIMO PS config in wmi cmd, wmi cmd
is not sent and we return. This leads to memory leak as wmi
net buf allocated is not freed before returning.
Fix the memory leak by freeing the wmi net buf in such case
before return.
Change-Id: I7f353f0b4d84a663801482a9c28296371bea3b89
CRs-fixed: 2230346
Changes to compile out fastpath feature cleanly and
also disable unused code when Fastpath is enabled.
Change-Id: If6dc9d5c4d4441d5edded582747c783a10f8c8d4
CRs-Fixed: 2226921
In VHT case, for some packets SGI value is 3, which
represent 3.2us value. Which is not applicable for VHT.
So if value 3 received from HW for SGI, than convert that
to default value, which is 0.4us.
Change-Id: I92716f8041f0db20b60dcd5e5d6681fa1bfa708f
The wlan_max_peer count in the object manager currently
includes the count of temporary peers and actual peers
created on the target, and this could be used to limit the
actual numbers of peers created.
The result is that, for a given number of
peers configured the object manager limits
counting temporary peer also and not actual peers alone.
Indicate the count of actual peers and temporary peers
separately, to appropriately limit actual peers created.
Change-Id: Ia1593d702949853ad26756f167988ec70279eb87
CRs-Fixed: 2228250
Mgmt cipher is not set when igtk key is set.
Set mgmt cipher for igtk set key in crypto params
and add mgmt cipher in RSN IE.
Change-Id: I9e18972b7dd614a3692c107e2d92ac2fc6110458
Crs-Fixed: 2239608
Fix possible OOB access while sending NAN msg to firmware, by checking
data len calculation against integer overflow and making sure data len
to be less than max wmi msg size.
Change-Id: I98f42b9924a1810282ae3bca031cd5a1e3dd4047
CRs-Fixed: 2205722