Initialize msdu_info before calling API to queue frames in HW. msdu_info
provides tid info which was going as random value to HW causing target
assert. Intialize it so that proper value is used.
Change-Id: I5028508f05b7b8ff2be123c21b3aed75adeb54d8
CRs-Fixed: 2076799
Ucast key was not being set for correct peer macaddr.
Changed key flags for bcast to include WLAN_CRYPTO_KEY_GROUP
and set keys for correct peer.
Change-Id: I6859dc837ee6678dc11f9aadbb2a6bc0d0e9885f
Regulatory spec changes(Regdomain_23).
Removed below country codes from the regulatory database.
* IRAN
* KOREA NORTH
* SYRIA
Change-Id: Ieedfe73d0b6c2192027038f63f6ca4369666cf2a
CRs-Fixed: 2074470
Rx MSDU count received in mpdu descriptor may be incorrect
sometimes due to HW issue. We should check msdu buffer address
in each Rx msdu buffer entry in RX msdu link descriptor.
Change-Id: I86af4797cfb79fad33977cf53d62a8d368dc3543
Add a misc list which stores HTT msgs & later frees them during rmmod.
This is required to prevent memory leaks during rmmod.
Change-Id: Iecc04ec38cfa1b459064da74dffa5bfeffdba956
CRs-Fixed: 2068058
Currently pktlog is available only for WIN. The pktlog APIs
return negative error code for MCL implementation since they
are not available, causing the regression.
CRs-Fixed: 2074614
Change-Id: I830181233fb6fe0d6299c42f2ccd27b6d894857f
Leave the duplicate logic in hif_napi.c until
more thorough cleanup can be done.
Also clean up the HELIUMPLUS macro dependency.
Change-Id: Idbfaacb3b74b358198691a288def07d454e17659
CRs-Fixed: 2051902
hif_exec_context extends hif_ext_groups to support napi and tasklet models.
Some of the rename and enahancements have been done to support merging of
the execution context management code between the CE and DP contexts, as
well as supporting irq affinity for both napi & tasklet contexts.
Change-Id: I82c8abf2e906f027ec80faf7353a7685536bb79b
CRs-Fixed: 2051902
warning: implicit conversion from enumeration type 'enum
qdf_dma_data_direction' to different enumeration type 'enum
dma_data_direction' [-Wenum-conversion]
Change-Id: I181a448c48e8975025e67c2fc5ef44d3022ff1a0
CRs-Fixed: 2055513
Populate tx params tlv that includes information related to power,
chainmask, bandwidth mask, preamble type, frame type etc to the mgmt
and offchan tx WMI fixed param
Currently, we send the command with TX params valid set to zero always
and hence target does not look for the TX param TLV. This change
implements API to populate TX params TLV that facilitates configuration
of parameters per TX frame be it data or management frame
If the TX params valid is set to false, target decides the values
to use for each of the mentioned TX parameters
Change-Id: I90a1b5e1c9bf0a54a907876ed3629c2d627b3c98
CRs-Fixed: 2070454
IP length is being calculated incorrectly for ipv6 packets during TSO.
Fix IP len to exclude IP header and include only the payload length
(TCP header + application payload).
Change-Id: I577e3da77e4cbfba0b76c0e5bce3700be2b70c19
CRs-Fixed: 2057055
There are several device operation modes that are not handled when
configuring wake events to firmware. Ensure all of the supported device
operation modes are mapped when configuring wake events to firmware.
Change-Id: I82042441bcc6810a4ef91a1a6996a758f7ef4736
CRs-Fixed: 2068814
Add CDP API to get security type for ucast and mcast from
peer handler. Add additional peer handler argument for raw mode
rx decap functions. The peer handler is needed in the raw mode
functions for getting the security type of the frame and process
it accordingly.
Change-Id: I8b4728e9eb0ff29849805bb461c81e4fc3accc81
When open sdio bus, "probed" will be checked and increased, but it's not
decreased in close sdio bus, so if driver goes through hdd_wlan_startup ->
hdd_wlan_stop_modules -> __hdd_open process, it will fail to open the sdio
bus and to bring up the interface.
The fix is to remove the static variable, since the check is trivial for
two reason:
1. driver control flow guarantee no re-enter;
2. if re-enter happen, it is no harm.
Change-Id: Ie701fb44732600440aa70ff28f62fe766d4271e7
CRs-Fixed: 2066582
The length of buffer used to send wmi roam scan filter cmd is not
properly calculated and thus the length is less than the actual data
to be copied.
Fix it by properly calculating the length of the buffer.
Change-Id: I6a3baa5ca5560d2d04f9bd41a709a37abc1b95a9
CRs-Fixed: 2072057
Split stats prints since they are truncated to 512 bytes due recent changes in
QDF_TRACE. Also flush REO queue descriptor cache after fetching stats to help
dumping from memory (for debugging).
Change-Id: Ie1d00766bd452d32cbc7085e95b66fb11bb9893c
TX management retries is configured by host through pdev param sent
to the target. Populate pdev param enum to support configuration
of management retries during TX
Change-Id: I3f8b976ef089a0455481923ce18147f167733b14
CRs-Fixed: 2073391
Management frames with RX RSSI lower than
user set value will be dropped.
CNSS-CODE-SCAN:: QUICLOST-196308:: Completed
Change-Id: I9af967703182513cb9a51ee96c0954b7d27eaacb
FW has moved to using v2 HTT_FW2WBM message format for Tx completions
Add corresponding change on Host.
Add missing code to free Tx descriptors for few HTT completion types
Also change the descriptor pool lock to spinlock_bh since transmit path
and completions typically run in tasklet/softirq context
Change-Id: I024d44243f95907f19086225f0f02a5cd64f4508
CRs-Fixed: 2068155
In worst case, different pdevs can be in different countries and
hence different reg-domains. Also there could be differences due
to front-haul and back-haul.
Change-Id: Ib9e998b5f7de4e42a1736d07e9e5602d8506e7b6
CRs-Fixed: 2048784
Increase the scan ageing timer value from 30 seconds
to 90 seconds for the initializer
SCAN_CACHE_AGING_TIME
Change-Id: I0131ab601de9c86b89449bddd721ac857862a5b5
CRs-Fixed: 2072461
Add Passphrase and Service Name to NDP initiator request and NDP
responder request.
Change-Id: I6a189747760a15393fcbac9dc382847fef789ab1
CRs-Fixed: 2072498
Setup & process the RXDMA_DST ring to handle error frames
from RXDMA block. Pro-active fix to handle the WAR for
the WBM stuck issue seen when sending RX_FLUSH command.
Change-Id: Ibf56062da2cd9b5d447f1d43bbae5944426d88c8
CRs-Fixed: 2059870
Current monitor mode implementation does not catch
initialization failures causing it to believe successful
monitor mode initialization.
Change-Id: I5c30ac22e3084871b86cf5e2f0627988ebbb7b5d
CRs-Fixed: 2071602
Enable RXDMA status, desc, buffer and destination rings to
support monitor mode. The change also provides fix to properly
map pdev_id to mac_id.
CRs-Fixed: 2071602
Change-Id: Ie9caaaa0021d5842eaf28a5532b3ab5512fe507f
Currently all mgmt, ctrl and data frames are not enabled
while requesting for the pkt_tlv configuration for the
monitor mode. Adding changes to enable these while sending
HTT ring configuration message.
Change-Id: Ifa23edb55562512e18bb2ee4c426fa0b5e45a577
CRs-Fixed: 2071602
Rename the 20/40 coex related flag WLAN_PEER_F_REQ_HT20 to
WLAN_PEER_F_REQ_20MHZ and WLAN_PEER_F_40_INTOLERANT to
WLAN_PEER_F_40MHZ_INTOLERANT in order to facilitate 802.11ax 20/40
coex changes. This is also in line with relevant clauses in the
standard.
Change-Id: I78ddc0ebcfe70c37283bf81522e6519fa052c50c
CRs-Fixed: 2040816