Wykres commitów

21951 Commity

Autor SHA1 Wiadomość Data
snandini
d922976908 Release 5.2.0.219H
Release 5.2.0.219H

Change-Id: Ia5e5e599c46a38752d6130b347ca8426d5a7cfbf
CRs-Fixed: 774533
2021-01-20 19:39:33 -08:00
Aditya Kodukula
2f93e91825 qcacld-3.0: Fix possible OOB read in wlan_hdd_set_sap_hwmode
A possible out-of-bound read can happen in the hdd function
wlan_hdd_set_sap_hwmode. To fix it, pass the proper length.

Change-Id: I11258c6d9f481a21afc3229762900153d6f83c82
CRs-Fixed: 2853407
2021-01-20 19:39:33 -08:00
snandini
d4fac7f62e Release 5.2.0.219G
Release 5.2.0.219G

Change-Id: I929805222e4fbc525fc5ac35a0bc8c4d7aa36308
CRs-Fixed: 774533
2021-01-20 15:41:28 -08:00
Jianmin Zhu
0f3778b424 qcacld-3.0: No Tx until WoW wake up event received
With Change-Id: I7f38b3dc6975fcc208ad85e913564dfef5cc1cb7,
Tx register write is permitted after hif bus resume during runtime pm
resume, don't wait WMI_WOW_WAKEUP_HOST_EVENTID.
In F/W, there is an race condition when exit from WOW, both
WAL_TX_TID_TQM and WAL_TX_TID_TRANSITION_TO_TQM_ONGOING are not set yet,
data frame is received from host, assert will hapen.

To fix it, host tx register write shouldn't be permitted to update hp
until receive the WMI_WOW_WAKEUP_HOST_EVENTID.

Change-Id: Ic397652a9a0c4bc81667aed11805b2ce8070ee8d
CRs-Fixed: 2858115
2021-01-20 15:41:28 -08:00
snandini
eeadd9eeee Release 5.2.0.219F
Release 5.2.0.219F

Change-Id: Id9078619e724337727012a5dbf122f47d12a89df
CRs-Fixed: 774533
2021-01-20 10:06:21 -08:00
Yu Wang
7d8cd82cfb qcacld-3.0: add ini for setting oui based aggr size
Add ini 'cfg_tx_iot_aggr', it gives an option to
configure Tx aggregation size in no. of MPDUs/MSDUs
for specified OUI. This can be useful for IOT issues.

Format of the configuration:
  cfg_tx_iot_aggr=<OUI-1>,<MSDU-1>,<MPDU-1>,<OUI-2>,<MSDU-2>,<MPDU-2>...
  MSDU/MPDU means the max tx aggregation size in no. of MSDUs/MPDUs,
  0 means not specified.

For example:
  cfg_tx_iot_aggr=112233,2,0,445566,3,32,778899,0,64
  If vendor OUI-1("\x11\x22\x33") is found in assoc resp,
    set tx amsdu size to 2;
  If vendor OUI-2("\x44\x55\x66") is found in assoc resp,
    set tx amsdu size to 3, set tx ampdu size to 32;
  If vendor OUI-3("\x77\x88\x99") is found in assoc resp,
    set tx ampdu size to 64.

Change-Id: Idcf370a4bf93ca299ce1126eaba4394be1ab5b9d
CRs-Fixed: 2849203
2021-01-20 10:06:21 -08:00
sheenam monga
7cfe403da5 qcacld-3.0: Print string format for reject ap type
Update reject ap type to string from int value while
dumping blacklisted bssid for debugging purpose.

Change-Id: I2a12949e9e46f6fad32cc54ac975dfbfbdba88ab
CRs-Fixed: 2857907
2021-01-20 10:06:16 -08:00
snandini
057bfaf07b Release 5.2.0.219E
Release 5.2.0.219E

