Commit Graph

21887 Commits

Author SHA1 Message Date
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
gaurank kathpalia
c4378606c7 qcacld-3.0: Fix compilation error in connection manager
Fix compilation error in connection manager.

Change-Id: I4350c594507c25d9652e39ae3ada1f4bdc4d89fc
CRs-Fixed: 2856511
2021-01-16 15:04:23 -08:00
snandini
4122db6433 Release 5.2.0.218N
Release 5.2.0.218N

Change-Id: Id4aa710fd56a67c4cd6cdf7959e0c8d9adf96d83
CRs-Fixed: 774533
2021-01-16 12:57:20 -08:00
gaurank kathpalia
9b5c17c60e qcacld-3.0: Fix issues in connect and disconnect path
Fix issues in connect and disconnect path.

Change-Id: Iccc2f564943939a024923eeb4a958b2838c311ab
CRs-Fixed: 2856501
2021-01-16 12:57:20 -08:00
snandini
ac8ef4370c Release 5.2.0.218M
Release 5.2.0.218M

Change-Id: Ia9f3848d3b8b13a53c2cceac2315ef400e5b698f
CRs-Fixed: 774533
2021-01-16 10:50:50 -08:00
gaurank kathpalia
5b8392f96c qcacld-3.0: Process connect request for connection manager
Process connect request in LIM for connection manager.

Change-Id: I12b2f174751b17271667cba1347a44dd52782420
CRs-Fixed: 2856458
2021-01-16 10:50:49 -08:00
snandini
c3f5b418bc Release 5.2.0.218L
Release 5.2.0.218L

Change-Id: If58004184165889255c8790f0c217f919400fb9b
CRs-Fixed: 774533
2021-01-16 06:48:57 -08:00
Pragaspathi Thilagaraj
0d1bd0bdc6 qcacld-3.0: Stop all the flows for emergency deauth roaming
Stop all the TSPEC flows after roaming to new AP due to
disconnect roam trigger as the previoes TSPEC session is not
valid. Firmware clears the TSPEC session on deauth roaming and
doesn't include the RIC IE in roams followed by deauth trigger.
But host entry for the TSPEC flows exist and doesn't allow new
TSPEC session setup commands.

Clear all the TSPEC flows with older AP to allow new TSPEC
session creation with roamed AP due to disconnect roam trigger.

Change-Id: I9d75acba402e6d8380584fd1ffd310c2a21cd19d
CRs-Fixed: 2816035
2021-01-16 06:48:57 -08:00
snandini
5417ff69d8 Release 5.2.0.218K
Release 5.2.0.218K

Change-Id: Iabf8c6537a6f88fadb664d66fbb83c04f51759c6
CRs-Fixed: 774533
2021-01-16 01:39:00 -08:00
Rajeev Kumar
e6534e9442 qcacld-3.0: Remove date and time from build tag
To improve build time performance remove date and time
embedding from wifi DLKM Kbuild config.

Change-Id: I465699005b0e5eee762f528a8d8f102c1987b18e
CRs-Fixed: 2855334
2021-01-16 01:39:00 -08:00
snandini
dca602f8cf Release 5.2.0.218J
Release 5.2.0.218J

Change-Id: I31cfdd813e6de323fed95a7becb431bc55512c85
CRs-Fixed: 774533
2021-01-15 14:38:30 -08:00
Ashish Kumar Dhanotiya
55e9e445ad qcacld-3.0: Add a check to validate BW for set ap cahn width
Currently driver does not validate BW before it invokes the kernel
api cfg80211_get_chandef_type. There is a WARN_ON in kernel
if above api is invoked with invalid BW.

To address above issue add a logic to validate the BW
before driver invokes the kernel api.

Change-Id: Ie237aa46813bfa4206a1057a0418d9562dbbae75
CRs-Fixed: 2846462
2021-01-15 14:38:30 -08:00
snandini
7aca016cf0 Release 5.2.0.218I
Release 5.2.0.218I

Change-Id: I42577853adf4f32c18fc1c7619f0491bed84410f
CRs-Fixed: 774533
2021-01-15 12:31:50 -08:00
Ashish Kumar Dhanotiya
d1c0c54b5f qcacld-3.0: Add hdd api to check different vdev states
Currently there are no hdd apis to check different
vdev states.
Add hdd apis to check if vdev is connecting to some ap
or disconnecting or vdev is in disconnected state with
the help of connection manager api for the same purpose.

Change-Id: I3b653fa1090a0e701f235520fa4e1028bac6ad7d
CRs-Fixed: 2853413
2021-01-15 12:31:49 -08:00
Ashish Kumar Dhanotiya
df52b010d4 qcacld-3.0: Validate FW provided mac address
Currently host driver does not validate the mac address which
it receives from FW and based on this mac address host derives
remaining mac addresses. If mac address from FW is multicast
or broadcast address then it will be treated as invalid mac
address and adapter creation will fail.

To address above issue, accept mac address provided by FW only
if it is a valid mac address else derive all the mac address
based on driver's internal logic.

Change-Id: I4c4b60cac082680df90016ec4ba63f744353771c
CRs-Fixed: 2853417
2021-01-15 12:31:44 -08:00