Commit Graph

21283 Commitit

Tekijä SHA1 Viesti Päivämäärä
Lincoln Tran
a92a1a0f8b qcacld-3.0: Update default band to include all bands
Currently, QCA_SETBAND_AUTO is backwards compatible, so it is set
to include only 2G and 5G bands. Update this to include 6G bands
as well. Also update the band capability INI to have the default
value 0 include 6G bands.

Change-Id: I98067c18e939ff4c1e7b1e778b020b44409b5b34
CRs-fixed: 2799883
2020-10-19 14:59:02 -07:00
snandini
3fb77d35c4 Release 5.2.0.206U
Release 5.2.0.206U

Change-Id: Ib4929810166519163acd552d36db9e7769af030e
CRs-Fixed: 774533
2020-10-19 12:58:38 -07:00
Yeshwanth Sriram Guntuka
6884f4bea0 qcacld-3.0: Enable packet drop on non-monitoring MAC
Enable the feature flag to drop packets on non
monitoring RXDMA2SW ring.

Change-Id: I49cb276827f4a06791183ee3fe8c88ba84df085d
CRs-Fixed: 2799988
2020-10-19 12:58:38 -07:00
snandini
2e11e31ce0 Release 5.2.0.206T
Release 5.2.0.206T

Change-Id: Ic5d9a69020e6aa3b3c43e7f69d8254507167bed0
CRs-Fixed: 774533
2020-10-19 00:19:08 -07:00
Jia Ding
94c3ac7456 qcacld-3.0: Populate HE PPET for SET_IE cmd
In lim_send_he_caps_ie(), properly populate ppet info when
sending WMI_VDEV_SET_IE_CMDID.

Change-Id: Ia93b7da91dee6c4e4abe43266cf2b03c2b5b3eb8
CRs-Fixed: 2776768
2020-10-19 00:19:08 -07:00
snandini
a3dfec6efa Release 5.2.0.206S
Release 5.2.0.206S

Change-Id: I84449f6693d589fb26cec5eecbef63e1ef8b8b4f
CRs-Fixed: 774533
2020-10-18 15:08:51 -07:00
Abhinav Kumar
ffc3d54e1f qcacld-3.0: Resolve compilation error
Resolve compilation error by enabling
CONFIG_WLAN_TRACE_HIDE_MAC_ADDRESS := y

Change-Id: If1612a67088dfb18300cfee821a9394f941ac3fe
CRs-Fixed: 2797229
2020-10-17 15:18:32 -07:00
snandini
6aca19133a Release 5.2.0.206R
Release 5.2.0.206R

Change-Id: Ia5b740f609ec9bc184ae6192193c173e99fe1f04
CRs-Fixed: 774533
2020-10-16 23:43:48 -07:00
Alan Chen
d0f9829c04 qcacld-3.0: Add if check before calling cds_force_assert_target()
If CNSS function pld_force_collect_target_dump() returns 0, this means
that FW is already asserted and should not call cds_force_assert_target().
Add an if check for pld_force_collect_target_dump() to only call
cds_force_assert_target() when it is not 0.

Change-Id: Ib784c1a406b93327942164a975994065149aed90
CRs-Fixed: 2799461
2020-10-16 23:43:48 -07:00
snandini
f34b33468b Release 5.2.0.206Q
Release 5.2.0.206Q

Change-Id: Ic32bf59095e806effebbc45ee594778168d33c52
CRs-Fixed: 774533
2020-10-16 17:37:59 -07:00
Nisha Menon
3acddc2be1 qcacld-3.0: Add feature to enable generic shadow reg write
Add feature GENERIC_SHADOW_REGISTER_ACCESS_ENABLE to enable
shadow reg write for generic shadow registers.
This is enabled only for HSP.

Change-Id: I90302aa050baa9128313dbaf0c4ab57e426289b3
CRs-Fixed: 2794917
2020-10-16 17:37:59 -07:00
snandini
aacf0568c4 Release 5.2.0.206P
Release 5.2.0.206P