Change-Id: Ibb50d4fa5ba913ca4c5cf4ebe0e2fbbadc3a03f0
CRs-Fixed: 774533
2021-01-20 08:04:46 -08:00
Dundi Raviteja
cfdb3c45fd qcacld-3.0: Reduce stack frame size while creating roam scan channel
Reduce stack frame size of csr_create_roam_scan_channel_list()
by allocating dynamic memory to freq lists.

Change-Id: I2e79e2af1ef60df37d8908a451233ebaa6543a47
CRs-Fixed: 2856592
2021-01-20 08:04:46 -08:00
snandini
ac9997ecf3 Release 5.2.0.219D
Release 5.2.0.219D

Change-Id: If9cb2bc1935787b18e65f334dc01ffcff93a73fe
CRs-Fixed: 774533
2021-01-20 05:57:01 -08:00
gaurank kathpalia
d077fd57db qcacld-3.0: Fill RSN IE in LIM for connection manager
Fill RSN IE in LIM if profile is RSN.

Change-Id: I86b2bfcf554bea8c0ac860be2eb49c613c5ee041
CRs-Fixed: 2858412
2021-01-20 05:57:01 -08:00
hqu
7e457bd884 qcacld-3.0: Move code from csr to rso for btm offload
Move code from csr to rso for btm offload.

Change-Id: I0de4e1efe7b4996ae3ca58d124aff0aadfca72a5
CRs-Fixed: 2857739
2021-01-20 05:56:57 -08:00
Rajasekaran Kalidoss
8ad0440a66 qcacld-3.0: Change TWT nudge to asynchronous command
Change TWT nudge command to be asynchronous. Handle wake
time tsf field in the nudge command response.

Change-Id: I22c75a42bf60f52f52d7d7fe19f408ebb55f360a
CRs-Fixed: 2847173
2021-01-20 05:56:52 -08:00
Pragaspathi Thilagaraj
ef10a16a2a qcacld-3.0: Add support for TWT session state in status query
Add support to include the session state in TWT status query
response. Session state is set to active once setup is
complete and when resume response event is received from
firmware. Session state is suspend when suspend response
event is received from firmware.

Change-Id: I1f47947c05f80bd85199fd81b951dc54deacdc09
CRs-Fixed: 2854500
2021-01-20 05:56:48 -08:00
Rajasekaran Kalidoss
f3b6093c65 qcacld-3.0: Add support to get TWT target capabilities
Add support to get the following TWT target capabilities
1) Nudge 2) all twt and 3) statistics

Change-Id: If74e99b0ff920481bcabb0300129b9067082d113
CRs-Fixed: 2854927
2021-01-20 05:56:43 -08:00
snandini
90b68e3bf0 Release 5.2.0.219C
Release 5.2.0.219C

Change-Id: I940a6e385f1c8797fbe4786e957678100d7ff16e
CRs-Fixed: 774533
2021-01-19 23:24:17 -08:00
Alan Chen
c281068c27 qcacld-3.0: Add feature flag option for QDF_TIMER_MULTIPLER_FRAC
Add feature flag config option for QDF_TIMER_MULTIPLER_FRAC

Change-Id: Ie53ec703965311235971340251fe92fcb980a0d5
CRs-Fixed: 2855518
2021-01-19 23:24:17 -08:00
snandini
3ee67995fc Release 5.2.0.219B
Release 5.2.0.219B

Change-Id: I30f4275fffe132fc4228b98cde7d4b0a8db5d5f0
CRs-Fixed: 774533
2021-01-19 21:15:54 -08:00
Alan Chen
65119e6610 qcacld-3.0: Add case handling for unit test WoW suspend
When unit test WoW is executed, system suspend case is currently being
executed. Add a new case for handling unit test WoW suspend mode.

Change-Id: I9defa7175a638363a1dd736018d17a42d8afe6b3
CRs-Fixed: 2855437
2021-01-19 21:15:54 -08:00
snandini
e5cb66ff6d Release 5.2.0.219A
Release 5.2.0.219A

