Commit Graph

19555 Commits

Author SHA1 Message Date
nshrivas
889835e9f1 Release 5.2.0.187C
Release 5.2.0.187C

Change-Id: I279be3ba4cce2b836b4e2478089450ed6acd3050
CRs-Fixed: 774533
2020-05-21 14:13:37 -07:00
Srinivas Dasari
9484e68614 qcacld-3.0: Don't limit the max NDPs with a peer in host
Currently, host allows maximum MAX_NDP_INSTANCES_PER_PEER(2) NDPs
per peer. Framework may need more NDPs with the same peer when
multiple NDP applications are running. Firmware shall allow/reject
an NDP based on the max number of NDP connections allowed per peer.
It's platform specific and firmware shall take care of it.
Remove the check in host which limits this.

Change-Id: Ic43f6e2588a8ed8ffd7c8bb87d9b5656352e5cf7
CRs-Fixed: 2684987
2020-05-21 14:13:36 -07:00
nshrivas
f6f9dd9a20 Release 5.2.0.187B
Release 5.2.0.187B

Change-Id: Ibfdd6dcf54cd1d4ac10985eda8617a8106056490
CRs-Fixed: 774533
2020-05-20 23:47:33 -07:00
Aditya Kodukula
9684d8033e qcacld-3.0: Add a sysfs replacement for gtxBWMask
As part of WEXT replacement, replace gtx_bw_mask with a sysfs file.

file path: /sys/class/net/wlanxx/gtx_bw_mask
        wlanxx is adapter name

example: echo 1 > gtx_bw_mask

Change-Id: I40c0f611ca221c91c59d9a3f60927f841385c469
CRs-Fixed: 2686762
2020-05-20 23:47:33 -07:00
nshrivas
c1e2d8d463 Release 5.2.0.187A
Release 5.2.0.187A

Change-Id: I8a47d0578ed39ef894b8121dfc520820e76ad91d
CRs-Fixed: 774533
2020-05-20 22:11:20 -07:00
Aditya Kodukula
5bb4215e50 qcacld-3.0: Add a sysfs replacement for txrx_fw_st_rst
As part of WEXT replacement, replace txrx_fw_st_rst with a sysfs file.

file path: /sys/class/net/wlanxx/txrx_fw_st_rst
        wlanxx is adapter name

example: echo 1 > txrx_fw_st_rst

Change-Id: I654ea8b66e7067f0e1d23ff053fa4b8d163d878c
CRs-Fixed: 2686665
2020-05-20 22:11:20 -07:00
Aditya Kodukula
029a02db1a qcacld-3.0: Add a sysfs replacement for setwlandbg
As part of WEXT replacement, replace setwlandbg with a sysfs file.

file path: /sys/kernel/wifi/set_wlan_dbg

example: echo 1 1 1 > /sys/kernel/wifi/set_wlan_dbg

Change-Id: I886bcd0ed89460e20db1ea809fa48e3a279bb39b
CRs-Fixed: 2686081
2020-05-20 22:11:16 -07:00
Aditya Kodukula
f527f9aeb6 qcacld-3.0: Add a sysfs replacement for getStats
As part of WEXT replacement, replace getStats with a sysfs file.

file path: /sys/class/net/wlanxx/get_stats
	where wlanxx is adapter name

example: cat /sys/class/net/wlanxx/get_stats

Change-Id: I762f61304407876b61b6970688e3715612c60d35
CRs-Fixed: 2685602
2020-05-20 22:11:12 -07:00
Aditya Kodukula
e514533315 qcacld-3.0: Add a sysfs replacement for get_tx_stbc
As part of WEXT replacement, replace get_tx_stbc with a sysfs file.

file path: /sys/class/net/wlanxx/get_tx_stbc
	where wlanxx is adapter name

example: cat /sys/class/net/wlanxx/get_tx_stbc

Change-Id: I3024a574c7aa35398bd4c8ee30f8235ef2fe3128
CRs-Fixed: 2682374
2020-05-20 22:11:08 -07:00
nshrivas
561afc739c Release 5.2.0.187
Release 5.2.0.187

