Commit Graph

20489 Commits

Author SHA1 Message Date
Srinivas Girigowda
942d62301b qcacld-3.0: mac: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

CRs-Fixed: 2752355
Change-Id: I684c9688dda0421065f84d6775fb3417bb99ec0d
2020-08-22 16:00:30 -07:00
Srinivas Girigowda
f71adaf0e5 qcacld-3.0: sap: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

CRs-Fixed: 2752355
Change-Id: Ia9b814f028df9fabe661861d25dbf45deefd008d
2020-08-22 16:00:25 -07:00
Srinivas Girigowda
aeb9884553 qcacld-3.0: sme: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

CRs-Fixed: 2752355
Change-Id: I5c537f3940825fa784f026a7e28adc75eeb99d09
2020-08-22 16:00:21 -07:00
Srinivas Girigowda
dab7e46dc8 qcacld-3.0: wma: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

CRs-Fixed: 2752355
Change-Id: Ifcae4ff3dd8b5303b65012f0bd96843d0ab0fde7
2020-08-22 16:00:16 -07:00
Srinivas Girigowda
40c4c9bff8 qcacld-3.0: os_if: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

CRs-Fixed: 2752355
Change-Id: Ib186841ca387ccc84584864286681c23e3b34756
2020-08-22 16:00:12 -07:00
Srinivas Girigowda
9e88a56a1c qcacld-3.0: hdd: Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF
Change %pM/QDF_MAC_ADDR_STR/ARRAY to QDF_MAC_ADDR_FMT/REF.

Change-Id: Id85d2c0b23df57a82c4a973722907fff75717dae
CRs-Fixed: 2752355
2020-08-22 16:00:08 -07:00
Ashish Kumar Dhanotiya
f3673912ba qcacld-3.0: Reduce log level for function call mapping dump
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
2020-08-22 16:00:04 -07:00
snandini
4776c729a8 Release 5.2.0.199K
Release 5.2.0.199K

Change-Id: I6a619480a9a1a89ce220329cc19a17214162752e
CRs-Fixed: 774533
2020-08-21 23:00:45 -07:00
Yu Tian
6001ff7264 qcacld-3.0: Add RX frame pending check for WoW
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
2020-08-21 23:00:45 -07:00
snandini
6e5116b1a0 Release 5.2.0.199J
Release 5.2.0.199J

Change-Id: I700c8471bf376074a8da708433151822e010bba9
CRs-Fixed: 774533
2020-08-21 20:58:44 -07:00
Jianmin Zhu
4ff5684501 qcacld-3.0: Enable OS_IF API to receive channel avoid cmd
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
2020-08-21 20:58:44 -07:00
snandini
78874ff7aa Release 5.2.0.199I
Release 5.2.0.199I

Change-Id: I00b2aca47ae80a132494fcbee4aec5f609ca82bd
CRs-Fixed: 774533
2020-08-21 14:47:58 -07:00
Manikandan Mohan
a439c17034 qcacld-3.0: Add support for PCIE gen switch
Add PLD layer functions to facilitate PCIE gen switch using
cnss platform driver APIs.

Change-Id: Ie1a3273fa8949131937f43d3551cb500a033d59d
CRs-fixed: 2744991
2020-08-21 14:47:57 -07:00
snandini
61e37a7fb1 Release 5.2.0.199H
Release 5.2.0.199H

Change-Id: I510a9ee04fbb0d0c3576992b9eefce86e678dc9d
CRs-Fixed: 774533
2020-08-21 11:42:15 -07:00
Wu Gao
29e2a9cec8 qcacld-3.0: Define DBR_MULTI_SRNG_ENABLE if platform isn't Moselle
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
2020-08-21 11:42:15 -07:00
snandini
6da04e2b88 Release 5.2.0.199G
Release 5.2.0.199G