Change-Id: Ie660ddf818517ab9dfc48941471def831cd374d7
CRs-Fixed: 774533
2021-01-19 19:02:40 -08:00
Dundi Raviteja
4a2e571a2a qcacld-3.0: Reduce stack frame size in csr_diag_apply_country_info
Reduce stack frame size of csr_diag_apply_country_info()
by allocating dynamic memory to channel_power.

Change-Id: Ie28bb27365bded73ba874e2a1f3aa43772e9db90
CRs-Fixed: 2850236
2021-01-19 19:02:39 -08:00
Ananya Gupta
05545a9cc0 qcacld-3.0: Add DP event history in non debug mode
Enable DP event history for perf mode.

Change-Id: I2c7acccdf23e253fb63adaff72e9bab5f010f2db
CRs-Fixed: 2850887
2021-01-19 19:02:34 -08:00
snandini
b62dd7244a Release 5.2.0.219
Release 5.2.0.219

Change-Id: Id6db7dade734184496e1685572240faddc50f817
CRs-Fixed: 774533
2021-01-19 17:05:11 -08:00
gaurank kathpalia
0030dee8db qcacld-3.0: Add fils code for connection manager
Add fils code for connection manager.

Change-Id: Icabc91605077c483487d6070ccc3fc714ba2d315
CRs-Fixed: 2857915
2021-01-19 17:05:10 -08:00
snandini
ae0f754c4a Release 5.2.0.218Z
Release 5.2.0.218Z

Change-Id: I9eec2c957fe16d2441070ee4468c6c836c22b450
CRs-Fixed: 774533
2021-01-19 12:57:33 -08:00
gaurank kathpalia
64449a8609 qcacld-3.0: Move code from CSR to new RSO structs part 3
Move code from CSR to roam scan offload to use new converged
structures.

Change-Id: I418be56d452389a9f7b8d48e28f793567e81767a
CRs-Fixed: 2857606
2021-01-19 12:57:33 -08:00
Dundi Raviteja
7fe17b0deb qcacld-3.0: Reduce stack frame size while processing beach report req
Reduce stack frame size of sme_rrm_process_beacon_report_req_ind()
by using pointer for tpRrmPEContext.

Change-Id: I25bea9e9dd913f57c137ea3eb33f099c0370f70b
CRs-Fixed: 2856570
2021-01-19 12:57:28 -08:00
snandini
46e7fa292e Release 5.2.0.218Y
Release 5.2.0.218Y

Change-Id: Icde55a68e429dd2d43db9315644e9f0c7548d741
CRs-Fixed: 774533
2021-01-19 08:49:40 -08:00
Dundi Raviteja
a5116d1543 qcacld-3.0: Reduce stack frame size while setting roam scan chan list
Reduce stack frame size of sme_set_ese_roam_scan_channel_list()
by allocating dynamic memory to channel lists.

Change-Id: Ic4a8c6ff557dfaf7c282636b96a7b0a5e9e121ef
CRs-Fixed: 2856563
2021-01-19 08:49:40 -08:00
snandini
1687e8bb82 Release 5.2.0.218X
Release 5.2.0.218X

Change-Id: If5ae6b991b5967a28158b9828a034881b55e043b
CRs-Fixed: 774533
2021-01-19 03:51:55 -08:00
Vulupala Shashank Reddy
49d45831cc qcacld-3.0: Remove ucfg_pkt_capture_deregister_callbacks
ucfg_pkt_capture_deregister_callbacks getting called twice
while deregistering packet capture mode.

Remove ucfg_pkt_capture_deregister_callbacks from
wlan_hdd_del_monitor.

Change-Id: Id69288b390d9508396e4fb4ca4adcea3f0548deb
CRs-Fixed: 2734980
2021-01-19 03:51:55 -08:00
Deeksha Gupta
eea537d2a5 qcacld-3.0: Add new API to convert AKM into wmi command
Initially, Host updates the AKM only after the EAPOL
handshake. Due to this, Enterprise auth is not detected
for initial connection.

