Commit Graph

20531 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
33064de124 qcacld-3.0: Enable RRM by default
RRM 11k feature is enabled or disabled based on the
rrm_enabled flag. rrm_enabled is filled from the gRrmEnabled ini.
Change the default value of gRrmEnabled ini to 1.

Change-Id: Ie2a95293c3225abc667563fcc9eed8440e46727f
CRs-Fixed: 2754534
2020-08-25 03:33:16 -07:00
snandini
de747c1ac2 Release 5.2.0.199Y
Release 5.2.0.199Y

Change-Id: I8bc5da7f8fd5365c038be40e67d152142e25fe19
CRs-Fixed: 774533
2020-08-24 22:03:56 -07:00
Arun Kumar Khandavalli
92d2e8b530 qcacld-3.0: Add thermal mitigation support for moselle
For older targets thermal mitigation is supported for the apps.
In moselle there a new processor wpps on which firmware runs,
this commit adds the support for the thermal client wpps.

Change-Id: I89896dce808807486ef56b90812369f3d5f4b270
CRs-Fixed: 2757566
2020-08-24 22:03:56 -07:00
Lin Bai
15737d1abb qcacld-3.0: Fix default PM QOS vote
If cpu mask is empty, vote PM QOS with default value to allow system
sleep.

Change-Id: Idfeb20f495f5d6a420d1a0a6ce09fca587363c96
CRs-Fixed: 2760918
2020-08-24 22:03:52 -07:00
snandini
b334588d59 Release 5.2.0.199X
Release 5.2.0.199X

Change-Id: I00bb158daf22f9a99b28ffc211e848b10b462b64
CRs-Fixed: 774533
2020-08-24 19:56:33 -07:00
Liangwei Dong
0e8fb7fb9d qcacld-3.0: Wait for hw mode change done for vdev delete
Vdev delete will purge the serialization queue for the vdev.
If the hw mode change request is flushed without waiting for
the fw completion event, it will cause issues when the fw event
coming up later and no active serialization command in queue.
In one case, the “hw_mode_change_in_progress” is not cleared
in this condition. And finally causes the new Connection req
failed to wait for hw mode change event because there is no
hw change request actually.

Fix by check and wait for hw mode response if any hw mode change
is in progress.

Change-Id: I007643f48ff1d35fbdb2c9ca9a3127bbd66d7dec
CRs-Fixed: 2760395
2020-08-24 19:56:32 -07:00
Bapiraju Alla
8186760f9a qcacld-3.0: Update primary frequency from object manager
Currently, primary frequency is getting updated from STA context
during get_channel callback. This is causing STA disconnect issue
after channel switch. This is because sta_context won't contain
updated channel information after channel switch.

Update primary frequency from object manger. Object manager will
contain updated channel information after channel switch. Also
update the primary frequency in STA context after channel switch.

Change-Id: I059c3627fbd2c254adeb4c7e4407b1518aa0f771
CRs-Fixed: 2758925
2020-08-24 19:56:29 -07:00
snandini
81c343df68 Release 5.2.0.199W
Release 5.2.0.199W

Change-Id: Ib1f633aad9bb2b1a0482b7714fd473b2b2a7dafe
CRs-Fixed: 774533
2020-08-24 14:39:38 -07:00
Alan Chen
9fff553188 qcacld-3.0: Call new function pld_set_pcie_gen_speed()
Call new function pld_set_pcie_gen_speed() to set pcie
gen speed accordingly.

Change-Id: I31902a8e7978e09365041f57c6bfb54cf80bdea6
CRs-Fixed: 2747789
2020-08-24 14:39:38 -07:00
snandini
50cb510473 Release 5.2.0.199V
Release 5.2.0.199V

Change-Id: I445ec099e2f8a79d3eca2be2c700cf65ecd8fec5
CRs-Fixed: 774533
2020-08-24 12:40:07 -07:00
Abhishek Ambure
2fd9237100 qcacld-3.0: Enable CFR for QCA6750 target
Add CFR support for QCA6750 targget.

Change-Id: I58209c31c6b24c97beacfb6bec6a2b12423f7d39
CRs-Fixed: 2754918
2020-08-24 12:40:06 -07:00
snandini
c8593abd1a Release 5.2.0.199U
Release 5.2.0.199U

Change-Id: I919331686c6e79802ff60e420c6b5aeebf0acdcf
CRs-Fixed: 774533
2020-08-24 08:53:45 -07:00
Alan Chen
64ac68cc67 qcacld-3.0: Move hdd_validate_context() after driver state check
Move hdd_validate_context() after driver state check such that if
the driver is closed and fw is down, system suspend is not rejected.

Change-Id: Ie066cee2e50a683433e337523ab21a153c8e272b
CRs-Fixed: 2759166
2020-08-24 08:53:45 -07:00
snandini
c6c3d45ae8 Release 5.2.0.199T
Release 5.2.0.199T

Change-Id: Iea68cf726f26fdbe6e0347c95516d509fddb8ab4
CRs-Fixed: 774533
2020-08-24 03:58:57 -07:00
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