Change-Id: I08547c9d1528ab153b610ca2163489eea95c7d1e
CRs-Fixed: 774533
2020-08-21 04:46:31 -07:00
Kiran Kumar Lokere
0044d8c41c qcacld-3.0: Add support for deauth retry for STA
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
2020-08-21 04:46:31 -07:00
Nirav Shah
c4036d58ad qcacld-3.0: Do not configure 6GHz band if 802.11ax not supported
Do not configure 6GHz band channels in wiphy if 802.11ax mode
not supported.

Change-Id: Iac05d5dd4751cef28d918a9f37ae32a1df6151a2
CRs-Fixed: 2748041
2020-08-21 04:46:27 -07:00
snandini
f253a064fc Release 5.2.0.199F
Release 5.2.0.199F

Change-Id: I4323573b1821dbc8698f5f4c9829b071a1c331b0
CRs-Fixed: 774533
2020-08-21 02:28:35 -07:00
Mohit Khanna
79d25ce510 qcacld-3.0: Send DISCONNECT event to IPA in roaming
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
2020-08-21 02:28:35 -07:00
Nisha Menon
f3a1250556 qcacld-3.0: Set IRQ affinity for CE IRQs to gold cores
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
2020-08-21 02:28:31 -07:00
snandini
7a17692f2b Release 5.2.0.199E
Release 5.2.0.199E

Change-Id: I11615c09146caa60b1c053843ed91000966ec14f
CRs-Fixed: 774533
2020-08-20 23:08:02 -07:00
Ashish Kumar Dhanotiya
28c271caa5 qcacld-3.0: Enable CONN_MGR_ADV_FEATURE by default
Add a change to enable CONN_MGR_ADV_FEATURE feature by default.

Change-Id: I72770eb9384e20fdb3f72991eb036aeea5148a08
CRs-Fixed: 2758659
2020-08-20 23:08:02 -07:00
Rakesh Pillai
98665d1bfa qcacld-3.0: Add history to track the adapter ops events
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
2020-08-20 23:07:58 -07:00
Rakesh Pillai
64b80de92f qcacld-3.0: Add high priority work to update netdev features
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
2020-08-20 23:07:54 -07:00
Manjunathappa Prakash
ef666adfcf qcacld-3.0: Add capability to disable checksum for legacy links
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
2020-08-20 23:07:50 -07:00
snandini
6146f6409d Release 5.2.0.199D
Release 5.2.0.199D

Change-Id: Ic435d33f30891de3c1bc0433d3afedde710b2726
CRs-Fixed: 774533
2020-08-20 15:42:08 -07:00
Abdul Muqtadeer Ahmed
ca927cfcd7 qcacld-3.0: Add INI param to enable/disable ILP HW block
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
2020-08-20 15:42:08 -07:00
hqu
f996a7c696 qcacld-3.0: Move rso related process to connection manager [PART 7]
Add new code to implement below functions for connection manager
roam part:
Filling below WMI cmd parameters related process:
WMI_ROAM_CONFIGURE_MAWC_CMDID
WMI_ROAM_BSS_LOAD_CONFIG_CMDID

Rename file wlan_cm_roam_public_srtuct.h name to
wlan_cm_roam_public_struct.h

Change-Id: I64d54bb78b71dadc49d119b9083658347cc4f807
CRs-Fixed: 2758130
2020-08-20 15:42:04 -07:00
snandini
2ec27b6169 Release 5.2.0.199C
Release 5.2.0.199C

Change-Id: I7499f2d2784ef7dc405fd19a771419974c8c32cb
CRs-Fixed: 774533
2020-08-20 10:07:17 -07:00
Alok Kumar
8504feaebf qcacld-3.0: Get vdev using API dp_vdev_get_ref_by_id
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
2020-08-20 10:07:17 -07:00
Yu Wang
26ce844a25 qcacld-3.0: skip sap context destroy if it's NULL
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
2020-08-20 10:07:11 -07:00
snandini
68a0b74791 Release 5.2.0.199B
Release 5.2.0.199B

Change-Id: I9ced9053efda06a9cf6d0e292bdf2c80f465e61f
CRs-Fixed: 774533
2020-08-18 20:14:43 -07:00
Yu Tian
d9280a5dc5 qcacld-3.0: Change feature flag name
Change feature flag name due to address alignment is
required from HW design perspective