So, add new API which gets the AKM from vdev and convert
it to WMI enum and send it in peer assoc command to firmware
during initial connection. In Firmware, this will help to
detect Enterprise auth as part of connection and prioritize
the WLAN connection over BT traffic accordingly.

Change-Id: I503601ca29f3aadd1ee359a535b4e60133f66476
CRs-Fixed: 2844318
2021-01-19 03:51:51 -08:00
snandini
e1c2b3e0ac Release 5.2.0.218W
Release 5.2.0.218W

Change-Id: I01a5a38259ebaed5442b199a6bdfac0b248a90a2
CRs-Fixed: 774533
2021-01-19 01:52:01 -08:00
Rakesh Pillai
e8ab26341c qcacld-3.0: Fix deadlock between rtnl lock and vdev ops DSC
The below described scenario can lead to a deadlock
between wlan_hdd_del_virtual_intf and the work handler
to update netdev features.
- netdev features update work is scheduled and takes the
  vdev ops DSC lock.
- before the work is able to take the rtnl lock, a delete
  interface is called from kernel with rtnl lock held
- wlan_hdd_del_virtual_intf waits indefinitely for all the
  ops to be completed on this vdev.
- Now netdev feature update work is waiting for rtnl lock
  with vdev ops DSC held, and wlan_hdd_del_virtual_intf is
  waiting for vdev ops DSC with rtnl lock held.

In order to fix the above deadlock scenario, set a delete in
progress flag in wlan_hdd_del_virtual_intf and use rtnl_trylock
in the netdev features update work, only if the delete in
progress flag is not set. Using rtnl_trylock with a few equally
time spaced attempts to acquire rtnl lock will make sure the
features update is done it the work is unable to acquire the
rtnl lock due to any other netdev operation (apart from interface
deletion).

Change-Id: Iad6448d4d9bf7f4cbfcfc4c6fb3afb248afaeeec
CRs-Fixed: 2854713
2021-01-19 01:52:01 -08:00
snandini
e246f67a1c Release 5.2.0.218V
Release 5.2.0.218V

Change-Id: Ibcd8d87c79d45d252f6fee6f914b19ff2379d04a
CRs-Fixed: 774533
2021-01-18 21:45:21 -08:00
gaurank kathpalia
85f376f0a9 qcacld-3.0: Move code from CSR to new RSO structs part 2
Move code from CSR to roam scan offload to use new converged
structures.

Change-Id: Ic67be46bd33930cdacc49e2e410a5e1ae7b303ee
CRs-Fixed: 2857319
2021-01-18 21:45:21 -08:00
gaurank kathpalia
4abae1f448 qcacld-3.0: Move code from CSR to new RSO structs
Move code from CSR to roam scan offload to use new converged
structures.

Change-Id: Iaef2e4b08853f559a2da2c26b774ea29ecde04aa
CRs-Fixed: 2857072
2021-01-18 21:45:16 -08:00
snandini
bfe378440f Release 5.2.0.218U
Release 5.2.0.218U

Change-Id: I2751d03b9adc3b7c8741ba2f3f7156af41506594
CRs-Fixed: 774533
2021-01-18 17:52:53 -08:00
Abhinav Kumar
8f4383cc19 qcacld-3.0: Fix compatibility issue
The sequence of roam states info print depends on
the sequence of Tlvs coming via WMI_ROAM_STATS_EVENTID
event.

FW does not send roam trigger, roam scan and btm rsp
info to HOST in case of new host and old FW combo.
This results in 11v info print miss in kmsg log.

Fix is to print tlvs info in a proper sequence.

Change-Id: Ic51ceebcbf3846231c2181b0a4a92d59faaaaaff
CRs-Fixed: 2841325
2021-01-18 17:52:53 -08:00
snandini
b056e4c1d5 Release 5.2.0.218T
Release 5.2.0.218T

