Gráfico de commits

20517 Commits

Autor SHA1 Mensagem Data
Liangwei Dong
cc9cbfc8de qcacld-3.0: Fix STA+SAP SCC on DFS when sta_sap_scc_on_dfs_chan = 0
When sta_sap_scc_on_dfs_chan = 0, SAP is not allowed to SCC
with STA on DFS channel. Check the SAP target channel DFS flag
considering the target channel bandwidth.

Change-Id: I321c1055574477fe39ca8569f24a4040c8dc1904
CRs-Fixed: 2756518
2020-08-24 03:58:57 -07:00
snandini
5a9a178921 Release 5.2.0.199S
Release 5.2.0.199S

Change-Id: I96db45ce799f85fc90ce7a59547ddd9abd64cc29
CRs-Fixed: 774533
2020-08-24 02:01:47 -07:00
Visweswara Tanuku
74cbb98bfd qcacld-3.0: Add support for twt session get_params
Parse vendor nl cmd twt_get_params, obtain the peer
twt sessions for given dialog id and send back to user
space via nl layer as a response

Change-Id: Ie4c6fc9b752f16e6eb1f873a3493b7d3d7f7d4a8
CRs-Fixed: 2744839
2020-08-24 02:01:47 -07:00
snandini
0565389213 Release 5.2.0.199R
Release 5.2.0.199R

Change-Id: Ice4747ca8442bae09a86f8ed7add34f810fc4a6d
CRs-Fixed: 774533
2020-08-23 23:09:12 -07:00
Gururaj Pandurangi
7146865de0 qcacld-3.0: Enable beaconing for non-dfs 160 MHz BW
Enable beaconing for 160 MHz BW when all the channels
are non-DFS. Addition of new 5.9 GHz channels 169, 173,
and 177 has created a new 160 MHz BW channel bonding
pair (149-177) and beacons can be sent out from SAP
for this pair.

Change-Id: Ic2d85927fe75525839a1ccadbfae89efa37431d3
CRs-Fixed: 2751114
2020-08-23 23:09:12 -07:00
CNSS_WLAN Service
8859f6a94e Merge "qcacld-3.0: correct print format for size_t" into wlan-cld3.driver.lnx.2.0 2020-08-23 20:06:30 -07:00
snandini
db97e1acc1 Release 5.2.0.199Q
Release 5.2.0.199Q

Change-Id: Idfc94b78365722f9827eeb7b75848c23ca90e5c0
CRs-Fixed: 774533
2020-08-23 17:37:42 -07:00
Bapiraju Alla
abe0a18003 qcacld-3.0: Update channel Tx and Rx time to user space
Add support to update per channel Tx and Rx time to the userspace.

Change-Id: I87758fe5fe9b7d05992ca06f4e3310c43c70eb00
CRs-Fixed: 2757209
2020-08-23 17:37:41 -07:00
Bapiraju Alla
fa408b37c1 qcacld-3.0: Add support for tx_time and rx_time in wifi_channel_stats
Currently wifi_channel_stats has cca_busy_time statistic which is
measured after excluding own tx_time but not own rx_time. By definition,
CCA busy time means amount of time for which channel is detected as busy
after excluding it's own tx and rx time.

Add support for tx and rx time in the channel statistics. This will enable
provision to calculate CCA busy time with including/excluding channel
tx and rx time.

Change-Id: I8e295ed4cd7b2ceca44b64140977603a4d8e8764
CRs-Fixed: 2732018
2020-08-23 17:37:37 -07:00
Pragaspathi Thilagaraj
9c8821e63c qcacld-3.0: Add changes to define roam scan mode commmand structures
Add changes to define structure to hold the WMI_ROAM_SCAN_MODE
command related parameters.
Also added minor cleanup changes.

Change-Id: I24ef18e05de8dd05ee437e440651ea9ab0731e46
CRs-Fixed: 2758316
2020-08-23 17:37:32 -07:00
Rajasekaran Kalidoss
19c4db9c49 qcacld-3.0: Add support for twt pause and resume
Add support for twt pause and resume vendor
commands.

CRs-Fixed: 2738972
Change-Id: I6cddfb453628c0476d50507054771d54772ce003
2020-08-23 17:37:28 -07:00
snandini
6e892afdf3 Release 5.2.0.199P
Release 5.2.0.199P

Change-Id: I34e24cf48f774e1b8a2093e82fe2bff4bc48a027
CRs-Fixed: 774533
2020-08-23 15:33:35 -07:00
Rajasekaran Kalidoss
188bf78da8 qcacld-3.0: Add support for TWT Terminate vendor command
Add support for TWT Terminate command request and response.