Change-Id: Ia960ea8031693b88d533a6cea87db5fb538beb49
CRs-Fixed: 774533
2020-05-20 15:20:01 -07:00
Manjunathappa Prakash
9e1e95c70f qcacld-3.0: Get back the WAR to confirm WBM IDLE ring LSB write
On Lahaina platform it is seen that WBM IDLE ring init is failing,
Write to WBM_IDLE link ring LSB write is failing.
Add temporary WAR to do back to back write of WBM IDLE link ring
LSB address config register.

Change-Id: Iccaf222038fb571ed518a90d7e7ac4e655ba5010
CRs-Fixed: 2690491
2020-05-20 15:20:00 -07:00
nshrivas
7f8418dad2 Release 5.2.0.186Z
Release 5.2.0.186Z

Change-Id: Icbc94f63422220961e32586a6589ffa17a2d0a2a
CRs-Fixed: 774533
2020-05-20 07:43:41 -07:00
Abhinav Kumar
3a4f8744b6 qcacld-3.0: Disable VHT in 2.4ghz HE mode if vendor vht INI is 0
Ini "gEnableVhtFor24GHzBand" is 0 to disable vendor VHT in HE
mode.

Fix is to disable VHT mode if HE mode in 2.4Ghz if
gEnableVhtFor24GHzBand is set to 0.

Change-Id: Ia4ae31440b5c018e58f9a03eb1e1c85832330431
CRs-Fixed: 2676984
2020-05-20 07:43:41 -07:00
Alan Chen
18f31f1c48 qcacld-3.0: Fix LL Timeout over Debugfs
Clear the stats bitmap properly such that LL stats is complete.

Change-Id: I1238c438e9d57000006ae46474569c4f2cf60e8f
CRs-Fixed: 2690186
2020-05-20 07:43:37 -07:00
nshrivas
75f27ace34 Release 5.2.0.186Y
Release 5.2.0.186Y

Change-Id: I2e8d290fa7147b7d3c0bc6759dd3c3961d53e743
CRs-Fixed: 774533
2020-05-20 06:12:26 -07:00
Alan Chen
b04e0e3c61 qcacld-3.0: Add a sysfs replacement for motion detection commands
As part of WEXT replacement, replace mt_bl_config, mt_bl_start,
mt_config, mt_start with a sysfs file.

file path: /sys/class/net/wlanxx/mt_bl_config
file path: /sys/class/net/wlanxx/mt_bl_start
file path: /sys/class/net/wlanxx/mt_config
file path: /sys/class/net/wlanxx/mt_start
        wlanxx is adapter name

example: echo 1 1 1 1 > mt_bl_config
example: echo 1 > mt_bl_start
example: echo 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > mt_config
example: echo 1 > mt_start

Change-Id: Ife5df2cfae7c9489d6e9d6c2746a1e7367ed5012
CRs-Fixed: 2686772
2020-05-20 06:12:26 -07:00
Alan Chen
3290e55248 qcacld-3.0: Add a sysfs replacement for thermal_cfg
As part of WEXT replacement, replace thermal_cfg with a sysfs file.

file path: /sys/kernel/wifi/thermal_cfg

example: echo 1 1 1 1 1 2 1 > thermal_cfg

Change-Id: I4dfb9f661154f001150a205ca2ba4d08c3da8361
CRs-Fixed: 2685723
2020-05-20 06:12:23 -07:00
Alan Chen
bb1227276b qcacld-3.0: Add a sysfs replacement for get_temp
As part of WEXT replacement, replace get_temp with a sysfs file.

file path: /sys/class/net/wlanxx/get_temp
	where wlanxx is adapter name

example: cat /sys/class/net/wlanxx/get_temp

Change-Id: I6e530562347c936fb980f4eed4c3a55cb9804bdd
CRs-Fixed: 2684669
2020-05-20 06:12:19 -07:00
nshrivas
f516576fcf Release 5.2.0.186X
Release 5.2.0.186X

Change-Id: Id26d0b38e2a6e5c54c743b00ae8bc251e20de043
CRs-Fixed: 774533
2020-05-20 04:51:34 -07:00
Will Huang
e5e99d45aa qcacld-3.0: Enable 11d feature for AUTO
To enable 11d feature, CONFIG_TARGET_11D_SCAN should be configured
independent of host 11d scan or target 11d scan.

