Currently for function call mapping dump, driver is using
info as log level, which results in log flooding on console.
To address above issue, reduce log level for function call
mapping dump from info to debug log level.
CRs-Fixed: 2755567
Change-Id: Ifd40823956dfa6cf65e66a20ee19efcfb1faaf5e
Sometimes frames are queued to dp_rx_thread wait queue
during WoW suspend in progress. At this time dp_rx_thread
is in SUSPEND state and these frames can't deliver to Linux
Stack, for ICMP case, if no other frames come to wake up
system, ICMP timeout will happen. Add a RX suspend check
in WoW to avoid suspend when frame comes before WMI_WOW_ENABLE
sends to FW
Change-Id: I3d37e6d6ce8f7f6edaf5f78bf5cef77bee6ed5c6
CRs-Fixed: 2755583
Enable AUTORFI-3223 LTE coex with remote telematics unit:
When Telematics unit (modem) is not located on the SOC as Wi-Fi chip,
the OEM's system can still get LTE channel info from the modem and
pass it to Wi-Fi driver from an OEM app. This request is to provide an
API from Wi-Fi layer to OEM's app to receive the LTE coex channels,
After wlan driver received this info, channel avoidance algorithm will
run and SAP will adjust Wi-FI channel accordingly.
Enable OS_IF API to receive channel avoid cmd from upper layer.
Use QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY to send channel avoid list
from app layer to wlan driver.
1. Need config unsafe channel list in regulatory modules, then notify
all registered modules: hdd/os_if and policy manager.
2. Use frequency instead of chan id in vendor cmd channel paramaeter.
Change-Id: I977634f35a32e21739f2627688483a07fed0b2f9
CRs-Fixed: 2750164
DBR_MULTI_SRNG_ENABLE is used to init DBR for both bands of DBS chip.
Some pltforms won't set CONFIG_CNSS_QCA6750 to n if chip isn't
Moselle. This change defines DBR_MULTI_SRNG_ENABLE if
CONFIG_CNSS_QCA6750 isn't equal to y.
Change-Id: I0cf726b542196c57d90cf38ec0db0f4ab38d3358
CRs-Fixed: 2759775
Add support to retry the deauth frame if the Tx is not success if
user configured the retry count.
Change-Id: Id128b4a70a276ee86270372ff7954e40bde8123c
CRs-Fixed: 2754305
Send STA_DISCONNECT event to IPA before sending STA_CONNECT in roaming
scenario. This is needed by IPA to cleanup in roaming scenario. Without
the event, IPA may not be able to setup routing tables in IPA hardware
properly.
Change-Id: I694736654a137718cd250c28d3c4681a1007ce9a
CRs-Fixed: 2739550
CE2 status ring full condition results in WMI req timeout
in host resulting in self recovery being triggered.
Set IRQ affinity of CE IRQs to gold cores for defconfig
builds only.
This is to alleviate the processing of all DP rings and
CE rings on CPU0 in defconfig builds. CE2 status ring will
be reaped fast enough to ensure host has enough credits from
FW to send out the WMI reqs to FW.
Change-Id: I17b85f75f106bf2dfd69c4885aaa742868e16eec
CRs-Fixed: 2746250
Add a history to track the adapter ops events. The
events currently recorded are the work post and the
work schedule.
Change-Id: I149cd81ac9f0a3d6dab79b133fd7324a18b5e541
CRs-Fixed: 2735636
In certain special scenarios, we need to update the
netdev features of a particular adapter eg: enabling or
disabling tso or hardware checksum incase of legacy clients.
Such an update of the netdev features is to be done only
after the connection, since the connection mode plays an
important role in identifying the features which are to be
updated.
The netdev features can be updated only while holding the
rtnl lock. Also taking into account that the protocol layer,
where we get the idea of the mode of connection, is under its
own locks, updating the netdev features while holding rtnl lock
can often lead to deadlock.
Hence to mitigate the above mentioned deadlock issue, we always
queue a high-priority work to update the netdev features for
every adapter. The need for high-priority work arises from the need
to maintain the roaming KPIs.
Change-Id: Ie9218b08931dea099c6194efa7434d888b849e8d
CRs-Fixed: 2735636
Due to latency concerns on GEN1 PCIe attach checksum offload and TSO
features cannot be enabled for 802.11A/B/G legacy mode connections.
So add INI option to dynamically disable/enable checksum offload and TSO
based on the connection type.
Use netdev_update_features kernel API to adjust the netdev features
dynamically for existing registered netdev.
change-id: I0e44cb1789516e1bcee619be3581d826f45f265b
CRs-Fixed: 2732090
ILP is a new hardware block which is used for PCIe powersave but
this can effect the throughput.
So to isolate the throughput issues, add ini param to
enable/disable this ILP hardware block using the ini configuration.
Change-Id: I19825af8598bbc2623542256e873367c2f3d29bd
CRs-Fixed: 2756587
To get the VDEV use API dp_vdev_get_ref_by_id instead of
dp_get_vdev_from_soc_vdev_id_wifi3.
Change-Id: I7d764df517baab0ab92f20e9b8ecaaedd3b44ecd
CRs-Fixed: 2753830
The sap context is NULL when sap adapter is not started, skip
context destroy for such case, to avoid error level output.
CRs-Fixed: 2749376
Change-Id: I190a3e75187be6b6d70f5a70c71c87e563cd3f15
Change feature flag name due to address alignment is
required from HW design perspective
Change-Id: Ia80b6371f50db144336aeaaf2db2ecdc77ac0380
CRs-Fixed: 2748507
Some APs advertise wrong seg0, seg1, and BW values
and the driver copies that info directly and sets it
to the FW, which can lead to a crash in HAL layers
due to the wrong configuration.
Fix is to ensure that only correct combination
allowed by regulatory can be passed onto the FW
in the vdev start command.
Change-Id: I452438f385d6f067812551071b2ea87b99b9eb01
CRs-Fixed: 2698732
The beacon report logic has the maximum 7 reports to include in
one measurement report frame. Update the no.of reports value
in the frame packing structure to pack 7 reports in one frame.
Change-Id: I92b33f024274765e0f8cf1386197a9dba05b4bab
CRs-Fixed: 2755806
Replace with dfs utils call utils_dfs_get_vdev_random_channel with
utils_dfs_get_vdev_random_channel_for_freq. We are replacing
channel numbers with frequency.
Change-Id: I0244512f83f45ef7974e39016832784b804286b7
CRs-Fixed: 2753219
Add function typedefs for csr_roam_synch_cb, pe_roam_synch_cb,
stop_roaming_cb, and csr_roam_pmkid_req_cb. Update all usage
of the callbacks to use the new typedef. This will prevent
possible CFI errors.
Change-Id: I9f5c6753098d83657ae66be4ed56a9a67b072bad
CRs-fixed: 2747058
Currently, when the country code changes, there is no logic
to restart the SAP on a new channel. Add a case to check if
the channel is not allowed, then calculate a new safe channel
and update the SAP restart reason.
Change-Id: I679ce6f72228b431530953a631c8c8afa4597187
CRs-fixed: 2718324
DUT doesn't teardown TDLS link if set gEnableTDLSScan = 0 just as
previous branch. This change will teaddown TDLS link if set
gEnableTDLSScan = 0 and disallow scan.
Change-Id: I287f3ec200c05ed6e7bc1d2887f659ab8ccc90fa
CRs-Fixed: 2749536