Commit Graph

22236 Commits

Author SHA1 Message Date
snandini
031be46685 Release 5.2.0.223Z
Release 5.2.0.223Z

Change-Id: Ie691b36caf41876fa14d0a7ad48bd171ad09ee0b
CRs-Fixed: 774533
2021-02-25 01:49:01 -08:00
Aditya Kodukula
b4084014be qcacld-3.0: Add function to_update wiphy_vhtcap
Refactor the function hdd_update_wiphy_vhtcap, and add two
independent functions to update the wihphy_vhtcap for 2G and 5G bands.

Change-Id: Iacf176c5b8bbf0032d1984775de3a9afee263883
Crs-Fixed: 2885702
2021-02-25 01:49:01 -08:00
Kiran Kumar Lokere
48af35feca qcacld-3.0: Fix the 160MHz Nss setting in peer assoc cmd
Nss value for 160MHz starts with 0 value in FW. Correct the 160MHz Nss
setting value in peer assoc command.

Change-Id: Ib6a8457acdf222cbe66beaf4b78edd2cda3d9eab
CRs-Fixed: 2885598
2021-02-25 01:48:56 -08:00
Aditya Kodukula
62d13fc520 qcacld-3.0: Validate 2.4 GHz band before accessing it
Add a safety check to verify if the 2.4GHz band is
enabled/supported before updating the target config.

Change-Id: I05c0ac956acee0cd9550114836a0d41cfc3359ed
CRs-Fixed: 2883567
2021-02-25 01:48:52 -08:00
gaurank kathpalia
006888171e qcacld-3.0: Move ESE channel list code to connection manager
Move ESE channel list code to connection manager.

Change-Id: I885ba96eaff435a8f3f4366d6d201e6f2d648e6e
CRs-fixed: 2885327
2021-02-25 01:48:47 -08:00
snandini
d817c3eac4 Release 5.2.0.223Y
Release 5.2.0.223Y

Change-Id: Ia97f14636ba4b20491a4264c323d46309ade093f
CRs-Fixed: 774533
2021-02-24 23:32:57 -08:00
Lincoln Tran
ed3f3e5a2c qcacld-3.0: Validate freq against regulatory list
When CSR issues a start BSS message, it validates the requested start
freq against the internal CSR channel list. There could be a scenario
where this list is not updated and the validation fails. Check this freq
against the regulatory channel list instead.

Change-Id: I56b29fa6249a9245bb968c95c14e730b976f0f8d
CRs-fixed: 2884695
2021-02-24 23:32:57 -08:00
snandini
52b285e0aa Release 5.2.0.223X
Release 5.2.0.223X

Change-Id: I52e45df53cb1fbbe540e23cec4c1abc4d59c0bfa
CRs-Fixed: 774533
2021-02-24 19:35:05 -08:00
Nisha Menon
8958f63a28 qcacld-3.0: Enable device force wake recipe in driver
Enable force wake recipe feature DEVICE_FORCE_WAKE_ENABLE
and disable the generic shadow register write feature
GENERIC_SHADOW_REGISTER_ACCESS_ENABLE.
Enable feature  HIF_REG_WINDOW_SUPPORT to enable the
windowed register read/write from HIF layer.

Change-Id: Ic19d80b686639eb12a2e0a7c0ebf991740a576e7
CRs-Fixed: 2850592
2021-02-24 19:35:04 -08:00
snandini
736c008fb5 Release 5.2.0.223W
Release 5.2.0.223W

Change-Id: I96b0b70f0aaec58239a2bee22db24daece1d991f
CRs-Fixed: 774533
2021-02-24 14:52:56 -08:00
sheenam monga
97f0114fe0 qcacld-3.0: Use get_channel_state_for_freq to get chan state
As chan num may be same for different bands, getting chan state
from channel number may provide incorrect chan state.

Fix is to get chan state from frequency instead of channel number.

Change-Id: Iaf379614d8e536dba2cde71b9294a5a4b018769a
CRs-Fixed: 2869828
2021-02-24 14:52:56 -08:00
snandini
3ac1e6b301 Release 5.2.0.223V
Release 5.2.0.223V

Change-Id: I4db077f2a5c67eae55b80223441e2eed859d5a6e
CRs-Fixed: 774533
2021-02-24 08:14:32 -08:00
Karthik Kantamneni
e1a2e01968 qcacld-3.0: Check for TCP proto in bypass_fisa API
Check for TCP proto in bypass_fisa API and deliver nbuf without fisa.
This will avoid additional processing and helps to deliver nbuf earlier.

