Commit Graph

22261 Commits

Author SHA1 Message Date
Jyoti Kumari
c56269e87a qcacld-3.0: Enhance existing ILP profiles setting
Currently, there are two ini option 0/1 to disable/enable ILP
profiles in HW.

Extend this option upto 3 where
0 indicates disable
1 indicates perf settings
2 indicates max power saving
3 indicates balanced settings

Change-Id: Iff41b92b84309a670e2ad301ee72fb3caaba3df3
CRs-Fixed: 2886526
2021-03-01 13:15:17 -08:00
snandini
ec62844a0f Release 5.2.0.224I
Release 5.2.0.224I

Change-Id: I1f74f9382ff9e9c071cd7e0f15621838177240aa
CRs-Fixed: 774533
2021-03-01 09:09:20 -08:00
gaurank kathpalia
88fddb8238 qcacld-3.0: Handle host roam start req
Handle host roam start req from firmware.

Change-Id: I53455c011e3737c9b4a52d54797e3224b98a628e
CRs-Fixed: 2888383
2021-03-01 09:09:20 -08:00
snandini
51f615c96d Release 5.2.0.224H
Release 5.2.0.224H

Change-Id: I61e38fcf8c54f2da0e7a662f58e583335e706486
CRs-Fixed: 774533
2021-03-01 01:52:49 -08:00
Vevek Venkatesan
8d02132dc6 qcacld-3.0: drop the Tx pkt if device is in system suspend
During suspend if the netif queue pause failed for some reason,
network stack may send the pkt for hard_start_xmit and will
crash due to device is in suspend state, so adding a check to
drop the pkt if device was already in system suspended.

Change-Id: I5b8f5511157f10e28297be4366fafe6e683c392b
CRs-Fixed: 2880892
2021-02-28 14:53:51 +05:30
snandini
3ed9fcd56c Release 5.2.0.224G
Release 5.2.0.224G

Change-Id: Ie3e275818aeb23e1f2051803a994a83d9ce9277c
CRs-Fixed: 774533
2021-02-26 11:50:25 -08:00
gaurank kathpalia
25d9a9c794 qcacld-3.0: remove duplicate struct tPmkidCacheInfo
Remove duplicate structure tPmkidCacheInfo and use
struct wlan_crypto_pmksa.

Change-Id: Ib1d19bcedd2c5e969366faa5ea817eb61e1f4224
CRs-Fixed: 2887413
2021-02-26 11:50:25 -08:00
gaurank kathpalia
758f6c8bc3 qcacld-3.0: Refactor the roaming code
Refactor the roaming code by moving to component.

Change-Id: I566967482ec3eb0d15d3ff357855b58b9579d3cf
CRs-Fixed: 2887126
2021-02-26 11:50:20 -08:00
snandini
ed0b0a6d11 Release 5.2.0.224F
Release 5.2.0.224F

Change-Id: I5dc2ce518149177b48e6c23a6a0da98691f5c4ea
CRs-Fixed: 774533
2021-02-26 09:39:48 -08:00
Pragaspathi Thilagaraj
8e170220f7 qcacld-3.0: Update peer TWT capabilities after roaming
While processing the roam synch indication reassoc response frame,
the new roamed peer object is not created. So call to
mlme_set_twt_peer_capabilities() to update the new peer capabilities
will fail with null peer object for new bssid. So after roaming,
update the peer TWT capabilities once the new peer object is
created.

Update peer TWT capabilities to new peer object after roaming to
avoid invalid peer capabilities.

Change-Id: Ic37bd4d96bf122b2ec3a60c1ae41650a672b9020
CRs-Fixed: 2870589
2021-02-26 09:39:47 -08:00
snandini
f6ccd15001 Release 5.2.0.224E
Release 5.2.0.224E

Change-Id: I5157f3273121b6696597dc3a4e4777480bface70
CRs-Fixed: 774533
2021-02-26 05:58:13 -08:00
Jianmin Zhu
acf4ec7a1e qcacld-3.0: Remove WLAN_REG_IS_5GHZ_CH
Remove WLAN_REG_IS_5GHZ_CH in cld

Change-Id: I7525f4490f865721bee3213fdffd586082724e4a
CRs-Fixed: 2883683
2021-02-26 05:58:12 -08:00
snandini
f24728d067 Release 5.2.0.224D
Release 5.2.0.224D

Change-Id: I5a7542826c8f470ac37b97116cc7995bf9561931
CRs-Fixed: 774533
2021-02-26 01:30:18 -08:00
bings
e7b16132a2 qcacld-3.0: Remove g_prefer_5g_scc_to_dbs
Remove g_prefer_5g_scc_to_dbs, and update PCL table
pm_second_connection_pcl_dbs_2x2_table.

For STA + GO concurrency if the second connection is GO,
perfer SCC to DBS, which makes GO get high throughput.

