Commit Graph

22420 Commits

Author SHA1 Message Date
snandini
c66fbde8ab Release 5.2.0.226S
Release 5.2.0.226S

Change-Id: I942971075d43fa1b13907afe34c29db6ebe3b654
CRs-Fixed: 774533
2021-03-18 16:41:42 -07:00
Dustin Newman
dec9fd4086 qcacld-3.0: Reduce the log level alloc failure
Reduce the log level alloc failure since it is not fatal. Log the
requested size of memory instead of last ring size found in the
case of alloc failure.

CRs-Fixed: 2894342

Change-Id: Idfb0eec7421e4568008517e35b2fb928f09b6818
2021-03-18 16:41:42 -07:00
Subrat Dash
d7794ba3b5 qcacld-3.0: Add support for WDS repeater mode
Enable 4address frame format for the packets to the AP.
Enable MEC check for the sta dp vdev.

A new ini is added to enable WDS feature specifying the
desired WDS mode.

CRs-Fixed: 2889438
Change-Id: I99ccb91adf283a1ed863902ec4b31f1c3e821d32
2021-03-18 16:41:38 -07:00
snandini
7280aff038 Release 5.2.0.226R
Release 5.2.0.226R

Change-Id: If5c58bcc7f1b712a5281588f474e6803ee9ca764
CRs-Fixed: 774533
2021-03-18 11:51:26 -07:00
Chaoli Zhou
d0e2c2f3a4 qcacld-3.0: Enable CONFIG_WLAN_STREAMFS for CFR
Set CONFIG_WLAN_STREAMFS depend on CONFIG_RELAY,
which can support write CFR data to the node:
/sys/kernel/debug/xxx/cfrwlan/cfr_dump0

Change-Id: I2a9b1920c55ca16277282d5430ad3f3de5c4795d
CRs-Fixed: 2902315
2021-03-18 11:51:26 -07:00
snandini
3945957ea9 Release 5.2.0.226Q
Release 5.2.0.226Q

Change-Id: I4a87cc0a7791f162e22cd5dd1fd94cef6914933c
CRs-Fixed: 774533
2021-03-18 09:51:13 -07:00
Abhishek Ambure
e489d5e393 qcacld-3.0: Fill wma req before pdev_set_dual_mac cmd sent to fw
Presently host prepares and fills wma req in wma_hold_req_queue
after sending pdev_set_dual_mac command to FW. Host uses same wma
request to process response from firmware. If host gets FW response
before filling wma request to wma_hold_req_queue, host fails to
process pdev_set_dual_mac cmd response. And thus the wma request
queued after sending pdev_set_dual_mac command gets timeout.
Hence prepare and fill wma req in wma_hold_req_queue before sending
pdev_set_dual_mac command to firmware.

Problem scenario:
1) Host send pdev_set_dual_mac cmd to fw in kworker thread and then
   gets suspend before filling wma req into wma_hold_req_queue.
2) Host gets pdev_set_dual_mac cmd response from fw and schedular
   thread runs to process response where it doesn't get wma request.
3) Now kworker thread gets scheduled and fill wma req and gets
   timed out.

Change-Id: I4d32e4459c32843c8fdb9a48262b5a55eecf2cbd
CRs-Fixed: 2902212
2021-03-18 09:51:13 -07:00
snandini
c6fb4f728d Release 5.2.0.226P
Release 5.2.0.226P

Change-Id: I5c7238ba708dd99d14804b87cc0ae79fc5234dd6
CRs-Fixed: 774533
2021-03-18 07:43:01 -07:00
Karthik Kantamneni
6d45287e66 qcacld-3.0: Enable delayed reg update feature for QCA6750
Enable srng delayed reg update feature for QCA6750

Change-Id: Idf3765d1c624e88ffa2fc51468dde0a300348654
CRs-Fixed: 2900494
2021-03-18 07:43:01 -07:00
snandini
607ee95e17 Release 5.2.0.226O
Release 5.2.0.226O

Change-Id: Ie2a67daca14bb9310742888a9ca2b8d7eb5099bb
CRs-Fixed: 774533
2021-03-18 05:43:37 -07:00
ngong
9ba19df97c qcacld-3.0: Set SIR_VDEV_PLCY_MGR_TIMEOUT to 4s
The WMI command tx credit request/return period is impacted
by host CPU loading/scheduling. For a real world case, when
at most 90 WMI commands are queued, and the period is 30ms,
at least 2.7s is needed, so set timeout to 4s for safety margin.

Change-Id: Ice444946292cd4d3cb82f1672a157d3858ac8c5e
CRs-Fixed: 2875205
2021-03-18 05:43:37 -07:00
snandini
6e9db0d9b4 Release 5.2.0.226N
Release 5.2.0.226N