Change-Id: I26a78e1204ddebab3a6c6e852ce6d289106dd110
CRs-Fixed: 2884112
2021-02-24 08:14:32 -08:00
snandini
057e3bd17f Release 5.2.0.223U
Release 5.2.0.223U

Change-Id: I3d1faca315d5a609983724cbe31ddb3c620d7e9d
CRs-Fixed: 774533
2021-02-24 05:03:18 -08:00
Utkarsh Bhatnagar
ae8bbefcf1 qcacld-3.0: Add he_cap in TDLS Dot11 frames
Add he_cap (tDot11fIEhe_cap) in sDot11fTDLSDisRsp,
tDot11fTDLSSetupReq, tDot11fTDLSSetupRsp Dot11f
frames.

Add he_op (tDot11fIEhe_op) in tDot11fTDLSSetupCnf
frame.

Change-Id: I76947a9a7ddb51dcf2fdf76832f98c1a9f9135e7
CRs-Fixed: 2881825
2021-02-24 05:03:18 -08:00
snandini
e98d726617 Release 5.2.0.223T
Release 5.2.0.223T

Change-Id: Ic8f83813cc310ec627b08cf77c8d24c0ab5e3b11
CRs-Fixed: 774533
2021-02-24 01:51:16 -08:00
Bapiraju Alla
b9dee3953d qcacld-3.0: Protect set_thermal_mitigation with dsc psoc sync
Currently, the operation set thermal mitigation which is invoked
from PLD is not dsc protected. As a result it is causing a memory
leak issue when there is an idle shutdown is happening in parallel.

To avoid this, protect set thermal mitigation operation with dsc psoc
sync.

Change-Id: Id36086dd7668258f0aa1d57bc30948e14510e4de
CRs-Fixed: 2882729
2021-02-24 01:51:16 -08:00
snandini
92937e04e3 Release 5.2.0.223S
Release 5.2.0.223S

Change-Id: I013e1e579fc5d123dd0bfb935dee633a14c2b982
CRs-Fixed: 774533
2021-02-23 19:35:55 -08:00
Jianmin Zhu
2e1d0b45d4 qcacld-3.0: Remove wlan_reg_is_24ghz_ch and wlan_reg_is_5ghz_ch
Remove wlan_reg_is_24ghz_ch and wlan_reg_is_5ghz_ch in
wlan_hdd_send_avoid_freq_for_dnbs.

Change-Id: I5397e6bea3357a5793e30defa0cb05866cef15db
CRs-Fixed: 2881935
2021-02-23 19:35:54 -08:00
snandini
d71e47e1b3 Release 5.2.0.223R
Release 5.2.0.223R

Change-Id: I2ac5e02ce56d8a721bde3467e2a9a8b02c59751a
CRs-Fixed: 774533
2021-02-23 16:08:19 -08:00
Bapiraju Alla
bf38ea021f qcacld-3.0: Remove INI support for UNIFIED_LL_GET_STA command over QMI
With WMI_SERVICE_UNIFIED_LL_GET_STA_OVER_QMI_SUPPORT FW service
capability, the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete. Remove corresponding code from host driver.

Change-Id: I3fe59c5401ea13e8c6f209d2302bc1ecde449227
CRs-Fixed: 2849302
2021-02-23 16:08:08 -08:00
Jayachandran Sreekumaran
2b29dd5620 qcacld-3.0: Add support for connection failure cases with no roam_info
hdd_association_completion_handler function calls with
roam_info set to NULL are not handled. Due to this the conn_state
remains in eConnectionState_Connecting state. Hence add handling for
connection failure with no roam info.

Change-Id: Iaf12ce44fac62c021b9bc3dbc31624f3f98e1444
CRs-Fixed: 2876141
2021-02-23 16:07:49 -08:00
Vulupala Shashank Reddy
0c36fa7f8b qcacld-3.0: Update rssi and seqno as part of roam sync indication
Customer tries to trigger quick connect (connection without scan)
just after roaming and reading scan_cache_entry parameters. But
currently the scan_cache_entry parameters followed by roam sync
event are not filled properly.

To Fix this fill Rssi from roam sync indication fixed parameters
and fill seqno from frame mac header during roam sync indication.