Change-Id: Ieb5b3ff4217682fcc887aaaa1a22ec23cee33109
CRs-Fixed: 2679788
2020-05-20 04:51:34 -07:00
nshrivas
6f002b687c Release 5.2.0.186W
Release 5.2.0.186W

Change-Id: I26d07c1866325eaf22476e5fab87efaf42f98a3e
CRs-Fixed: 774533
2020-05-20 03:31:18 -07:00
Liangwei Dong
1e9d981107 qcacld-3.0: Sync csr_roamProfile.ch_params with sap ctx
The mhz_freq_seg0 & mhz_freq_seg1 fields are not assigned
with values from sap ctx.
Fix by copy the whole the struct of "ch_params" to
csr_roamProfile.ch_params instead of one by one.

Change-Id: I92d7bc6ddeed1038597c7639d41fca059bf13457
CRs-Fixed: 2688693
2020-05-20 10:07:33 +08:00
nshrivas
2879bf9bf9 Release 5.2.0.186V
Release 5.2.0.186V

Change-Id: I62adf83a09b3c65304e3f8c01b7e6f96b3657070
CRs-Fixed: 774533
2020-05-19 18:00:55 -07:00
gaurank kathpalia
6000545045 qcacld-3.0: Fix RSN parsing issues in lim_check_rsn_ie
In lim_check_rsn_ie, driver first upack the RSN IE and then do pack,
During unpack RSN_Cap_present is set to 0, in case pmkid and grp
mgmt cipher is not present. Also if pmkid is not present during pack
mgmt grp cipher is not added.

This lead to RSN caps not filled and thus PMF capability
is not determined leading to PMF cert failures.

So do not reset rsn caps and consider grp mgmt ciper.
Also in lim_check_rsn_ie use the preexisting RSN IE instead
of creating the IEs again.

Change-Id: Icc360b2eed0197fcf1ae27a0ff6ae9879b45cf2b
CRs-Fixed: 2690029
2020-05-19 18:00:54 -07:00
nshrivas
7074930c61 Release 5.2.0.186U
Release 5.2.0.186U

Change-Id: I65090462389a80a01f74d48499e8db8c356524c8
CRs-Fixed: 774533
2020-05-19 16:08:21 -07:00
Srinivas Dasari
ad5a78ee9e qcacld-3.0: Send disconnect reason code as 0 for beacon miss
Currently, host driver sends disconnect reason code as
WLAN_REASON_UNSPECIFIED(1) when the station disconnects due to
continuous beacon miss and corresponding vendor specific reason
code is also sent to userspace. This change is introduced with
the commit I99bf4573b59dc810e0a1529fcd48061d10acae4e to
provide vendor specific reason codes for all internal
disconnections.
Driver used to send reason code as 0 for beacon miss before
this change. Few applications might still expect the same
reason code(0) and current behavior causes backward compatibility
issues. So, retain the same reason code 0 for beacon miss failure.

Change-Id: I82f215ba15ff6e215cb14ac08933e1491371dfde
CRs-Fixed: 2689257
2020-05-19 16:08:20 -07:00
nshrivas
060bbe47dd Release 5.2.0.186T
Release 5.2.0.186T

Change-Id: I6712755d83e98c0a67ed3f7e534512ef976acf40
CRs-Fixed: 774533
2020-05-19 14:47:09 -07:00
Rakesh Pillai
523a702050 qcacld-3.0: Remove bus bw vote when bus bw timer is stopped
Currently the driver votes for IDLE case when no
interface is associated. If the bus bandwidth timer
is stopped when there is no interface, we are not reducing
our votes, thereby causing higher power usage.

Remove our voting for bus bandwidth when the bus
bandwidth timer is stopped.
Also in the wlan resume case, vote for MEDIUM bus
bandwidth only if any interface is associated, else
vote for NONE.

Change-Id: I6cbe7f32036219b3b8914fb096562f44559931ce
CRs-Fixed: 2688853
2020-05-19 14:47:09 -07:00
Utkarsh Bhatnagar
17b2fc57d7 qcacld-3.0: Remove unused CFG CFG_RMC_ACTION_PERIOD_FREQUENCY
RMC is IBSS specific and CFG_RMC_ACTION_PERIOD_FREQUENCY is not used
now so remove the same