CRs-Fixed: 2736287
Change-Id: I710a600c53ad2b0f805ade70f254ea6aedcd4216
2020-08-23 15:33:35 -07:00
Rajasekaran Kalidoss
1ca17fe1cf qcacld-3.0: Add support for TWT Setup vendor command
Add TWT vendor subcommand and TWT operations for
Host triggered TWT. Also add support for TWT Setup command
request and response.

CRs-Fixed: 2735650
Change-Id: I4f52c9fb240714077347ffc5177692de01a6a126
2020-08-23 15:33:31 -07:00
snandini
2b70b8cdcb Release 5.2.0.199O
Release 5.2.0.199O

Change-Id: If12c426613840274670694cdffa925fe85674a97
CRs-Fixed: 774533
2020-08-23 10:20:51 -07:00
Gururaj Pandurangi
b31635c384 qcacld-3.0: Enable RX LDPC ini by default
Enable RX LDPC capability by default in the
driver sinc the ini gEnableRXLDPC is not present
in the WCNSS cfg ini file.

Change-Id: I826dca94e0db18713b0d87581da07eeefbfc80d4
CRs-Fixed: 2748730
2020-08-23 10:20:51 -07:00
snandini
8b4c796247 Release 5.2.0.199N
Release 5.2.0.199N

Change-Id: Icf098b8ec063f723c56eb44fa154ab0262e52ae7
CRs-Fixed: 774533
2020-08-22 20:31:34 -07:00
Naman Padhiar
c4df5e5e5d qcacld-3.0: Add PLD ops to notify thermal level change
Add PLD layer support using which the platform driver sends
thermal state change notification to WLAN host. The callback
contains state variable to store the current thermal state.

Add WHUNT support to validate host implementation.

Change-Id: I5039eae967f940a7809a4b6e6d523362819fb28a
2020-08-22 20:31:34 -07:00
snandini
d8bc8ba37d Release 5.2.0.199M
Release 5.2.0.199M

Change-Id: Ic35d4f1a38fd6024c2963d82577e7b99cf22929d
CRs-Fixed: 774533
2020-08-22 18:12:18 -07:00
Jianmin Zhu
56ad1a9fbc qcacld-3.0: NULL pointer may be dereferenced
Pointer 'chan' checked for NULL will be dereferenced

Change-Id: If5137767a78ac3166d5ae03cb741caefc895bd99
CRs-Fixed: 2757250
2020-08-22 18:12:17 -07:00
Swarn Singh
403bf88e74 qcacld-3.0: Define vendor command policy get_logger_set_policy
This change adds support to define vendor command policy for
QCA_NL80211_VENDOR_SUBCMD_GET_LOGGER_FEATURE_SET.

Change-Id: Ifef5a6c3518b58061928c493ede6511405a228e4
CRs-Fixed: 2758928
2020-08-22 18:12:14 -07:00
snandini
b1bb70bc43 Release 5.2.0.199L
Release 5.2.0.199L

Change-Id: I43f55b40db0f191b02253e160b16b09923525b30
CRs-Fixed: 774533
2020-08-22 16:00:56 -07:00
Srinivas Girigowda
89bf334852 qcacld-3.0: Introduce CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS
MAC address is of the format (XX:XX:XX:XX:XX:XX),
This feature is to hide logging 2nd, 3rd and 4th octet of the
MAC address in the logs.

To enable this feature set CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS to y.
For example, if this feature is enabled, then
mac address ae:45:9c:f1:c0:98 shall be printed as ae:**:**:**:c0:98

If this feature is disabled, then QDF_MAC_ADDR_FMT translates to
"%pM" and by default this feature disabled.

Change-Id: Ib4086c1390c3ecafa637616954939f7d2c9c0e5b
CRs-Fixed: 2752355
2020-08-22 16:00:56 -07:00
Srinivas Girigowda
4cf9343cab qcacld-3.0: wmi: 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: I52fcfbafa9837069005bf8afd5d073281cadc9fe
2020-08-22 16:00:50 -07:00
Srinivas Girigowda
3e043aa2ce qcacld-3.0: tdls: 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: I79eb9801810c2bd08699dede9e73ff7bf17fc5b9
2020-08-22 16:00:45 -07:00
Srinivas Girigowda
f375188704 qcacld-3.0: components: 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: I2d776be789df3e83e0c13211844b66d595498829
2020-08-22 16:00:40 -07:00
Srinivas Girigowda
451c5f8601 qcacld-3.0: dp: 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: I40cab2cd3dc959dfab4eb7f32756308338de675b
2020-08-22 16:00:35 -07:00
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
Yu Wang
c8a1cd7418 qcacld-3.0: correct print format for size_t
Printing a size_t variable with '%lu' will lead to
compilation error when buidling for 32bit target.
To fix it, correct the format to '%zu'.

CRs-Fixed: 2760465
Change-Id: Ie1b0a181c4dfec942a5da27fb06a4cd690ed2bf5
2020-08-21 17:51:44 +08: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