Change-Id: Iebe817ac996ecca3998bcf25e62304797a70ea2b
CRs-Fixed: 2870742
2021-02-23 16:07:32 -08:00
Jianmin Zhu
51c2cfb549 qcacld-3.0: Replace channel with freq for 6G in wlan_hdd_conc_ut.c
Replace  WLAN_REG_IS_24GHZ_CH with WLAN_REG_IS_24GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.
Replace WLAN_REG_IS_5GHZ_CH with WLAN_REG_IS_5GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.

Change-Id: I9c4ccf5bced3202df0a6b9be9d7c2639704db838
CRs-Fixed: 2759282
2021-02-23 16:05:10 -08:00
CNSS_WLAN Service
e63bf35b45 Merge "qcacld-3.0: Add INI param to read MAC address from MAC cfg file" into wlan-cld3.driver.lnx.2.0 2021-02-22 22:28:39 -08:00
CNSS_WLAN Service
e2ca533281 Merge "qcacld-3.0: Fix country IE validation logic" into wlan-cld3.driver.lnx.2.0 2021-02-22 22:28:37 -08:00
CNSS_WLAN Service
b9740bc744 Merge "qcacld-3.0: Add fixes related to 6ghz vlp feature" into wlan-cld3.driver.lnx.2.0 2021-02-22 22:28:36 -08:00
CNSS_WLAN Service
fe9ccbca6d Merge "qcacld-3.0: Move LFR2 code under connection manager flag" into wlan-cld3.driver.lnx.2.0 2021-02-22 22:28:35 -08:00
Bapiraju Alla
f94358e440 qcacld-3.0: Add INI param to read MAC address from MAC cfg file
Currently, Driver reads MAC address from MAC cfg file if it is present.
Kernel has a timeout of 60secs and userspace tries to loop till the
file is read if it is during the boot. So this will result in dsc
transaction timeout if the MAC cfg file is not present in the device.

To avoid this, add INI parameter to read this MAC cfg file and enable
it only when the MAC cfg file is present in the device.

Change-Id: I0bd9c089b6077534a07cb68deb07feb6064a5b88
CRs-Fixed: 2877424
2021-02-22 22:17:14 -08:00
Lincoln Tran
76c8aae668 qcacld-3.0: Fix country IE validation logic
Update the logic to fix a potential memory leak when there is an
invalid country IE. Also update the logic to not reject the connection
in the case of an invalid country IE, since this is a bad user
experience.

Change-Id: I6a2b50a483e65554a6622dccbb0bac61331fc4fb
CRs-fixed: 2883385
2021-02-22 22:17:09 -08:00
Lincoln Tran
c66b00c8a0 qcacld-3.0: Add fixes related to 6ghz vlp feature
Fix the PSD start freq calculation for sap case.
Also, remove duplication of 6ghz freq checks in
tpc power calculation api.

Change-Id: I5f1773b551ff7b893514b5c7720c6684fc100077
CRs-fixed: 2879460
2021-02-22 22:17:05 -08:00
gaurank kathpalia
dd6f134f2d qcacld-3.0: Move LFR2 code under connection manager flag
Move LFR2 code under connection manager flag.

Change-Id: Ic82817a3265af0342cf317ec4f9f086f1a70bef0
CRs-fixed: 2883189
2021-02-22 19:55:21 +05:30
CNSS_WLAN Service
d2fb85c4a1 Merge "qcacld-3.0: Assert when failed to parse at least one INI param" into wlan-cld3.driver.lnx.2.0 2021-02-22 05:57:25 -08:00
Bapiraju Alla
06eba18824 qcacld-3.0: Assert when failed to parse at least one INI param
INI parameters are configured based on requirement. It is expected
that atleast one parameter should be configured through INI file.

To mandate this, trigger assert when failed to parse atleast one INI
parameter from INI file.

Change-Id: Ia94f9ae9ce91d7e57f7a6be6c6f955de5ba860a4
CRs-Fixed: 2881695
2021-02-22 19:21:23 +05:30
CNSS_WLAN Service
8c96ae3f46 Merge "qcacld-3.0: Update Android.mk for GKI module installation" into wlan-cld3.driver.lnx.2.0 2021-02-19 19:11:20 -08:00
Manikandan Mohan
cd320ee18a qcacld-3.0: Update Android.mk for GKI module installation
For Generic Kernel Image builds kernel scripts take care of module
installation on required parition. Thus update wlan driver Android.mk
to not create symlink if WIFI_DRIVER_INSTALL_TO_KERNEL_OUT is set to
true by GKI enabled android build system.