Change-Id: Icafff4bd7eb508d92c383861300146e3a0f2def7
CRs-Fixed: 2689882
2020-05-19 14:47:05 -07:00
nshrivas
2b7fc77cb9 Release 5.2.0.186S
Release 5.2.0.186S

Change-Id: I6b7c04c817340e02befb46fdb6db90373683cf47
CRs-Fixed: 774533
2020-05-19 08:40:58 -07:00
Srikanth Marepalli
ec2675cd04 qcacld-3.0: Add support for WPA3 SuiteB roaming
This commit enables support for SuiteB roaming for SHA384.
Based on the WPA3 SuiteB roam service capability advertisement
received from Firmware, we enable the support in Host.

Change-Id: Iab4e6bfc9c8ba7d604c2720c8cb848fce40dd6b4
CRs-Fixed: 2685975
2020-05-19 08:40:58 -07:00
Ben Wang
308c352957 qcacld-3.0: Add idle shutdown for virtual interface stop
Because FW don't support idle pdev suspend, and when all interface down
host will not send wow enable command because wakeup is not expected.
The idle shutdown precedure already exist for station mode, apply it to
virtual interface as well.Otherwise, it will cause wlan suspend failed

Change-Id: I5bde36298b1484b09b1bb52cf79841f99d5324be
CRs-Fixed: 2668600
2020-05-19 08:40:53 -07:00
nshrivas
c110038b83 Release 5.2.0.186R
Release 5.2.0.186R

Change-Id: I54d555824bd0b597e0d1494dcf0da34ec16d549b
CRs-Fixed: 774533
2020-05-19 07:22:08 -07:00
gaurank kathpalia
7ff0f92346 qcacld-3.0: Remove IBSS related INI and CFG
Remove IBSS related INI and CFG.

Change-Id: Iedebb858448d900bf4909fe5cafc2092baa60285
CRs-Fixed: 2687119
2020-05-19 07:22:08 -07:00
nshrivas
6bdd0a6989 Release 5.2.0.186Q
Release 5.2.0.186Q

Change-Id: Iaba2d949bb5a4eab4910d90f6e1cb1b32d24266b
CRs-Fixed: 774533
2020-05-18 08:45:10 -07:00
Will Huang
090fd3afad qcacld-3.0: Enable maximum 4 vdevs for Genoa auto
There is requirement to support maximum 4 devs on Genoa,
like sta + p2p + dual band sap, change CONFIG_WLAN_MAX_VDEVS from
3 to 4 for Genoa auto.

Change-Id: I17604b0ff191bf8ee13ebb48004c893f1fb353c2
CRs-Fixed: 2674091
2020-05-18 08:45:09 -07:00
nshrivas
53a07a0333 Release 5.2.0.186P
Release 5.2.0.186P

Change-Id: Ied4761b4198b8ed9c7ef420f3be8b8009d034a42
CRs-Fixed: 774533
2020-05-18 05:51:27 -07:00
Abhinav Kumar
19369442ae qcacld-3.0: Use status for Peer Assoc Conf event
After receiving PEER_ASSOC_CMD from host, FW sends Peer Assoc
Conf event as ACK of PEER_ASSOC_CMD. After that, host sends Mx
(STA:M2/M4) messages.

Currently, FW sends Peer Assoc Conf event to HOST only in
success case and HOT fills event status as success always.

As per requirement, FW now sends Peer Assoc Conf event to HOST
in failure case. So now host should update event status whatever
coming from FW.

Fix is to update proper Peer Assoc Conf event status

Change-Id: I7e1aa808e1beece23a5dfc0c120765e389e3f0f9
CRs-Fixed: 2640242
2020-05-18 05:51:27 -07:00
nshrivas
1b9c3d7417 Release 5.2.0.186O
Release 5.2.0.186O

Change-Id: If2142b39de64838a0bfd68792a915f63bdbbc487
CRs-Fixed: 774533
2020-05-18 04:28:39 -07:00
Mohit Khanna
c8fb78d82d qcacld-3.0: Move BW voting to bus suspend/resume
Current during system suspend/resume, we remove/add votes for DDR/SNOC
during cfg80211 suspend/resume functions. However, check for pending TX
completions and RX softirq processing happens in the bus suspend
functions which get called after cfg80211 suspend/resume functions.