Change-Id: I98f24aa18c405d138819e3e145d753bf3a8879a4
CRs-Fixed: 774533
2021-03-18 03:38:17 -07:00
Deeksha Gupta
bae3e63070 qcacld-3.0: Receive twt_setup wake_mantisa in microsecond
Currently, host receive the mantissa in TU from upper
layer.
Add support for below TWT setup additional parameters:
Mantissa in Microsecond
Add changes to receive mantissa value of wake interval
in microsecond.

Change-Id: I00ac5006002a6b4d521a005080a1f5a787f54ba7
CRs-Fixed: 2888361
2021-03-18 03:38:17 -07:00
snandini
56ecfa1fed Release 5.2.0.226M
Release 5.2.0.226M

Change-Id: I679474855bc70a78e3fcf092ce9a39e34cc796a6
CRs-Fixed: 774533
2021-03-18 00:39:42 -07:00
Gururaj Pandurangi
9996bc7175 qcacld-3.0: Remove feature flag WLAN_FEATURE_11W for pmf
Remove all of the conditional compilation for pmf since this
feature is mandatory for future scope from protocol point
of view.

Change-Id: Id3a2127e9ecb343ad2a0354dcbc331c22167d7fb
CRs-Fixed: 2852630
2021-03-18 00:39:42 -07:00
snandini
b2052d6925 Release 5.2.0.226L
Release 5.2.0.226L

Change-Id: Ia91bfd71a224f43dcd87e039d45aa91920730c10
CRs-Fixed: 774533
2021-03-17 22:35:27 -07:00
Bapiraju Alla
2de2bf7fdf qcacld-3.0: Add support to cache north bound commands during SSR
Driver receives interface down/del virtual interface commands from kernel
with rtnl lock held. In driver, these commands will wait for SSR to be
completed. So in this case rtnl lock will be held for long time.

To avoid this, cache the north bound command received during SSR and
execute them in re-initialization sequence.

Change-Id: I5b4ca8e04c80e1cef49d137532198283aa35165f
CRs-Fixed: 2740368
2021-03-17 22:35:27 -07:00
Pragaspathi Thilagaraj
38c26022f2 qcacld-3.0: Cleanup unused SIR_LIM_BEACON_GEN_IND
The lim message SIR_LIM_BEACON_GEN_IND is unused.
Cleanup the corresponding code.

Change-Id: If404b44d91e6c12ba882220697ecda820c8dd971
CRs-Fixed: 2899398
2021-03-17 22:35:23 -07:00
snandini
0f2a7e2253 Release 5.2.0.226K
Release 5.2.0.226K

Change-Id: I4ec44b2ae43099fb538bfcbd79b0747bef8ed1d4
CRs-Fixed: 774533
2021-03-17 20:31:43 -07:00
Jianmin Zhu
a9e52b12a3 qcacld-3.0: Remove btm cap in SAE assoc req if SAE roaming disabled
Some legacy Helium firmware doesn't support SAE roaming, but btm cap is set
in associate request of DUT, then connected SAE AP thinks DUT supports btm,
AP will send btm request to DUT, DUT triggers roaming, but fails and
disconnects from current AP, users will complain this unexpected
disconnect.

Change-Id: Ife9860addef6898a518618f555158e7888ac74db
CRs-Fixed: 2884694
2021-03-17 20:31:43 -07:00
Srinivas Dasari
9a2fda9a47 qcacld-3.0: Use cfg80211_get_chandef_type till NL80211_CHAN_WIDTH_40
cfg80211_get_chandef_type supports till NL80211_CHAN_WIDTH_40. Any
chan width more than NL80211_CHAN_WIDTH_40 can be treated as
NL80211_CHAN_HT40PLUS. __wlan_hdd_cfg80211_start_ap has the same
logic in-place.

Change-Id: I70166faf16730128039e4e48d9e90aefb1674977
CRs-Fixed: 2717615
2021-03-17 20:31:38 -07:00
snandini
e6bfbd4383 Release 5.2.0.226J
Release 5.2.0.226J

Change-Id: I94440d470ea2fe720254f550ae4182e9d0167cfc
CRs-Fixed: 774533
2021-03-17 18:33:16 -07:00
Abdul Muqtadeer Ahmed
70ee3f70fd qcacld-3.0: Add new WMI wakeup reason
Add the new WMI wakeup reason “WOW_REASON_FATAL_EVENT_WAKE".

Change-Id: I93b530f78f568fa88cb310c5d78cd950451fc441
CRs-Fixed: 2868523
2021-03-17 18:33:16 -07:00
snandini
82df565cac Release 5.2.0.226I
Release 5.2.0.226I