Change-Id: I617c776125d8b61bfb642f448567ed53258631e0
CRs-Fixed: 774533
2020-10-16 10:58:48 -07:00
Pragaspathi Thilagaraj
789a23ef9f qcacld-3.0: Update mobility domain in RSO command
The MDID is not updated in RSO command. So FT roaming
failure happens.

Update the MDID in RSO commands.

Change-Id: Ie68b379ab29c063c90d8461d0be34fd09a105e3f
CRs-Fixed: 2795319
2020-10-16 10:58:48 -07:00
snandini
8a1fc4530a Release 5.2.0.206O
Release 5.2.0.206O

Change-Id: I4a26a5741885531866f24a7de19925deb132fac5
CRs-Fixed: 774533
2020-10-16 08:59:20 -07:00
Arun Kumar Khandavalli
b4158a3455 qcacld-3.0: Free scan ie's as part of uninit cfg80211 ops
During SSR with the new changes the stop adapter would be invoked,
this would free the scan ie's and will not be able to configured
after the SSR.

Free the scan ie's as part of the uninit which would be called as
part of the netdev down.

Change-Id: I781eefbf0ae7a9e64bc6cb2ead98f45919587f64
CRs-Fixed: 2724670
2020-10-16 08:59:20 -07:00
snandini
d36de62369 Release 5.2.0.206N
Release 5.2.0.206N

Change-Id: Ib5c949f0c6203625bfb09cc96c69c5ca09c22f72
CRs-Fixed: 774533
2020-10-16 05:01:25 -07:00
Wu Gao
515ff34742 qcacld-3.0: Fix implicit-fallthrough compile error about connection mgr
Compiling connection mgr by gcc 9.3 will cause many implicit-fallthrough
compile errors.
Fix is to add keyword fallthrough to resolve such compile error.

Change-Id: I02fb3ff12d8cea81ce160b3aec1f590faf83a031
CRs-Fixed: 2798881
2020-10-16 05:01:24 -07:00
snandini
6536890187 Release 5.2.0.206M
Release 5.2.0.206M

Change-Id: If95040b467613cfa2d59b7c0a67fdbbfed304e27
CRs-Fixed: 774533
2020-10-15 23:51:54 -07:00
Deeksha Gupta
0eebd68a1e qcacld-3.0: Change the vendor attributes name in wake lock stats
Wake lock stats vendor command attribute names
in the driver are different from the attribute
names in upstream qca-vendor.h.

Change the wake lock stats attributes name in driver.

Change-Id: If9dbd46482f2f65758ea90aebdd078c1a30d5bef
CRs-Fixed: 2789539
2020-10-15 23:51:54 -07:00
snandini
4097383fe6 Release 5.2.0.206L
Release 5.2.0.206L

Change-Id: Ib8fbc5a848a72d9ed100c03c93bcc1136ec278ef
CRs-Fixed: 774533
2020-10-15 18:50:42 -07:00
Kiran Kumar Lokere
565ba93017 qcacld-3.0: Fix the band setting for auto phy mode config
Enable 6G band for auto phy mode config if 6G is supported.

Change-Id: I3368b7e81721db32aee64f9b24e00fb18c84b716
CRs-Fixed: 2793729
2020-10-15 18:50:42 -07:00
snandini
67a70fc654 Release 5.2.0.206K
Release 5.2.0.206K

Change-Id: I08aebbd806ff4b8fda6f638a019c943fbca96040
CRs-Fixed: 774533
2020-10-15 11:42:15 -07:00
Abdul Muqtadeer Ahmed
8ee3a92264 qcacld-3.0: Check for WMI_SERVICE_THERM_THROT and Thermal Mitigation
WMI send command WMI_PDEV_GET_TEMPERATURE_CMDID to FW without
checking whether WMI_SERVICE_THERM_THROT and Thermal Mitigation
is enable or disable.