Change-Id: Ie654cad5aea5a4b1d9c8dae181ee719d3525f810
CRs-Fixed: 774533
2021-01-18 05:40:31 -08:00
Liangwei Dong
b4f5f936a7 qcacld-3.0: Validate STA channel switch notify
Add validation for STA CSA channel change notify event:
1. acquire the wdev->mtx lock before invoke kernel API -
cfg80211_ch_switch_notify. Kernel will access wdev->current_bss
in the API, it maybe changed in other thread.
2. if the bssid is not connected in vdev, don't invoke kernel API -
cfg80211_ch_switch_notify since wdev->current_bss maybe unlinked from
kernel bss list. cfg80211_ch_switch_notify make assumption
current_bss existing on the bss list.

Change-Id: I0dd415a5576d29e3a7729768c8482205677ca3e7
CRs-Fixed: 2855494
2021-01-18 05:40:31 -08:00
snandini
1cc6fab5bc Release 5.2.0.218S
Release 5.2.0.218S

Change-Id: I3009b59de8821d461b54b4c4a195f1b6a2e80c41
CRs-Fixed: 774533
2021-01-17 21:29:37 -08:00
Rajasekaran Kalidoss
741def98ba qcacld-3.0: Add support to handle twt_notify event
Add support to handle twt_notify event. Firmware can
terminate a TWT session without a Host trigger due to internal
reasons. In that case it sends an event to notify that it is
again ready for a TWT session setup.

Change-Id: I3508687cee93e16a26221a1bc7ad9c626a4f4523
CRs-Fixed: 2847158
2021-01-17 21:29:37 -08:00
snandini
ac5297a3df Release 5.2.0.218R
Release 5.2.0.218R

Change-Id: I3f98bc056c158fa73a1e60c8b2b055fd12d12262
CRs-Fixed: 774533
2021-01-17 15:29:18 -08:00
Abhishek Ambure
9389bccc4c qcacld-3.0: Don't block NAN+NDI+STA concurrency for non-dbs
When a new connection is about to come up, host checks if current
concurrency combination including the new connection is allowed or
not based on the HW capability.
Firmware manages NAN + NDI by dividing up slots. Connection on NDI
is re-negotiable and therefore a 3rd connection with the same MAC
is possible.

Change-Id: I63e39c5cd4945cd308e475c1e03f676336c4e7c1
CRs-Fixed: 2841457
2021-01-17 15:29:18 -08:00
snandini
bbfbd30e59 Release 5.2.0.218Q
Release 5.2.0.218Q

Change-Id: I842e51e396307fb9e996aed8419354261a8260d0
CRs-Fixed: 774533
2021-01-17 13:30:31 -08:00
Pragaspathi Thilagaraj
fa947de7a3 qcacld-3.0: Reject back to back TWT commands
Don't allow TWT commands back to back till response for
existing command is not received.
Reject the new command till the existing command completion
event is received from firmware. Allow TWT teardown when
any other command is in progress after TWT setup is complete.

Change-Id: I9282230c7cb24691b44ddfd273972272fd80f44b
CRs-Fixed: 2853515
2021-01-17 13:30:31 -08:00
snandini
85b548fd0b Release 5.2.0.218P
Release 5.2.0.218P

Change-Id: I042e177cdd5f720aead85b11eba23af5bd788280
CRs-Fixed: 774533
2021-01-17 08:54:42 -08:00
gaurank kathpalia
157bb417c2 qcacld-3.0: Remove unused params and functions
Remove unused params and functions due to connection manager.

Change-Id: Ie1fd0031abce0c97f82b221ed43f10609f6dac7a
CRs-Fixed: 2856577
2021-01-17 14:56:27 +05:30
snandini
d06fc82a2a Release 5.2.0.218O
Release 5.2.0.218O

Change-Id: Ife849e9d5e9c25c4be773bd7e4244384d0460661
CRs-Fixed: 774533
2021-01-16 15:04:23 -08:00