Change-Id: I668205f579a4aeafab7bc28d878b29b4fc25e276
CRs-Fixed: 774533
2021-03-17 16:30:43 -07:00
Lincoln Tran
2079964497 qcacld-3.0: Fix scenario for updating the country
When updating the country to be the same value, the function will return
failure. This causes a crash in the wifi start up. Add check to see if
the country code is the same to avoid calling the API.

Change-Id: I7be11857fd9cc87b65f6c598d842a9ed5c024f59
CRs-fixed: 2896855
2021-03-17 16:30:43 -07:00
snandini
daa432799c Release 5.2.0.226H
Release 5.2.0.226H

Change-Id: Ib4fb566f7f698f4b5253b27507aae4e3b0ddd55d
CRs-Fixed: 774533
2021-03-17 13:11:17 -07:00
Deeksha Gupta
cdfe6b4daf qcacld-3.0: Set command_in_progress after adding twt session
Currently, In twt setup command, driver set the
TWT command_in_progress before adding the dialog_id
in TWT context. Due to which, set active command
fails because the dialog id was not added to the
twt context. So the add dialog command response is
getting dropped at sme.
Set the TWT command_in_progress after adding the
dialog_id to TWT context.

Change-Id: Ic2c7e23720e2bc9f5a6737ba2f1dc4b1356dc179
CRs-Fixed: 2897736
2021-03-17 13:11:17 -07:00
Bapiraju Alla
e899c9c52d qcacld-3.0: Increase max number of allowed whitelist SSIDs count
Increase MAX allowed number of whitelist SSIDs count to 8

Change-Id: Ic74abeb82876966ce4aedee9f7a4681f17217d63
CRs-Fixed: 2900486
2021-03-17 13:11:12 -07:00
snandini
d20e09e255 Release 5.2.0.226G
Release 5.2.0.226G

Change-Id: I2537ccbe64dc997d248ad7154b2b9455cfd63b6b
CRs-Fixed: 774533
2021-03-17 09:11:11 -07:00
Deeksha Gupta
138455dc82 qcacld-3.0: Support P2P in 6GHz mode
Currently, P2P mode is not supported in 6GHz mode

Add P2P mode in policy_mgr_is_6ghz_conc_mode_supported
API to support P2P mode in 6GHz mode as fix this.

Change-Id: I2e160641c1784dbbd592b237da6b38929f33abbe
CRs-Fixed: 2896291
2021-03-17 09:11:11 -07:00
snandini
c4233a22cb Release 5.2.0.226F
Release 5.2.0.226F

Change-Id: I96279b97833959709358b08850e8b6558410faba
CRs-Fixed: 774533
2021-03-17 02:40:40 -07:00
Yu Ouyang
9410af79f9 qcacld-3.0: Construct SGI80 and 160 irrespective of peer
WFA VHT 5.2.1 requires to construct SGI80 in the association request
NOT based on AP capabilities in the beacon and probe response frames.
So, construct VHT compatibility SGI 80M and 160M irrespective of peer.

Change-Id: I3a5ed6af1ea6be20c332cd91f48eee015a0c898c
CRs-Fixed: 2888822
2021-03-17 02:40:40 -07:00
snandini
ece7855f70 Release 5.2.0.226E
Release 5.2.0.226E

Change-Id: I64028a6ea6f9450dea836eab3c839bc61d37e0b3
CRs-Fixed: 774533
2021-03-17 00:45:00 -07:00
Liangwei Dong
f7c2c8453a qcacld-3.0: Disable force SCC to DFS channel if DFS master disabled
If DFS master capability disabled, STA+SAP SCC on DFS is not allowed,
so reset g_sta_sap_scc_on_dfs_chan to 0.

Change-Id: I90b0ec6947f5bc24c9854062f443de0d1f6dc452
CRs-Fixed: 2897719
2021-03-17 00:45:00 -07:00
snandini
2c7abec1e8 Release 5.2.0.226D
Release 5.2.0.226D

Change-Id: I9e09e37c8004bbbd986ae0467086e422c7c11b82
CRs-Fixed: 774533
2021-03-16 21:19:52 -07:00
Lincoln Tran
f6c0fe50aa qcacld-3.0: Fix freq calculation in TPE processing
When processing the TPE IE from, the function has to calculate the
frequencies for each tx power it receives. The calculation is incorrect
which results in a bad lookup when populating the EIRP power value.
This can cause low throughtput issues.

Change-Id: Id854f678bd3933ab1a7198b346ed14d76d964360
CRs-fixed: 2896985
2021-03-16 21:19:52 -07:00
snandini
a0d2163a33 Release 5.2.0.226C
Release 5.2.0.226C