To address this issue add a check whether WMI_SERVICE_THERM_THROT
and Thermal Mitigation is enable or disable.

Change-Id: I1485b2ba6ee64143c9b7d4c8c4a8feadddbaae59
CRs-Fixed: 2698143
2020-10-15 11:42:14 -07:00
snandini
6fa2a38ee7 Release 5.2.0.206J
Release 5.2.0.206J

Change-Id: I4ce4065f64537b304376275686e308a5e3bc0e68
CRs-Fixed: 774533
2020-10-15 09:38:37 -07:00
Subrat Dash
17a385b328 qcacld-3.0: Enable skip GRO flush logic
Skip GRO flush for low rx throghput.

Change-Id: Ie49a4fc5f7d940f9246392b6b6d248add71cc667
CRs-Fixed: 2789695
2020-10-15 09:38:37 -07:00
snandini
37d6ed0f10 Release 5.2.0.206I
Release 5.2.0.206I

Change-Id: I5821a4cdd8abff4cd1f20f83f762e813ffad8e92
CRs-Fixed: 774533
2020-10-15 03:44:30 -07:00
Yu Wang
0d597c2e01 qcacld-3.0: report correct max tx rate
1. NSS from FW is not reliable as it changes as per the environment
   quality, so take static NSS for fetching max tx rate;
2. Fix the MCS index to 0 if it's invalid when fetching max tx rate;
3. Remove useless code in hdd_report_max_rates().

CRs-Fixed: 2777241
Change-Id: I065748b59feba6a61859fe58bb6429d96da50441
2020-10-15 03:44:30 -07:00
snandini
a7b85f50fb Release 5.2.0.206H
Release 5.2.0.206H

Change-Id: Iecf775edf589212f46b200bf8ea90c8df3f7910c
CRs-Fixed: 774533
2020-10-14 21:12:03 -07:00
Wu Gao
579c810302 qcacld-3.0: Fix compilation error caused by 64-bit division
The 64-bit division in 32-bit architecture call 64-bit-by-64-bit
division routines "__aeabi_uldivmod", which is not defined for
the 32-bit architecture.

Follow exist solution and use do_div asm-generic library api for
division operation.

Change-Id: I056f729e6f7586d26428868abd71acfd7130fdd8
CRs-Fixed: 2796163
2020-10-14 21:12:03 -07:00
snandini
81c679fb0f Release 5.2.0.206G
Release 5.2.0.206G

Change-Id: I2f25f5b6006c71cbb2f0a0dc1b664254db55082e
CRs-Fixed: 774533
2020-10-14 03:25:00 -07:00
Srinivas Girigowda
c590a15c17 qcacld-3.0: Add caller function name to cds_get_context()
Add caller function name to cds_get_context() to log incase
of error. Hence calling functions can avoid logging in case if
cds_get_context() returns NULL. This reduces logging and
thereby memory foot print.

Change-Id: I2fce65c020ccd0e8545c38ca2528392ccfd3bd92
CRs-Fixed: 2795670
2020-10-14 03:25:00 -07:00
Jia Ding
7ebfcd460b qcacld-3.0: Intersect 40 MHz channel width in 2.4 GHz band
When sending WMI_VDEV_SET_IE_CMDID, do an intersection between
gChannelBondingMode24GHz and target capabilities for 40 MHz
channel width support and 20 MHz in 40 MHz HE PPDU in HE PHY
capabilities IE.

Change-Id: I9c2b3200f35fa6ffb11e5165cec64a23645241c3
CRs-Fixed: 2738040
2020-10-14 03:24:54 -07:00
Xin Deng
db68cb6c8b qcacld-3.0: enhance the soft link creation on auto platform
Currently WCNSS_qcom_cfg.ini soft link is generated only when
GENER_ODM_IMAGE is not defined. However, the judgement made
based on GENER_ODM_IMAGE will cause a driver load failure on
talos_au.