Change-Id: Ia80b6371f50db144336aeaaf2db2ecdc77ac0380
CRs-Fixed: 2748507
2020-08-18 20:14:43 -07:00
snandini
296d7d532f Release 5.2.0.199A
Release 5.2.0.199A

Change-Id: Id6bdc42852a8ba555ff518d7508a49ed92f1a1fe
CRs-Fixed: 774533
2020-08-18 11:00:53 -07:00
gaurank kathpalia
9934f81008 qcacld-3.0: Ensure proper seg0 seg1 bandwidth values
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
2020-08-18 11:00:52 -07:00
snandini
56e7f5ce6a Release 5.2.0.199
Release 5.2.0.199

Change-Id: Id4251c79a0538e7e96a612e8f411b6ec96719254
CRs-Fixed: 774533
2020-08-18 05:44:20 -07:00
Jianmin Zhu
0c14affc10 qcacld-3.0: Enable scatter gather feature for Rome
Enable the scatter gather feature for Rome to improve
the TCP TX throughput.

Change-Id: I650b91e36b8ad1c730c9214c0e3613f32dd3ad76
CRs-Fixed: 2741133
2020-08-18 05:44:20 -07:00
snandini
3bfb441145 Release 5.2.0.198Z
Release 5.2.0.198Z

Change-Id: I8cd421dc6b0efe49733f406a0fd11f8f59e2ca76
CRs-Fixed: 774533
2020-08-17 22:02:23 -07:00
Kiran Kumar Lokere
e8b23d5cdd qcacld-3.0: Possible mem corruption while processing BCN RPT Req
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
2020-08-17 22:02:23 -07:00
snandini
4e2f534863 Release 5.2.0.198Y
Release 5.2.0.198Y

Change-Id: Ic1c451d8e03ad9f3cf539fb8d4b10bf96d535350
CRs-Fixed: 774533
2020-08-17 19:59:10 -07:00
Amar Singhal
f8517e79e7 qcacld-3.0: Replace dfs utils call
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
2020-08-17 19:59:10 -07:00
Lincoln Tran
747bc9c58f qcacld-3.0: Add function typedefs for roam callbacks
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
2020-08-17 19:59:06 -07:00
snandini
f5ce9636be Release 5.2.0.198X
Release 5.2.0.198X

Change-Id: I25783a40aee992569221b3de01d04f8c34f9e4ad
CRs-Fixed: 774533
2020-08-17 15:12:09 -07:00
Lincoln Tran
eb083f3346 qcacld-3.0: Add logic to check if channel is disabled
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
2020-08-17 15:12:09 -07:00
snandini
9ca991a4d9 Release 5.2.0.198W
Release 5.2.0.198W

Change-Id: I4f42a27169e3e4acb4665cc7b0c21ca60c1100ae
CRs-Fixed: 774533
2020-08-17 05:33:34 -07:00
Arun Kumar Khandavalli
13fafa90a0 qcacld-3.0: Enable the Hangevent for mainline
Enable hang event for the mainline targets.

Change-Id: I7249c2d89d8c87cf000670bf053f82429857f190
CRs-Fixed: 2743829
2020-08-17 05:33:33 -07:00
snandini
4e2a24c5fa Release 5.2.0.198V
Release 5.2.0.198V

Change-Id: Ic6fd42cc09d1380941f5a3f578d1581f09c007f0
CRs-Fixed: 774533
2020-08-17 01:14:03 -07:00
Wu Gao
1f1d0c9560 qcacld-3.0: Teardown TDLS link if TDLS disallows scan
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
2020-08-17 01:14:03 -07:00
Min Liu
57c9424490 qcacld-3.0: Add vendor command to get sta info
Add subcmd QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO and related attributes.

Change-Id: I2bd90d90666b95902dc0821d762adbc5c5e675c6
CRs-fixed: 2592863
2020-08-17 01:13:58 -07:00