Commit Graph

20647 Commits

Author SHA1 Message Date
Sandeep Puligilla
60352aed62 qcacld-3.0: Add interface manager module
- Add interface manager module files
- Add start_connect event processing
- Add stubs for start_connect_complete and start_bss
event processing API's

Change-Id: I24756336c6e6c9d7f3276e4039c0b7236233d45e
CRs-Fixed: 2759275
2020-08-26 12:13:26 -07:00
snandini
7e9c64ca60 Release 5.2.0.200E
Release 5.2.0.200E

Change-Id: I0b06407e05a166d849ce744e8eda0a9a06bb5d29
CRs-Fixed: 774533
2020-08-26 01:35:38 -07:00
Ashish Kumar Dhanotiya
5bf2580f79 qcacld-3.0: Change data type of the code for mac trace to uint16_t
Curretly data type of code for mac trace is uint8_t and
qdf trace expects the data type of code as uint16_t because of
which it may result in incorrect code type for the messages with
message id in uint16_t.

To address above issue change the type of the mac trace to
uint16_t.

Change-Id: I11c5160e2b15258390134ec30c43c84219c2c587
CRs-Fixed: 2719765
2020-08-26 01:35:38 -07:00
Karthik Kantamneni
5e148e5431 qcacld-3.0: Fix nbuf double free for TSO packets
Nbuf users count is not updated properly during failure
case of TSO transmission this is leading to double free.

Fix is to update nbuf users count properly during failure cases.

Change-Id: I68722ec9e62157624dc8a2cd00fd479b9e9e7794
CRs-Fixed: 2759727
2020-08-26 01:35:34 -07:00
snandini
915f4cf70b Release 5.2.0.200D
Release 5.2.0.200D

Change-Id: I829dcb9af879aee3f00f5ed674cf497dacc76668
CRs-Fixed: 774533
2020-08-25 23:32:06 -07:00
Rakesh Pillai
d950c460ea qcacld-3.0: Add software latency manager base code
Add the basic attach code for software latency
manager.

Software latency manager currently tries to
handle the srng register write coaslescing
only.

Change-Id: I23cddf32a52f091b7c66d821e0625656e1a5af23
CRs-Fixed: 2759134
2020-08-25 23:32:06 -07:00
snandini
75d398788d Release 5.2.0.200C
Release 5.2.0.200C

Change-Id: I5b9c785171f208fe293d321bb10ef39ef7547e7e
CRs-Fixed: 774533
2020-08-25 20:25:59 -07:00
Amruta Kulkarni
a9a90ab587 qcacld-3.0: Retry sending join_req after timer expiry
If join fail reason is timeout, retry sending join req
after timer expiry, timer value can be configured
via join_failure_retry_interval.

Change-Id: If90071b3f6d7f48936db6f7088c3c1547e48b294
CRs-Fixed: 2760236
2020-08-25 20:25:58 -07:00
snandini
92a39e9b0f Release 5.2.0.200B
Release 5.2.0.200B

Change-Id: I246d60b1c883d6bf3c7727312b06c8c377263523
CRs-Fixed: 774533
2020-08-25 14:09:15 -07:00
Arun Kumar Khandavalli
09ec38e32f qcacld-3.0: Add a check for WLM latency manager support
Currently there is no check for WLM latency manager support,
while setting the latency level which may lead to undefined behavior.
To address the above issue add a check for WLM latency manager support
and return not supported to userspace.

Change-Id: Id095f162c1202c0a0926f4f73e553f46d4980543
CRs-Fixed: 2762357
2020-08-25 14:09:14 -07:00
snandini
5faf45a9a2 Release 5.2.0.200A
Release 5.2.0.200A

Change-Id: Iaae996c87ef55e030f2e814d4a2aa118f195ad0f
CRs-Fixed: 774533
2020-08-25 12:00:45 -07:00
Rajasekaran Kalidoss
390f19c617 qcacld-3.0: Increase timeout for twt commands
The TTL for management packets in firmware is
1.5 seconds. To accomodate other delays involved,
increase the TWT Host timeout value from 1 second
to 4 seconds.

CRs-Fixed: 2756397
Change-Id: Ib71487ec222d8160599ff1bd061958b72f928906
2020-08-25 12:00:45 -07:00
snandini
bd9ab592c6 Release 5.2.0.200
Release 5.2.0.200

Change-Id: Id64389dbc6c18de3daed1188ca08773f294ef233
CRs-Fixed: 774533
2020-08-25 05:41:15 -07:00
Pragaspathi Thilagaraj
eec05fff64 qcacld-3.0: Add support to send RSSI_CHANGE_THRESHOLD
Add support to send WMI_RSSI_CHANGE_THRESHOLD command to firmware
in connection manager.

Change-Id: I97d4b8f8fc0e938ede0e61d44eb8ffbcbb0fb4ff
CRs-Fixed: 2761043
2020-08-25 05:41:15 -07:00
snandini
f481997643 Release 5.2.0.199Z
Release 5.2.0.199Z

Change-Id: I9986332595bfbfad31b8a780769626e98f1adbd2
CRs-Fixed: 774533
2020-08-25 03:33:20 -07:00
Alan Chen
a9c7d3cf94 qcacld-3.0: Add nested attribute for SAR_LIMITS_SPEC
SET_SAR_LIMITS command expects nested attribute. Hence, add nested
attribute for SAR_LIMITS_SPEC.

Change-Id: Ib810682dcfcc051d50b835011cdd82c375dd390b
CRs-Fixed: 2754281
2020-08-25 03:33:20 -07:00
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