Change-Id: I5102aa703c627e4928bca6aeb7ed22e558ed3474
CRs-Fixed: 774533
2021-03-16 00:45:14 -07:00
Jingxiang Ge
333dc4602d qcacld-3.0: Add detection for tasklet delay
This is to enable feature for detection CE tasklet
scheduling delay and credit response delay issue.

Change-Id: I659aa23eabaa28bfb11051bf15e0343c94061b86
CRs-Fixed: 2874867
2021-03-16 00:45:13 -07:00
snandini
e067c79b10 Release 5.2.0.226B
Release 5.2.0.226B

Change-Id: Id8960812bbb7148f7285bfb71396fe979862781b
CRs-Fixed: 774533
2021-03-15 16:10:06 -07:00
Vevek Venkatesan
d8a109879b qcacld-3.0: iface connection/disconnection mgmt in IPA
Debug change to crash if there is a mismatch in number of
connections and disconnections

Change-Id: I1bb9cac331c0cb491a0ba761a78969537185e414
CRs-Fixed: 2870628
2021-03-15 16:10:06 -07:00
snandini
34e7df4b75 Release 5.2.0.226A
Release 5.2.0.226A

Change-Id: Ie3d3b4acc47e5e22114b6e6e1c95039b56f6f417
CRs-Fixed: 774533
2021-03-15 14:09:59 -07:00
Yu Wang
5420653ce2 qcacld-3.0: override dot11 mode for WEP-40/WEP-104
HT is not supported with TKIP/WEP as encryption, WEP 40/104
are WEP, need to be taken into consideration.

Change-Id: Ibce4bf929ce43b8246c14d4cbddfa93c9c25c6cb
CRs-Fixed: 2892721
2021-03-15 14:09:58 -07:00
snandini
083c1c613a Release 5.2.0.226
Release 5.2.0.226

Change-Id: I25e522daec73d60f9589e1342545a1693064ea92
CRs-Fixed: 774533
2021-03-15 07:22:38 -07:00
Tiger Yu
248caf5ba3 qcacld-3.0: Enable RX prealloc buffer pool feature for SDXLEMUR
Enable RX prealloc buffer pool feature for SDXLEMUR.

Change-Id: I73f076dd8935184ee5dd404a47b407904be110a0
CRs-Fixed: 2887920
2021-03-15 07:22:38 -07:00
Wu Gao
9c1c89d97e qcacld-3.0: Enable mobile router for SDXLEMUR
Enable for mobile router for SDXLEMUR.

Change-Id: Iaffd843ca0d063591bf0eb35e1cf08288419c4d9
CRs-Fixed: 2838329
2021-03-15 07:22:34 -07:00
snandini
39e5b71346 Release 5.2.0.225Z
Release 5.2.0.225Z

Change-Id: If3d06838557e12c028a61ae2e971d98f6a343885
CRs-Fixed: 774533
2021-03-15 05:16:03 -07:00
sheenam monga
3264dab951 qcacld-3.0: send big data stats as a part of GET_STA_INFO resp
Add big data stats as part of QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO
vendor command reply, if current state is disconnected.

Change-Id: I84dc1f9901be17ea7b2bd6aecc7bec4c19e77202
CRs-Fixed: 2876395
2021-03-15 05:16:03 -07:00
snandini
57c6315d67 Release 5.2.0.225Y
Release 5.2.0.225Y

Change-Id: Ie8374489abba872944b857607d2863cf2fdfca1f
CRs-Fixed: 774533
2021-03-15 02:49:09 -07:00
Pragaspathi Thilagaraj
58581e5b19 qcacld-3.0: Fix sending vdev start again during LFR-2.0 roaming
Currently peer create response support is added for connect path
but in LFR-2.0 case also peer create response received is
processed and lim_post_join_set_link_state_callback() is called
leading to sending vdev start again.
Call the API to fill peer create wma request only for initial
connection.

Change-Id: I24140efd5541f7ed4aa3cef9efebf5a729846902
CRs-Fixed: 2856636
2021-03-15 02:49:09 -07:00
Pragaspathi Thilagaraj
d6b2eea730 qcacld-3.0: Enhance the broadcast twt capabilities population logic
Currently multiple ini is available for setting the broadcast
TWT requestor and responder configuration.
Deprecate "bcast_twt" legacy ini and also don't consider
legacy service capability WMI_SERVICE_BROADCAST_TWT.
So below is the service capability values combination
advertised by firmware:
new fw:
bcast_req bcast_resp legacy
    0        0         0       -> disable bcast
    0        1         0
    1        0         0
    1        1         1

old fw:
   0         0         1   -> enable TWT

Also change the default value of "twt_bcast_req_resp_config" ini
to 1.

Change-Id: Ic9af296b0efffc8f76f647b5830183867e0adf57
CRs-Fixed: 2873360
2021-03-15 02:49:03 -07:00