Change-Id: Ie0b6de98ead5f7e5eba106f0a98901f6c7ee3861
CRs-fixed: 2881952
2021-02-19 19:02:56 -08:00
snandini
f27b940b52 Release 5.2.0.223Q
Release 5.2.0.223Q

Change-Id: I96335b57499ff142b365f7cc7e2487a420d318c6
CRs-Fixed: 774533
2021-02-19 13:44:54 -08:00
gaurank kathpalia
a06175edf3 qcacld-3.0: Add roaming support in hdd for conenction manager
Add roaming support in hdd for conenction manager.

Change-Id: Id93e3411ab8dedca89768042b5fc96b318447846
CRs-fixed: 2881820
2021-02-19 13:44:53 -08:00
snandini
02b7000b99 Release 5.2.0.223P
Release 5.2.0.223P

Change-Id: If0163b9646db30e887ca00cd88e5582b9e9f6efa
CRs-Fixed: 774533
2021-02-19 11:41:13 -08:00
gaurank kathpalia
b72cc7d043 qcacld-3.0: Move cb mode API to use from CSR and LIM
Move cb mode API to use from CSR and LIM.

Change-Id: Id389677ca99be633077fed56d44d289a957ccadf
CRs-fixed: 2881881
2021-02-19 11:41:13 -08:00
snandini
5d0e831bee Release 5.2.0.223O
Release 5.2.0.223O

Change-Id: Iccbdeb22ea6f8735d73506fc8f8fa8c93c29e2db
CRs-Fixed: 774533
2021-02-19 07:48:08 -08:00
Liangwei Dong
4cdd1268af qcacld-3.0: Validate total channel stats number from target
In certain case, the hdd_llstats_radio_fill_channels failed to
put more nl attribute for channel stats to upper layer.
Add validation of total channel stats number received from target
to avoid exceeding NUM_CHANNELS. And change error log to include
more debug information.

Change-Id: Ifaf3cf6cd643a3fe87bf7664727da19951f41e93
CRs-Fixed: 2865770
2021-02-19 07:48:08 -08:00
snandini
eaca635766 Release 5.2.0.223N
Release 5.2.0.223N

Change-Id: I1b96f22b5d61b849bf10e84a267f714db7c017a0
CRs-Fixed: 774533
2021-02-19 05:39:51 -08:00
Abhishek Ambure
e546874794 qcacld-3.0: Set OCV flag in wiphy ext feature
Host checks if firmware advertises Operating channel validation(OCV)
support bit in service ready then updates OCV flag in wiphy ext feature.

Change-Id: I92f872a07e6f7142e602e6a9e5f5edcecc0aab0b
CRs-Fixed: 2880821
2021-02-19 05:39:51 -08:00
snandini
6ca464369f Release 5.2.0.223M
Release 5.2.0.223M

Change-Id: I03aec79baebd2ff0626d5b17cffa67000484ee1b
CRs-Fixed: 774533
2021-02-18 23:58:14 -08:00
gaurank kathpalia
0e06319d7e qcacld-3.0: Refactor connection manager connect code
Refactor connection manager connect code.

Change-Id: I34379170595637159ba13970fec8b9bff3620cc3
CRs-Fixed: 2880933
2021-02-18 23:58:14 -08:00
snandini
7cff709084 Release 5.2.0.223L
Release 5.2.0.223L

Change-Id: I8b2153460a09aa04766d4644233d428eb3913efb
CRs-Fixed: 774533
2021-02-18 14:14:07 -08:00
Abhishek Singh
0c3c0b153a qcacld-3.0: Fix connection with PMF required AP
rso config is not updated from connect profile and thus the PMF
required is not set and thusconnect fails with PMF required AP.

Fix is to update the rso config during connect req from profile.

Change-Id: I4a6ee6ef54358a59c169bf3f495483b3b4a105df
CRs-fixed: 2880665
2021-02-18 14:14:07 -08:00
Vevek Venkatesan
d01d8ce465 qcacld-3.0: add NULL check before calling rps_enable cb
Add a NULL check before calling rps_enable callback
from ipa_set_rps_per_vdev and also add a check to avoid
disabling rps twice.

Change-Id: Ib63b2cda99aa332905df640ffa2d401c22845ad2
CRs-Fixed: 2876490
2021-02-18 14:14:02 -08:00
snandini
03c4b9c359 Release 5.2.0.223K
Release 5.2.0.223K

Change-Id: I34220756d81def023d398aeb462e23967c96c8e6
CRs-Fixed: 774533
2021-02-18 12:06:47 -08:00