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
Logically deleted peers are used by umac for host/fw
synchronization. Any failure to return logically
deleted peers is catastrophic and will end up in random
behavior/fw assert.
This change makes below changes:
1. Release peer reference on malloc failure
2. Reset system if malloc fails
3. Move print log level to FATAL
Change-Id: I229f0e83a97b44b4436b4f9945265dcaf85901fd
CRs-Fixed: 2240560
FW, on receiving the bangradar command from host, suspends the
scheduler/tx-traffic and resumes only after the channel is switched.
For a bangradar in non-DFS channel, host does not send the channel
switch command. Hence, the tx_traffic are not resumed.
When the user issues a bangradar, forward it to FW only if the current
channel is a DFS channel.
Change-Id: Id1f969dd7654e540a1c637632122cf2c6b543123
CRs-Fixed: 2225953
Set pdev mask in the HTT Stats request based on
mac id number provided from the user.
Change-Id: Ie8f1208fd3598efd2ea3736719c8b444ef86881a
CRs-Fixed: 2237467
Use channel and vdev_id array while calling
policy_mgr_get_mode_specific_conn_info.
Change-Id: I64579e2b1af0eca47af5292d456367d059a461f5
CRs-Fixed: 2238386
Remove DA specific init APIs from common cp_stats and
change logic to not return callback status for psoc close
and disable to override devpool issue for DA arch
CRs-Fixed: 2224153
Change-Id: Ie5bfb7cb7773d3fc09237a9d14ec3611e78cc06f
Add support for cp stats component initialization
and deinitization, and invoke cp stats for psoc open,
close, enable and disable
CRs-Fixed: 2192386
Change-Id: I6295f86d3c9570815fe9648b3320e1d31d79bbef
Currently break statement is missing for some cases in
tdls_process_mgmt_req.
Add break statement as fallthrough is not required for
these cases.
Change-Id: I9ef290cdea8980f1b550cfebfb80ee81c5a694c0
CRs-Fixed: 2233184
Update qca_vendor.h with latest NDP vendor attribute definitions
and use those definitions in NAN component.
Change-Id: I43f0457690b1c4027adcd0abe4ef2ac2a8f9b068
CRs-Fixed: 2239047
The qca_wlan_vendor_ndp_policy for the attribute
QCA_WLAN_VENDOR_ATTR_NDP_CONFIG_QOS currently specifies type
NLA_BINARY with a maximum length of NDP_QOS_INFO_LEN (255). However
this attribute is defined to be an unsigned 32 bit value, and
nla_get_u32() is used to read the value, so change the policy to use
type NLA_U32 so that nla_parse() can properly verify that the TLV
payload has (at least) 4 bytes of data.
Change-Id: Iee5b620ef199b731fc6a449d0055db328430921b
CRs-Fixed: 2237660
Green AP incorrectly uses object manager ID for reference
counting, and it causes inconsistency in the system.
Create a unique reference count ID for green AP
and use it.
Change-Id: Ia7d9545e95add01d209b11f1b000e38bc1591a47
CRs-Fixed: 2220280
The qca_wlan_vendor_ndp_policy for the attribute
QCA_WLAN_VENDOR_ATTR_NDP_RESPONSE_CODE currently specifies type
NLA_U16. However this attribute is defined to be an unsigned 32 bit
value, and nla_get_u32() is used to read the value, so change the
policy to use type NLA_U32 so that nla_parse() can properly verify
that the TLV payload has (at least) 4 bytes of data.
Change-Id: I915a94e7449c2bc1abde64e2a7f5df6a58488ed6
CRs-Fixed: 2237659
The current qca_wlan_vendor_ndp_policy for attribute
QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR uses type NLA_BINARY.
Unfortunately this type uses the len as a maximum length and not a
minimum length which means that nla_parse() cannot guarantee that 6
bytes of MAC address are present. Change the policy to use type
NLA_UNSPEC so that nla_parse() will ensure that the NDP Discovery MAC
address TLV contains (at least) 6 bytes.
Change-Id: I2c7e1efdb413dbd2f79c36ed1626c006b86e8b5b
CRs-Fixed: 2237658