With this enhancement, WCNSS_qcom_cfg.ini soft link will be
generated when:
 1)GENERIC_ODM_IMAGE is not true, or
 2)TARGET_BOARD_AUTO is true

Change-Id: Ia5f138761da12f2cd14a3c033bdb113d3b47e5fe
CRs-Fixed: 2776869
2020-10-14 03:24:49 -07:00
snandini
c7e1f8da10 Release 5.2.0.206F
Release 5.2.0.206F

Change-Id: If43873086d1cdb93328eda9caf5d0125d77021e0
CRs-Fixed: 774533
2020-10-13 23:18:32 -07:00
Min Liu
47d4029c67 qcacld-3.0: API to report congestion
API to report congestion to userspace.

Change-Id: I324ae6701dace590daaa2c3f80412d6633cbf8f0
CRs-Fixed: 2766432
2020-10-13 23:18:32 -07:00
snandini
f1a04e6d05 Release 5.2.0.206E
Release 5.2.0.206E

Change-Id: Iccffdbaa467e6eaf8e208f1ec53e8ffc27bfb5d9
CRs-Fixed: 774533
2020-10-13 21:19:22 -07:00
Jingxiang Ge
6d1a4bee95 qcacld-3.0: Add vendor cmd for ANI
Add vendor cmd for ANI. and it will set WMI_PDEV_PARAM_ANI_ENABLE
and WMI_PDEV_PARAM_ANI_OFDM_LEVEL.

Change-Id: Id98ef42a99879a0ee435219f11fde8c00ad1f8a3
CRs-Fixed: 2780131
2020-10-13 21:19:21 -07:00
snandini
1bd992b1de Release 5.2.0.206D
Release 5.2.0.206D

Change-Id: I09190100ebb84f2e53916dbb97bdd90440a59965
CRs-Fixed: 774533
2020-10-13 15:28:18 -07:00
Ananya Gupta
bbe449f218 qcacld-3.0: Call cdp function to deregister IPA handler from pdev
A htt message arrived after ipa context is freed as part of
deinitialization which was dereferenced by event handler
assigned to pdev->ipa_uc_op_cb, resulting in crash.
To fix this, cdp function is called during deinit to
deregister pdev->ipa_uc_op_cb and assign it NULL. Also, adding
NULL check in wlan_ipa_uc_op_cb. Also, registering ipa_uc_op_cb
after work is created so as to not hit condition where work is
scheduled before creation.

Change-Id: Ib79136b1122625079d8173a401dba5516126c621
CRs-Fixed: 2794663
2020-10-13 15:28:18 -07:00
snandini
9078ea1486 Release 5.2.0.206C
Release 5.2.0.206C

Change-Id: Iab6476c789c751e1366a5e643c90e931f7fc66f4
CRs-Fixed: 774533
2020-10-13 08:53:21 -07:00
Utkarsh Bhatnagar
c540feee3d qcacld-3.0: Don't connect in 11ax if peer ldpc is disabled
Don't connect in HE mode if the AP operating in 2.4 GHz does not
support LDPC coding.
Also, some peers which operate on 2.4 ghz and don't support LDPC
coding, might satisfy the condtions which is used to force enable
ldpc coding bit. If this bit is set, the peer doesn't support ldpc,
it  might fail to connect.
To fix this, force enable ldpc coding only when peer is operating
in 5/6 Ghz along with the already existing conditions.

Change-Id: I4b424833bbf845de17acc0907e1098c0a01b3ee5
CRs-Fixed: 2760506
2020-10-13 08:53:21 -07:00
Srinivas Dasari
99903ae1ab qcacld-3.0: Don't delete hw_filter for NDI mode
Hardware filters are supported for STA and P2P client modes only.
It's not supported/configured for NDI mode but the
WMI_HW_DATA_FILTER_CMDID is sent to firmware with disable flag
to flush the filter. Avoid sending it for NDI vdev.

