If same FISA flow frames goes into different REO2SW rings, this will
introduce unexpected FISA behavior result in different issue.
Add assert for DEF build to catch this issue early then easy to
debug further, for PERF build, stop FISA aggregation if REO2SW ring
mismatch happened.
Change-Id: I5320133a9b289fe63a727ac2a5cf4c7c19c19224
CRs-Fixed: 2785871
Firmware sends a new status code to indicate an already suspended
TWT session. Handle this error code and return
QCA_WLAN_VENDOR_TWT_STATUS_ALREADY_SUSPENDED to userspace.
CRs-Fixed: 2786986
Change-Id: I7111128c908c14058e5ed0ef94c2eabc778d38bb
When channel Switch is happening and north bound disconnect is
also initiated at same time before vdev restart response is
received, the disconnect command will be activated by serialization
module but the eWNI_SME_DEAUTH_REQ message to lim was deferred.
The deferred message queue at lim was not processed as there was
no wmi command response received.
So process the deferred messages after the gLimProcessDefdMsgs
is set to 1.
Change-Id: I8200407663857349ea2eef0924fe1c345fab8028
CRs-Fixed: 2789632
Remove SIR_HAL_HIDDEN_SSID_RESTART_RSP and
WMA_HIDDEN_SSID_RESTART_RSP as they aren't used
anywhere.
Change-Id: I89b70786cfc40ad7c781d3ad7e058edcaadfa127
CRs-Fixed: 2791880
The HAL msg type that were defined as macros are converted
to enum halmsgtype. This is done as it is difficult to parse
macros directly in any post processing script.
Since, driver maintains a global list of messages (qdf trace)
which different modules posts to each other. For processing
these list of messages in a common post processing script,
it is required to convert the macros to enum as enum are
easy to process in the script.
Change-Id: I3938ff02a54a2fca9e831ea1f8d9389e8b54df01
CRs-Fixed: 2719659
The ini gChannelBondingMode24GHz specifies
that should the driver go for 40Mhz BW
in case of 2.4ghz or not by doing channel
bonding. If disabled (value 0) then driver
is supposed not to pick up 40Mhz for 2.4ghz
channels.
Currently in ACS request if there are 2.4ghz
channels only or in other sceanrios such as
concurrency where other channels are stripped
out, there may become a case where only 2.4ghz
are left out in the freq list which comes from
hostapd, the BW is not updated accordingly and
the results for ACS may still give the BW as 40
in case of 2.4ghz channel selection.
Fix is to modify the BW according to the ini
if there are only 2.4ghz frequencies present
so that driver limits the same while informing
the best channel to the hostapd.
Change-Id: Ib49726bf5e4245a63a696e41fee1d12d9a7a7909
CRs-Fixed: 2789358
User sends wfa test configs to host using vendor command
QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION. Host parses the
vendor command and sends wfa test configs to FW using WMI command
i.e. WMI_WFA_CONFIG_CMDID
Change-Id: I5aa0bc8b0a0064828b48368e47d53a5ad5e7ff2f
CRs-Fixed: 2772013
Currently driver can handle only one radio stats event,
if the size of radio event exceeds more than the size which
can be accommodated in single WMI event in that case FW needs
to send multiple radio stats events.
Add support in host to process multiple radio stats events.
Change-Id: Id2c86f83458d92478fe8d48e1159e2d17c129f58
CRs-Fixed: 2771109
GRO queue more pkts is enabled in bus vote low, when
bus vote back to idle, these frames may not flushed to
stack, use force flush to reduce latency.
This change I22b5cf994fe02b7e3156a845ee13a5acbf791b22
added FISA flush too, however FISA currently is not handled
in concurrent context, which leads to access violations.
Change-Id: Ia682ec80a196fb913455c63bd165b0a5184b94b7
CRs-Fixed: 2786842
There is a race between regulatory callback from restart SAP and
user space deleting the SAP dev, which can result into access of a
free adapter.
To avoid the above issue the SAP dev should be held before it gets
delete and release after the operation on SAP dev gets complete.
Change-Id: Idf7fc2adeb74ac62d2a63d8bc3ae0b1a0568693c
CRs-Fixed: 2789448
Add cdp ops for IPA Tx buf SMMU-S1 unmapping and
call unmap from ipa_uc_ol_deinit if IPA uc_loaded,
also assert if mapping/unmapping failed.
Change-Id: I79f293fcf5d6f02e3a01d6c8ff829f4ca87e76e8
CRs-Fixed: 2788811
With kernel commit "2552d35 - PM: QoS: Rename things related to
the CPU latency QoS", the PM_QOS_CPU_DMA_LAT_DEFAULT_VALUE is
renamed to PM_QOS_CPU_LATENCY_DEFAULT_VALUE.
Update the same in the driver to resolve compilition issues due
to above kernel commit.
Change-Id: I522ebd2802397f6644fecb064971a6480dd9733b
CRs-Fixed: 2788971
Serialize psoc interface inactivity idle shutdown and restart via PLD
such that platform driver can serialize psoc idle shutdown and restart
to driver unload and SSR events to avoid any race conditions.
Change-Id: I177a60eaf83b1c81f08cab2dc8a6bc1497484809
CRs-Fixed: 2776866
In the FISA UDP aggregation path, flush may be initiated while trying to
add nbuf to end of the list. When flush happens, both head_skb and
last_skb will be set to NULL so make sure last_skb is valid before
adding nbuf to end of the list.
Change-Id: I473540a205c56f2fea3ffb82909cfec31c58a518
CRs-Fixed: 2783758
Currently request for pm_qos is defined under
WLAN_FEATURE_LL_MODE. Remove dependency between
two functionality.
Change-Id: I5aac06f28d3546ddfbb521ae20073bf8e05e550e
CRs-Fixed: 2789135
Use uint32 variable to populate he_mcs_12_13_supp from ini
he_mcs_12_13_support.
Previously, uint16 variable was used which was populating
he_mcs_12_13_supp_2g correctly but was disabling
he_mcs_12_13_supp_5g.
Change-Id: I28cd2060799a9f46f79860bdf9a3ede1574c9112
CRs-Fixed: 2789303
Add vdev id in RSO stop commands to make sure that command is sent
for proper vdev. Also add vdev id in all RSO commands logs
Change-Id: Iefa1e8ba177a64e141726ebaef15b250446a0af2
CRs-Fixed: 2789615
Correct the Wrong command structure used for cmd_params in
sme_add_dialog_cmd and sme_del_dialog_cmd.
CRs-Fixed: 2785748
Change-Id: Ief2344c61e40ab9b180ceafd02f97ad974f798e1
If 5G band disabled, all channels of 5G should be disabled, before SAP
switch to 2G channels, we need save original 5G channel, or when 5G
re-enable, can't restore back to original 5G channel.
Regression of change-Id: I679ce6f72228b431530953a631c8c8afa4597187.
Change-Id: Iabb932102c37cc7b9d4d97a2e22e781958ed906f
CRs-Fixed: 2789341
Use the new enum wlan_status_code for wlan status code and
remove enum mac_status_code.
Change-Id: If42cfdcf99d34ffa77be53382d02288ab8637c10
CRs-Fixed: 2789000
Enable more TX descriptors flag for QCA6750 target.
This helps to increase TX and completion descriptors size.
Change-Id: I038d5e376aec68741b172d963c9f96925b71d68a
CRs-Fixed: 2769769