Hence, there is a small time window where there may be DDR transactions
from WLAN SOC with no vote for DDR/SNOC. This can lead to high bus
latency as seen by WLAN SOC. To avoid this, move the bus voting for
system suspend/resume operation in the bus suspend/resume functions.

Change-Id: I9242d438c1fa07cd7a2dec6994f437d07dd9bb68
CRs-Fixed: 2673101
2020-05-18 04:28:39 -07:00
nshrivas
184dd00b74 Release 5.2.0.186N
Release 5.2.0.186N

Change-Id: I83679958202d84794f058ea1a75189f37d5fb028
CRs-Fixed: 774533
2020-05-18 01:16:57 -07:00
Abhishek Singh
65fa031684 qcacld-3.0: Free lmac tx/rx ops in start module failure
The lmac tx/rx ops are not freed in failure case of start module
which lead to mem leak.

So Free lmac tx/rx ops in start module failure.

Change-Id: Ib222e7e31164488cca7b7cc3d241f895f49daa6d
CRs-Fixed: 2688176
2020-05-18 01:16:56 -07:00
nshrivas
a27406006b Release 5.2.0.186M
Release 5.2.0.186M

Change-Id: Ib3b4a3378c5f17f8e51484f5d519737887b3b1de
CRs-Fixed: 774533
2020-05-17 13:49:40 -07:00
Utkarsh Bhatnagar
26b28f5e20 qcacld-3.0: Consider both peer and Self Capabilities for PMF
Set PMF enabled bit for Association Frame only when both peer
and self supports it.

Change-Id: I11994da4db87e6a83b7ebe308720c45a9e2f0173
CRs-Fixed: 2686114
2020-05-17 13:49:40 -07:00
nshrivas
a8483f869d Release 5.2.0.186L
Release 5.2.0.186L

Change-Id: I6736152e2842eec2fa4f26e4cea9e5a511f61068
CRs-Fixed: 774533
2020-05-17 12:29:24 -07:00
Yeshwanth Sriram Guntuka
732f074be1 Revert "qcacld-3.0: Add feature flag to not process rxdma decrypt err"
In PMF cert test case, peer device sends disassoc req to APUT.
After the STA cleanup is done on DUT, ping data packets are still
sent by the peer STA causing rxdma decrypt errors. Rxdma decrypt
errors are not processed and the control path callback to send
deauth frame to peer STA is not invoked resulting in test case
failure.

Fix is to revert commit bf58054b02
("qcacld-3.0: Add feature flag to not process rxdma decrypt err").

Change-Id: I39686a4b16d256bd4d4b62a782457e941cfda8d6
CRs-Fixed: 2686159
2020-05-17 12:29:24 -07:00
nshrivas
71811889bd Release 5.2.0.186K
Release 5.2.0.186K

Change-Id: If443f388045ffa589cc4c48340a16047f1f14cb5
CRs-Fixed: 774533
2020-05-16 12:27:14 -07:00
Bapiraju Alla
8a14dd91ed qcacld-3.0: Reject SAP concurrency with monitor mode
Currently, SAP interface is being created when there is an existing
monitor mode interface. This concurrency is not allowed.

To avoid this, Add check for existing monitor mode interface before
creating SAP interface using add virtual interface.

Change-Id: Ia2318b880adaff39b7deb9e223140906e80a91ae
CRs-Fixed: 2680143
2020-05-16 12:27:13 -07:00
nshrivas
a6dcea22a2 Release 5.2.0.186J
Release 5.2.0.186J

Change-Id: Ic65c701b5bd76e4aa4ba403f09ffc65da89efae8
CRs-Fixed: 774533
2020-05-16 08:19:41 -07:00
Jinwei Chen
d4be970088 qcacld-3.0: do fisa flush per vdev only if fisa enabled in INI
If FISA related macro WLAN_SUPPORT_RX_FISA is configured but INI
dp_rx_fisa_enable is not set, fisa related context is not initialed
in dp_soc structure. if do fisa flush when vdev detach, invalid
access to fisa context will happen.

Do fisa flush per vdev only if fisa is enabled in INI.

Change-Id: Id3cecfa24f8ce26465a7809d4d9b2e92ae199c7d
CRs-Fixed: 2687949
2020-05-16 08:19:41 -07:00