Change-Id: I34d87a4d00138386affcedecd20b7ccc90fbd05e
CRs-Fixed: 2795980
2020-10-13 08:53:17 -07:00
snandini
68f9ff4199 Release 5.2.0.206B
Release 5.2.0.206B

Change-Id: I4a40cb6c6643df05de754b1aa93bd00fd6dc8222
CRs-Fixed: 774533
2020-10-13 06:50:44 -07:00
Utkarsh Bhatnagar
094575c53f qcacld-3.0: Change default value of gReportMaxLinkSpeed
Change the default value of in CFG_REPORT_MAX_LINK_SPEED
to CFG_STATS_LINK_SPEED_REPORT_ACTUAL instead of
CFG_STATS_LINK_SPEED_REPORT_MAX_SCALED so that
gReportMaxLinkSpeed uses the default value as zero which
was previously 2.

Change-Id: I459c807b1738e21a28c5b51e2eeb6a4bccb78662
CRs-Fixed: 2787888
2020-10-13 06:50:44 -07:00
snandini
27ad57e085 Release 5.2.0.206A
Release 5.2.0.206A

Change-Id: I5afbf44bbc0be08837b634103da6f96d901521b0
CRs-Fixed: 774533
2020-10-13 04:13:15 -07:00
Chaoli Zhou
221e7e425e qcacld-3.0: Enable/Disable intrabss for Rome IPA
In the Rome IPA case, it need wlanhost side to
enble/disable intrabss by WMI_VDEV_PARAM_INTRA_BSS_FWD.
If set to 1, the ip data transfer between two wlan clients
should be:
wlan client1 -> wlan fw -> wlanhost -> wlan fw-> wlan client2.
If set to 0, the ip data transfer between two wlan cleints
should be:
wlan client1 -> wlan fw -> ipa -> wlan fw -> wlan clients2.

Change-Id: I105ddbdb58f2cd01bdf94521bd7934508889de5d
2020-10-13 04:13:15 -07:00
snandini
642f399756 Release 5.2.0.206
Release 5.2.0.206

Change-Id: I6ad8ae1aaafcd1adaa78ebf0befbe4dc91fa908b
CRs-Fixed: 774533
2020-10-12 22:11:01 -07:00
Alan Chen
827413768c qcacld-3.0: Remove gOclCfg ini
gOclCfg is no longer supported and is being overwritten by
FW init config. Thus, remove gOclCfg ini from code.

Change-Id: Idf4d5280043a47650a68dc2159c386d94b0be5e9
CRs-Fixed: 2791392
2020-10-12 22:11:01 -07:00
snandini
8e166d52e9 Release 5.2.0.205Z
Release 5.2.0.205Z

Change-Id: I8dffa7e95e3cf44dd32531370c86caed54f3b329
CRs-Fixed: 774533
2020-10-12 19:12:01 -07:00
Srinivas Dasari
376de8f82f qcacld-3.0: Fetch vdev from psoc in TDLS handlers
Currently, if the TDLS timer expires while the scheduler thread
is processing something(e.g., station vdev destroy), the handler
would be in wait queue and it gets called once the scheduler
thread is done with its current task(i.e., vdev deletion).
TDLS handler tries to use the vdev even it has just got freed,
which leads to use-after-free.
This happens because of the below,
1. vdev destroy notification has no knowledge of the TDLS timer
   expiry as timer_stop is used to stop the timer.
2. vdev is passed to TDLS handler as part of registration.

Fix:
1. Use timer_stop_sync in vdev_destroy_notification to make
   sure the handler is posted to scheduler thread if the timer
   had expired.
2. Get the vdev in handler from psoc instead of passing it to
   the timer handler. This can make sure the vdev is referred
   only if it exists.

Change-Id: I186fd0d44b2364ebb375a8445dd1239368543e7b
CRs-Fixed: 2792020
2020-10-12 19:12:01 -07:00