Change-Id: I0bf68662fc363a66c778904f9c12714407cd738a
CRs-Fixed: 2881383
2021-02-26 01:30:18 -08:00
snandini
583a0b95d8 Release 5.2.0.224C
Release 5.2.0.224C

Change-Id: I94dfdc1a40641f45605cb138e56d639e1b71f2fb
CRs-Fixed: 774533
2021-02-25 16:29:18 -08:00
Utkarsh Bhatnagar
68961616e9 qcacld-3.0: Fill MCS rates of peer for TDLS
Fill MCS rates of peer for TDLS change station.

Change-Id: I9d3306ec6ec2d876dadede60a616b2fcaf46236a
CRs-Fixed: 2886245
2021-02-25 16:29:18 -08:00
snandini
4451104ce1 Release 5.2.0.224B
Release 5.2.0.224B

Change-Id: Idda771d8ff5ac571e5c91433f8b6f6b94bed05d7
CRs-Fixed: 774533
2021-02-25 13:44:23 -08:00
Amruta Kulkarni
d3826cd961 qcacld-3.0: Add Reject AP to BLM list after context change
In scenario, when ROAM HO failure is piggybacked on WOW wake up,
the blm reject AP addition fails as mutex can't be acquired in
interrupt context. With this change, the reject bssid blm
addition will happen after changing context to scheduler thread.

Change-Id: I685501b7ea48e4461922a7a50fb39c52d4d607f3
CRs-Fixed: 2880712
2021-02-25 13:44:23 -08:00
Ashish Kumar Dhanotiya
520ebc7a41 qcacld-3.0: Restart SAP if current channel is disabled
Currently when host receives disable channels command, it
disables the channels and if SAP is on it checks if SAP is
on one of the disabled channels in that case host stops the
SAP.
Based on current requirement host should restart the SAP,
with this change add support to restart the SAP if it is
operating on disabled channel.

Change-Id: I89ce21a8707e2c0af0737116b883be13503044e0
CRs-Fixed: 2885308
2021-02-25 13:44:18 -08:00
snandini
2b0d248fd6 Release 5.2.0.224A
Release 5.2.0.224A

Change-Id: Ic84832caac07a60cf87ea40ee692a0f5fb588ce9
CRs-Fixed: 774533
2021-02-25 11:43:23 -08:00
Surabhi Vishnoi
5fd71222a8 qcacld-3.0: Fix incorrect condition for TSO frags in pkt capture
The number of fragments in TSO packet are assembled incorrectly
due to wrong loop condition in packet capture mode.
Fix the condition to assemble all segments of TSO packet
correctly in packet capture mode.

Change-Id: Ifd7be13e56c12b2cb4e6a5000b355c9fa972962d
CRs-Fixed: 2877021
2021-02-25 11:43:22 -08:00
snandini
56e87a1921 Release 5.2.0.224
Release 5.2.0.224

Change-Id: I63efd0c26e4c6c35d704723425e0a9891c88b40c
CRs-Fixed: 774533
2021-02-25 04:03:32 -08:00
Utkarsh Bhatnagar
fb5ff5a539 qcacld-3.0: Introduce 11ax capabilities for tdls
Introduce HE cap IEs in addstareq. Also, Add
HE capabilities in frames for TDLS Setup Req,
Setup Rsp, Discovery Rsp. Add He Operations
in TDLS setup Confirm.

Implement APIs under feature WLAN_FEATURE_11AX
which will be used to:
1) Fill HE capabilities in TDLS Discovery Response,
   TDLS Setup Request, TDLS Setup Response.
2) Fill HE operations in TDLS Setup Confirm.
3) Convert he_capa capabilities from station
   parameters to tdls tDot11fIEhe_cap type.
4) Set Chan width based on session, peer
   capabilities.

Change-Id: If36b1a3c3eed0e6026043494a097673f9d74b580
CRs-Fixed: 2883443
2021-02-25 04:03:32 -08:00
wadesong
b90ca5f670 qcacld-3.0: Fix a compilation error
Structure qca_wlan_vendor_ll_ext_policy's definition and all
references to it should be enclosed by macro
WLAN_FEATURE_LINK_LAYER_STATS to avoid any compilation errors.

Change-Id: I0c9b1a10302f49f810ff1c3eb9a0c4aa4ea86cbc
CRs-Fixed: 2885428
2021-02-25 04:03:27 -08:00
Karthik Kantamneni
153db6d0a5 qcacld-3.0: Fix race during peer deletion in roaming scenario
There is possiblity of peer being accesed in rx napi context,
when peer is getting freed up at same time from scheduler
thread context in roaming scenario.

To avoid this race free up the peer when unmap handlers received
from F.W for all the peer ids.

Change-Id: Ia0b1fcc6b56e91efe914ca431aeac6e83b773a81
CRs-Fixed: 2867382
2021-02-25 04:03:22 -08:00
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