Commit Graph

17747 Commits

Author SHA1 Message Date
nshrivas
1d0a41cb7b Release 5.2.0.188D
Release 5.2.0.188D

Change-Id: I0bcf9f33dd64d35baeb7f175500317aaf21e1dd9
CRs-Fixed: 774533
2020-05-29 17:18:52 -07:00
Ashish Kumar Dhanotiya
1fbe964622 qcacld-3.0: Update freq attributes of ch_params in start ap
Currently frequency attributes mhz_freq_seg1 and mhz_freq_seg0
are not getting updated in start ap before calling set channel
params api of regulatory component from start bss,
regulatory component uses these attributes to set the correct
channel params.
Since these frequencies params are not correct, regulatory
component is returning invalid ch_params for 80+80Mhz operation
which is resulting in failure of start bss for 80+80Mhz.

To address above issue, update the frequency attributes correctly
in start ap.

Change-Id: If0a8e0ed121b2167ff0226d2bd0048a1fa120f31
CRs-Fixed: 2697754
2020-05-29 17:18:49 -07:00
nshrivas
9e36e0b408 Release 5.2.0.188C
Release 5.2.0.188C

Change-Id: I8f23206eb8015c89ebe90ee129ca89cf22eb97f6
CRs-Fixed: 774533
2020-05-29 14:50:46 -07:00
Surabhi Vishnoi
ff7585ee9d qcacld-3.0: Add support to optimize latency using pm_qos
For Voice and Music (V&M) products, extreme latency optimization is
needed while playing music and discovery, higher power consumption
in this mode could be accepted. With CONFIG_WLAN_LL_MODE enabled,
when latency_level is set to ultra low via cfg80211 vendor command,
update request pm qos type PM_QOS_CPU_DMA_LATENCY to level
DISABLE_KRAIT_IDLE_PS_VAL to speed up CPU efficiency and irq response.

Change-Id: Ifb5bc8169f1cd08500c4b4bc0dd65dd0b3667ab6
CRs-Fixed: 2685074
2020-05-29 14:50:46 -07:00
nshrivas
40518c382c Release 5.2.0.188B
Release 5.2.0.188B

Change-Id: Id3d21c123b553dae9c5ecf06c72e4c0706183fe3
CRs-Fixed: 774533
2020-05-29 13:13:31 -07:00
Lincoln Tran
c88a47f84a qcacld-3.0: Update hdd_data_stall_process_event
Update hdd_data_stall_process_event to match scheduler_msg_process_fn_t.
Change the argument to scheduler_msg struct and add return status
to match function type.

Change-Id: Id4d2eaaa2262d7fe2dd6241ae4581a3d0cb09805
CRs-fixed: 2697445
2020-05-29 13:13:31 -07:00
bings
ed94c9349b qcacld-3.0: Fix WLAN_AKM_SUITE_* redefinition build error
Do not define WLAN_AKM_SUITE_OWE if it is defined.
Do not define WLAN_AKM_SUITE_EAP_SHA256 if it is defined.
Do not define WLAN_AKM_SUITE_EAP_SHA384 if it is defined.

Change-Id: Id06961a4c0d03f97279e2b45f9bfc5befb943e66
CRs-Fixed: 2666448
2020-05-29 13:13:27 -07:00
nshrivas
a174527a2c Release 5.2.0.188A
Release 5.2.0.188A

Change-Id: I2729103f3a1580dfdf85eb88a969d0b0627c4c6d
CRs-Fixed: 774533
2020-05-29 03:13:43 -07:00
bings
d1aef8217c qcacld-3.0: proc_create_data support for 5.6+ kernel
One parameter of proc_create_data is changed from struct
file_operations to struct proc_ops.
Add support for it under the kernel version compilation flag.

Change-Id: Ic87222f9c267debef56dcc66fc629854058ffabd
CRs-Fixed: 2666490
2020-05-29 03:13:38 -07:00
bings
9341e24bb2 qcacld-3.0: ndo_tx_timeout support for 5.6+ kernel
New parameter txqueue is added for callback ndo_tx_timeout.
Add support for it under the kernel version compilation flag.

Change-Id: I0234dade56f65d15a4370404e17ff51a8a73ee4e
CRs-Fixed: 2666436
2020-05-29 03:13:28 -07:00
nshrivas
e50e7c0ea2 Release 5.2.0.188
Release 5.2.0.188

Change-Id: I027d3acbd3bc1afd7fb75a641de623ea2d3f0632
CRs-Fixed: 774533
2020-05-28 21:07:36 -07:00
Min Liu
6bceefd884 qcacld-3.0: Fix compilation issue in perf build
Fix insmod failure in perf build which is caused by undefined
symbol when MPC_UT_FRAMEWORK is not defined.

Change-Id: I1a1ae76af596a3d219a7367d45a2fb38a08107a4
CRs-Fixed: 2696540
2020-05-28 21:07:35 -07:00
Baowei Liu
78aa7bdfc1 qcacld-3.0: Skip recovering check if host assert target
In cds_trigger_recovery_handler, Host driver first set flag recovering
before cds_force_assert_target. For Rome, ol_target_failure run when
FW crash, Self-Recovery stop when detect flag recoverying be set

Add CDS_DRIVER_STATE_ASSERTING_TARGET to record Host asserting in
cds_force_assert_target. Skip recovering check in ol_target_failure
if detect this flag.

Change-Id: I290e2f21bd0bca6dc6d76de43de4f8dd801d7ff5
2020-05-28 21:07:32 -07:00
Utkarsh Bhatnagar
09431aa329 qcacld-3.0: Fix usage of wlan_reg_legacy_chan_to_freq
In wma_vdev_pre_start() freq is already available with des_chan->ch_freq
so no need to get the freq again from using wlan_reg_legacy_chan_to_freq.
In hdd_cfg80211_update_channel_info() use wlan_reg_chan_band_to_freq
to get the freq from channel.

Change-Id: I179907c9f5a80f355b44aa9c9509d8d12d8825f8
CRs-Fixed: 2696687
2020-05-28 21:07:28 -07:00
Abhinav Kumar
9bb8c487cc qcacld-3.0: Allow driver to process roam sync ind in RSO STOPPED state
Supplicant disables fast roaming (by making isFastRoamEnabled = 0)
before sending ROAM_INVOKE_CMD to host. This results roaming state
of host changes to  ROAM_RSO_STOPPED before start processing
ROAM_INVOKE_CMD command.

Due to commit : Id0ea18a33dfef3d4e9a4003da33fc7172cf58e85, Host
unable to process roam sync indication event if supplicant disable
fast roaming before sending ROAM INVOKE command. This leads to
roaming failure.

Fix is to allow driver to process roam sync indication even in
RSO stopped state, if roaming triggered by userspace.

Change-Id: Ia5f5c7b078d457280bce8c24110f01a3be26c3d6
CRs-Fixed: 2670060
2020-05-28 21:07:25 -07:00
nshrivas
fd7d53a4fc Release 5.2.0.187Z
Release 5.2.0.187Z

Change-Id: I33a0b20f85a3262d3d991472c87296866dfe617f
CRs-Fixed: 774533
2020-05-28 17:28:44 -07:00
Utkarsh Bhatnagar
0deba7575b qcacld-3.0: Clean up wlan_sap_set_vht_ch_width
Remove wlan_sap_set_vht_ch_width as it wasn't
used anywhere.

Change-Id: I556269bfeb4df243720397a6ad2500b90bc8835d
CRs-Fixed: 2695940
2020-05-28 17:28:44 -07:00
Utkarsh Bhatnagar
0a61d6462b qcacld-3.0: Implemented Chainmask NL command
Implemented driver interface for NL command for setting
and getting TX and RX chains. The chains can be set to
either chain 0(1) or chain 1(2) or both(3). This is only valid if
antenna mode is set to 2X2.

Below command can be used to set the chainmask:
iw phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
Example:
iw phy0 set antenna 1   -- to set both Tx and Rx chain 0.
iw phy0 set antenna all -- to set all/both chains for rx/tx
iw phy0 set antenna 1 2 -- to set chain 0 for tx and chain 1 for rx

Below command can be used to get the chainmask after set:
iw phy <phyname> info

check for "Configured Antennas: TX 0x1 RX 0x1"

Below conditions should be met for setting chainmask:
1. Antenna sharing should be disabled.
2. gEnable2x2 in ini file should be 0
3. enableBTChainSeparation in ini file should be 1
4. DBS should be disabled (gDualMacFeatureDisable = 1)
   or HW should be DBS 2x2 capable
5. set TX/RX chainmask 3 in ini (gSetTxChainmask1x1/gSetRxChainmask1x1)
6. HW should support TX/RX chainmask as 3

Change-Id: I04f6667398eac405a6be61bc039e048090578abf
CRs-Fixed: 2693370
2020-05-28 17:28:40 -07:00
Utkarsh Bhatnagar
f31d749e83 qcacld-3.0: replace mhz of struct wma_txrx_node with chan_freq
chan_freq and mhz variable represent the same thing so use chan_freq
instead of mhz.

Change-Id: I4162504562c30ece71f5ebc465b1af3a048b01b2
CRs-Fixed: 2696795
2020-05-28 17:28:37 -07:00
nshrivas
aba4cdf298 Release 5.2.0.187Y
Release 5.2.0.187Y

Change-Id: Id3cf3295dc061c4f9921ab35446a0800155ef636
CRs-Fixed: 774533
2020-05-28 12:07:55 -07:00
Alan Chen
36a60df68b qcacld-3.0: Fix dp_trace related compilation issues
As part of this change I2e7caec268776a79d7166020c64af93fee2f8aec,
the feature flag was not properly defined and there were some compilation
issues. Hence, this change is fixing these issues. Also, add unit test
ini check in fw unit test command.

Change-Id: Ia8dfedec19d4d97c8c100321a0a012ee1a1b6a00
CRs-Fixed: 2695208
2020-05-28 12:07:55 -07:00
nshrivas
6f9314eebe Release 5.2.0.187X
Release 5.2.0.187X

Change-Id: Ib59e51a7191f2e7f3947a94e0e3dafb93f49fe88
CRs-Fixed: 774533
2020-05-28 10:42:58 -07:00
Nisha Menon
761251b822 qcacld-3.0: Fix bandwidth vote level for device in monitor mode
Bandwidth level was set correctly to PLD_BUS_WIDTH_VERY_HIGH
but current vote level was not updated for monitor mode.
Due to this during PCI link down the reg writes for SW2WBM
release ring were enqueued in delayed register write work
queue instead of being written directly.

Delay in scheduling the workqueue results in SW2WBM release
ring getting full which results in invoking panic.
Hence update the current vote level along with the bus
bandwidth in HDD open function for monitor mode.

Change-Id: Ib9861a038afa6ca7758ea35afcae2bcfe9e69b60
CRs-Fixed: 2690247
2020-05-28 10:42:58 -07:00
Balaji Pothunoori
42326695a7 qcacld-3.0: set fixed txpower using nl80211 interface
This change is to set txpower to specific interface
from iw.

Ex:
"iw dev <interface name> set txpower fixed <value>"

Change-Id: I5a3195a36cd2d7252eb3ef0312545d338b4000ec
CRs-Fixed: 2677223
2020-05-28 10:42:54 -07:00
nshrivas
0a952989cd Release 5.2.0.187W
Release 5.2.0.187W

Change-Id: Id6b9088d25f5a3962a302a03dac5180f36ed33d0
CRs-Fixed: 774533
2020-05-28 07:57:03 -07:00
Yeshwanth Sriram Guntuka
265174a512 qcacld-3.0: Update rx mpdu count in link layer stats rsp
Rx mpdu count received as part of peer link stats
event from firmware does not have the proper values.

Fix is to fetch the rx mpdu count from dp layer and
update the rx mpdu count before sending the stats to
HDD.

Change-Id: I945d32c7701f5f5c9bfbbaa6ab4576b94389c84c
CRs-Fixed: 2691648
2020-05-28 07:57:02 -07:00
nshrivas
74900c8aaa Release 5.2.0.187V
Release 5.2.0.187V

Change-Id: I0cd5f77f8d4ded536ef03db55186bc6c861fa5e5
CRs-Fixed: 774533
2020-05-27 02:15:04 -07:00
nshrivas
406050efd0 Release 5.2.0.187U
Release 5.2.0.187U

Change-Id: I8a2f985f8b36763b391e9e0aeff9136686aea693
CRs-Fixed: 774533
2020-05-27 00:57:42 -07:00
Ashish Kumar Dhanotiya
2779e62274 qcacld-3.0: Send the data rate in mbps for SAP big data
Currently host driver sends the data rate of connected
peer in the units of kbps whereas user space expects the
data rate to be in the units of mbps.

To address above issue, add a change in the host driver
to send the data rate in the units of mbps.

Change-Id: I022659f1cd16ff62dc5b9379405c35c651381e4f
CRs-Fixed: 2688150
2020-05-27 00:57:32 -07:00
nshrivas
fb41acb372 Release 5.2.0.187T
Release 5.2.0.187T

Change-Id: I514383ec8a7afa0f51470e1e92904b96c735fb29
CRs-Fixed: 774533
2020-05-26 23:34:23 -07:00
Gururaj Pandurangi
7f2e4159da qcacld-3.0: Set current bss color in lim
The current bss color value is 0 in color
detection config which is not valid. Set
it accordingly in lim to share the correct
bss color config to FW.

Change-Id: I4387c7eb661846d70b62cde41b64b9c174e2f48c
CRs-Fixed: 2689632
2020-05-26 23:34:23 -07:00
nshrivas
c82b2c0c6a Release 5.2.0.187S
Release 5.2.0.187S

Change-Id: Ic5befacff0ae06145086335124c32f2e727a4c1b
CRs-Fixed: 774533
2020-05-26 19:35:23 -07:00
Jianmin Zhu
da8f2bf948 qcacld-3.0: Fix watchdog when dump Roame FW after panic
When kernel panic, irq will be disabled, when dump Rome
firmware, dma buffer is malloced and freed every time
hif_diag_read_mem is called to dump 20K mem, dma_free_attrs is
called 100 times for 2M mem dump, WARN_ON(irqs_disabled())
will printk stack about 100 times in short time, watchdog bite.

Fix: Change dma mem malloc size from 20KB to 256KB, then only
malloc/free less than 10 times totally when dump Rome firmware.

Change-Id: I803b2cd30a1c6cdc1ce8f8f1073cdb6c17b650af
CRs-Fixed: 2693690
2020-05-26 19:35:22 -07:00
nshrivas
30b9e2409e Release 5.2.0.187R
Release 5.2.0.187R

Change-Id: I0a59b51b67e0929521d481171b3438cae944e552
CRs-Fixed: 774533
2020-05-26 01:40:38 -07:00
Jinwei Chen
92f508a5eb qcacld-3.0: flush batched GRO_NORMAL packets
Kernel 5.4 has applied batched GRO_NORMAL packets processing
for all napi_gro_receive() users. this requires NAPI users to
call napi_complete_done() or napi_complete() at the end of every
polling to flush batched GRO_NORMAL packets.
However, by current wlan driver design, napi_gro_recevie()
is not happened in same NAPI polling context and done in another
thread context, it likely packets which have not been flushed from
napi->rx_list will get stall until next RX cycle.

Fix this by adding a manual flushing of the list right after
napi_gro_flush() call to mimic napi_complete() logics.

Change-Id: Ib3e851c0822a85c4712a1b817cc19dfecf6d0e7a
CRs-Fixed: 2673959
2020-05-26 01:40:38 -07:00
nshrivas
019cc02a92 Release 5.2.0.187Q
Release 5.2.0.187Q

Change-Id: Ic4dd8a99145b07eca5903d8ef252fa89a8374d9a
CRs-Fixed: 774533
2020-05-25 02:27:10 -07:00
Min Liu
98fe0cf0b2 qcacld-3.0: Add the sysfs entry for pm_dbs
Previously pm_dbs would be queried via iwpriv
    --> iwpriv wlan0 pm_dbs [dbs] [system_pref]
it is now changed to support via sysfs:
    --> echo [dbs] [system_pref] > /sys/kernel/wifi/pm_dbs

Change-Id: I3f6b153a58be6932cafbc1df15ef4a62971ba954
CRs-Fixed: 2692150
2020-05-25 10:58:36 +08:00
nshrivas
3fa1687f2c Release 5.2.0.187P
Release 5.2.0.187P

Change-Id: Id82377cfd843099603f0cd0b44828fe80ecfff4f
CRs-Fixed: 774533
2020-05-24 06:39:54 -07:00
Arun Kumar Khandavalli
08df65447c qcacld-3.0: Add the sysfs entry for policy manager commands
Previously pm_cinfo,pm_pcl  would be queried via iwpriv
      --> iwpriv wlan0 pm_cinfo
 it is now changed to support via sysfs:
    --> cat /sys/class/net/wifi/pm_cinfo
    --> echo 1 > /sys/kernel/wifi/pm_pcl

Change-Id: I437eb6d4e9424f3aed9d1cf218333371c9a9f93b
CRs-Fixed: 2684258
2020-05-24 06:39:54 -07:00
Arun Kumar Khandavalli
7f3ce11381 qcacld-3.0: Add sysfs entry for the pktlog
Add the sysfs entry for the pktlog.
Previously get_ampdu,get_amsdu would be queried via iwpriv
    --> iwpriv wlan0 1 1 pktlog
it is now changed to support via sysfs:
    --> echo 1 1 > /sys/class/net/wifi/pktlog

Change-Id: Id5461c86bb1369a04bc68514e874df6df1230b85
CRs-Fixed: 2684106
2020-05-24 06:39:50 -07:00
Arun Kumar Khandavalli
40c74bf143 qcacld-3.0: Add sysfs entry for the ipaucstat
Add the sysfs entry for the ipaucstat.

Previously ipaucstat would be queried via iwpriv
--> iwpriv wlan0 ipaucstat 1

it is now changed to support via sysfs:
--> echo "1" > /sys/class/net/wlanxx/ipaucstat

Change-Id: I5a3195a36cd2d7252eb3ef0312545d338b40d3ec
CRs-Fixed: 2676440
2020-05-24 06:39:46 -07:00
nshrivas
5a1000a798 Release 5.2.0.187O
Release 5.2.0.187O

Change-Id: Ib9ef5d7484cb30b4024112d04ccc052f34eadc91
CRs-Fixed: 774533
2020-05-23 21:09:18 -07:00
nshrivas
71c99e5691 Release 5.2.0.187N
Release 5.2.0.187N

Change-Id: I1611632dda5d6ada1250947667d8726e014c605c
CRs-Fixed: 774533
2020-05-23 16:26:00 -07:00
Min Liu
efc4350044 qcacld-3.0: Add sysfs entry for dumpStats and clearStats
Add the sysfs entry for dumpStats and clearStats.
Previously these commands would be queried via iwpriv
--> iwpriv wlan0 dumpStats [stats_id]
--> iwpriv wlan0 clearStats [stats_id]
it is now changed to support via sysfs:
--> echo [stats_id] > /sys/class/net/wlanxx/dump_stats
--> cat /sys/class/net/wlanxx/dump_stats
--> echo [stats_id] > /sys/class/net/wlanxx/clear_stats

Change-Id: If8e4d997bc621df98732461802fdd9cea89bd1ce
CRs-Fixed: 2685995
2020-05-23 16:26:00 -07:00
nshrivas
e20743488c Release 5.2.0.187M
Release 5.2.0.187M

Change-Id: I1f218448e509ad07f5070968774d9d42dc39be62
CRs-Fixed: 774533
2020-05-23 14:26:39 -07:00
gaurank kathpalia
4f97da5b23 qcacld-3.0: Add BSSID to avoid list for STA-KICKOUT
If the STA-KICKOUT event comes too frequently for
a certain AP, then the AP might have some genuine
issue and should not be tried again and again in
intial connection and roaming case scenarios.
So it is better to avoid this AP and if the AP
still faces a kickout then after 3 attempts which
is ini configurable the driver would blacklist
it to avoid ping pong.

Change-Id: I8221cca9adc777ca275fdd76c2f8ba17cd12c14f
CRs-Fixed: 2683615
2020-05-23 14:26:39 -07:00
nshrivas
0c517cc889 Release 5.2.0.187L
Release 5.2.0.187L

Change-Id: I0bfbd3b5cdfe2f1ecbcd815147c095fb4e8cc7fd
CRs-Fixed: 774533
2020-05-22 19:46:56 -07:00
Alan Chen
d72007751c qcacld-3.0: Add connection check before dhcp protection
Add connection check in set_power_mgmt() before enabling dhcp
protection since set_power_mgmt() can be called in disconnected
state as well for enabling power save.

Change-Id: I4b1796ba45ebf0561f4b58b066bfa63c0ca697ea
CRs-Fixed: 2690325
2020-05-22 19:46:56 -07:00
nshrivas
e60eef142e Release 5.2.0.187K
Release 5.2.0.187K

Change-Id: I8a450f42578e3c9c1f5c079da5a2cad72ca8bd74
CRs-Fixed: 774533
2020-05-22 18:29:58 -07:00
Bapiraju Alla
13b5b00850 qcacld-3.0: Handle beacon memory leak in SAP mode
Free the beacon memory during hdd_sap_destroy_ctx if it is not
already freed.

Change-Id: Ib941878e0402c48f4eacbd8593822d35f4e6dac1
CRs-Fixed: 2691300
2020-05-22 18:29:58 -07:00
Min Liu
e95713a94e qcacld-3.0: Add sysfs entry for dump_dp_trace
Add the sysfs entry for dumpStats and clearStats.
Previously these commands would be queried via iwpriv
enable / disable --> iwpriv wlan0 dump_dp_trace [1/3]
show --> iwpriv wlan0 dump_dp_trace 0
clear --> iwpriv wlan0 dump_dp_trace 2
it is now changed to support via sysfs:
enable / disable --> echo [1/0] > /sys/kernel/wifi/dump_dp_trace
show --> echo 2 [count] > /sys/kernel/wifi/dump_dp_trace
         cat /sys/kernel/wifi/dump_dp_trace
clear --> echo 1 > /sys/kernel/wifi/clear_dp_trace

Change-Id: I2e7caec268776a79d7166020c64af93fee2f8aec
CRs-Fixed: 2691705
2020-05-22 18:29:54 -07:00
nshrivas
2f03788ba1 Release 5.2.0.187J
Release 5.2.0.187J

Change-Id: I2e8a30d857138c0f2944d4a67aeb09252117d093
CRs-Fixed: 774533
2020-05-22 13:53:50 -07:00
Bapiraju Alla
8cce2a2f7f qcacld-3.0: Add a sysfs replacement for range_ext
As part of WEXT replacement, replace range_ext with a sysfs file.

This feature can be controlled using configuration flag
CONFIG_WLAN_SET_RANGE_EXT

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

example command: echo 1 > /sys/class/net/wlan1/range_ext

Change-Id: I389da429e1a0cd3a2ed1efede6cb958628eb7e6e
CRs-Fixed: 2689879
2020-05-22 13:53:46 -07:00
Min Liu
f42053713b qcacld-3.0: Add a sysfs replacement for get_gtxBWMask
file path: /sys/class/net/wlanxx/gtx_bw_mask
example: cat gtx_bw_mask

Change-Id: Ifbaa43b9889c37344bf39c6afe6e5c2536b123da
CRs-Fixed: 2692000
2020-05-22 13:53:43 -07:00
sheenam monga
31d139ec0a qcacld-3.0: Do not send VDEV_INSTALL_KEY to fw if SAP/P2PGO is restarting
Issue: Host is sending VDEV_INSTALL_KEY command without validating vdev
state. If there is channel change request, in function lim_change_channel
on WLAN_VDEV_SM_EV_CSA_COMPLETE, WLAN_VDEV_SM_EV_RESTART_REQ i.e vdev
restart request is triggred to fw and if there is any ongoing sta
connection parallely, then it may send vdev install without validating vdev
state. If firmware receives VDEV_INSTALL_KEY, it stops critical channel
request. Firmware sends VDEV_START_RESPONSE/VDEV_RESTART_RESPONSE once it
gets channel grant. If host sends VDEV_INSTALL_KEY to fw before it gets
channel grant then fw stops channel request and does not send
VDEV_RESTART_RESPONSE.

Fix: Valdiate vdev state before sending VDEV_INSTALL_KEY command.
In function wlan_hdd_add_key_sap validate the state of vdev and send
command only if vdev is in between restarting state.

Change-Id: I427ab9bfab499818290dc36b6b4b3a4974b7d3a2
CRs-Fixed: 2605369
2020-05-22 13:53:39 -07:00
nshrivas
427f173fea Release 5.2.0.187I
Release 5.2.0.187I

Change-Id: I7737d3bae2a5dd3370a85136f7456ef9ee22d098
CRs-Fixed: 774533
2020-05-22 12:27:47 -07:00
Sandeep Puligilla
e9e0f6d6de qcacld-3.0: Fix SME global mutex deadlock
hdd_bus_bw_work_handler API is stuck waiting on mutex
sme_global_lock acquired by scheduler thread.

WIFI logger start request API doesn't need to acquire
sme global lock because the request is posted to scheudler
thread and the request is processed in schduler thread context.

Change-Id: I34522abdc54d1a7d6b5acb546179194b4ee869d8
CRs-Fixed: 2690483
2020-05-22 12:27:47 -07:00
nshrivas
6d7b3a1ce5 Release 5.2.0.187H
Release 5.2.0.187H

Change-Id: If0598af7b9fb267eec687caa0efc810cab5215a3
CRs-Fixed: 774533
2020-05-22 04:36:31 -07:00
nshrivas
184b0052ea Release 5.2.0.187G
Release 5.2.0.187G

Change-Id: I565dc2a8b1ee80e963d66e476e875519c0b1877a
CRs-Fixed: 774533
2020-05-21 23:52:15 -07:00
Bapiraju Alla
2b88c22206 qcacld-3.0: Remove get_sta_info sysfs support for sta mode
get_sta_info sysfs interface is required only for SAP mode.
Remove interface creation and deletion in sta mode.

Change-Id: I4ab2beb9200d3834f9c37600ed7c5960f21c9700
CRs-Fixed: 2686964
2020-05-21 23:52:11 -07:00
nshrivas
cb484972f1 Release 5.2.0.187F
Release 5.2.0.187F

Change-Id: I92d4c2775a0a13c2fcb7aa8ef704509d3d58795d
CRs-Fixed: 774533
2020-05-21 20:34:44 -07:00
Lin Bai
2d1f2a224b qcacld-3.0: Dump PAGE_FAULT event buffer
On non-DRV platform, host will be waked when page fault occurs
in firmware side.
Need to dump event buffer which contains more debug info regarding
current page fault.

Change-Id: I46d724c58000b3faafc0f5eead550acb37eafe3a
CRs-Fixed: 2690966
2020-05-21 20:34:44 -07:00
nshrivas
f9594f6eb8 Release 5.2.0.187E
Release 5.2.0.187E

Change-Id: Ib6eea5c56641e6afe854537fd386ae640a9b0750
CRs-Fixed: 774533
2020-05-21 17:50:29 -07:00
Min Liu
c9112061fb qcacld-3.0: Add sysfs entry for enablertscts
Add the sysfs entry for enablertscts.
Previously these commands would be queried via iwpriv
--> iwpriv wlan0 enablertscts [0/1/2]
it is now changed to support via sysfs:
--> echo [0/1/2] > /sys/class/net/wlanxx/rts_cts

Change-Id: I9df4e0c678cc9221b3cc95c4d2058a4516438bc3
CRs-Fixed: 2689897
2020-05-21 17:50:28 -07:00
Min Liu
2e78a9226a qcacld-3.0: Add sysfs entry for enable_dcm and get_dcm
Add the sysfs entry for enable_dcm and get_dcm.
Previously these commands would be queried via iwpriv
--> iwpriv wlan0 enable_dcm [0/1]
--> iwpriv wlan0 get_dcm
it is now changed to support via sysfs:
--> echo [0/1] > /sys/class/net/wlanxx/dcm
--> cat /sys/class/net/wlanxx/dcm

Change-Id: I6f7d2e93c362b4d3018d7f5698dd1bba01123600
CRs-Fixed: 2685960
2020-05-21 17:50:25 -07:00
nshrivas
0a45a2d32e Release 5.2.0.187D
Release 5.2.0.187D

Change-Id: I8e9fa80d38b746497b0857059357be20aa25817a
CRs-Fixed: 774533
2020-05-21 16:25:24 -07:00
Bapiraju Alla
9b8a513717 qcacld-3.0: Fix return type of umac_stop_complete_cb
Return type of umac_stop_complete_cb is QDF_STATUS when
QDF_ENABLE_TRACING feature is disabled. It not matching with the same
API defined when QDF_ENABLE_TRACING is enabled.

To resolve this, update return type of umac_stop_complete_cb to void
when QDF_ENABLE_TRACING feature is disabled.

Change-Id: I59783520a7fdf8bef4424fed649898b5547da280
CRs-Fixed: 2686544
2020-05-21 16:25:24 -07:00
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
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
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
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
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
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
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
nshrivas
0d36c7fb2b Release 5.2.0.186I
Release 5.2.0.186I

Change-Id: I3435b38b6e0953576a7083c8ec086e02f918790e
CRs-Fixed: 774533
2020-05-16 07:00:06 -07:00
gaurank kathpalia
714a6707f2 qcacld-3.0: Fix missing changes for latest frame parser
Few changes on tip got reverted as part of
I2b91a271d30b1230ef7bb14ee08d0b9da2706db4 so bring them back.

Change-Id: I12dc7304dba220f0d85763b01d4b04dd1540a3bb
CRs-Fixed: 2687980
2020-05-16 07:00:05 -07:00
gaurank kathpalia
d3420e7eac qcacld-3.0: Remove IBSS related code from frame handling
Remove IBSS related code from frame handling.

Change-Id: I1efc71392112a53247c5b88e5c2d09e4dee0b802
CRs-Fixed: 2687979
2020-05-16 07:00:00 -07:00
Utkarsh Bhatnagar
0d0fadb0dd qcacld-3.0: Consider Only dot11mode profiles if configured
If device is configured to Only dot11mode profile. Don't
connect to lesser profile the configured.

Change-Id: I7bf5157c0d7324c5ee7c4cdaac7806c0991d5dae
CRs-Fixed: 2683763
2020-05-16 06:59:56 -07:00
nshrivas
2eee1707ab Release 5.2.0.186H
Release 5.2.0.186H

Change-Id: I258a38789a3d3d33ce67bfd639ca323ac0952688
CRs-Fixed: 774533
2020-05-16 02:45:07 -07:00
Aditya Kodukula
3a81007f01 qcacld-3.0: Add a sysfs replacemnet for wowlDelPtrn
As part of WEXT replacement, replace wowlDelPtrn with a sysfs file.

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

example: echo 08:01:FFFFFFFFFFFF0000:FC > wowl_del_ptrn

Change-Id: I446456df5bd003b7328ba7afc0a4fb5e60059e11
CRs-Fixed: 2682245
2020-05-16 02:45:07 -07:00
Alan Chen
b049a675ca qcacld-3.0: Remove P2P device mode when create adapter store/show files
There should only be STA and/or SAP modes for the new sysfs commands.
Remove P2P device mode when creating the store/show files.

Change-Id: Id090dff650466c907468eb530e9e24d96ce4d99d
CRs-Fixed: 2686781
2020-05-16 02:45:03 -07:00
nshrivas
d0cb939928 Release 5.2.0.186G
Release 5.2.0.186G

Change-Id: Ia8eec2a650bfd60b0fd8662a83021632081721a4
CRs-Fixed: 774533
2020-05-15 21:45:29 -07:00
Kiran Kumar Lokere
17c983d512 qcacld-3.0: Dont connect in HE mode if Rx MCS map is invalid
Check AP's HE Rx MCS map to connect in HE mode. If AP has invalid
MCS map connect in HT/VHT mode.

Change-Id: Ia95f08999f0536ac3463e02212f39d4fd09390d4
CRs-Fixed: 2684887
2020-05-15 21:45:25 -07:00
nshrivas
d46663217a Release 5.2.0.186F
Release 5.2.0.186F

Change-Id: Ibda9de99601ce49caf0fca98526c934271940207
CRs-Fixed: 774533
2020-05-15 20:14:43 -07:00
Bapiraju Alla
367572ad55 qcacld-3.0: Add a sysfs replacement for getChannel
As part of WEXT replacement, replace getChannel with a sysfs file.
This feature can be controlled using configuration flag
CONFIG_WLAN_SYSFS_GET_CHANNEL

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

example command: cat /sys/class/net/wlan1/get_channel
	output: Channel number: 1

Change-Id: I3040af3d19eb83a819ca83cdbb74a70acd041698
CRs-Fixed: 2681803
2020-05-15 20:14:43 -07:00
nshrivas
320475edba Release 5.2.0.186E
Release 5.2.0.186E

Change-Id: I11e65a7f82213b97ca55873ad59bcfa3cb6429b8
CRs-Fixed: 774533
2020-05-15 18:47:23 -07:00
Utkarsh Bhatnagar
3c5918e041 qcacld-3.0: Removed WEP_DEFAULT_KEY
Removed WEP default key with the corresponding functions

Change-Id: I721b60969e6aea7f0abf58edcd4028dad5b03a25
CRs-Fixed: 2687348
2020-05-15 18:47:23 -07:00
gaurank kathpalia
322d8eb806 qcacld-3.0: Cleanup IBSS code from LIM
Cleanup IBSS related code from LIM.

Change-Id: Idebb0f55aa27751f1fdd7b4c1fb8124ae29eb382
CRs-Fixed: 2687017
2020-05-15 18:47:18 -07:00
Sourav Mohapatra
a196271737 qcacld-3.0: Synchronize hdd_driver_unload against other vdev trans
Unloading the driver is a driver transition. As a part of this driver
unload, the PLD calls the pld_remove which is a psoc transition. This is
the reason why the driver unload is currently not being protected as
there is a call to psoc transition within it.

This absence of locking can lead to potential deadlock scenario. Assume the
example of add_virtual_interface and rmmod coming in parallel.

	T1: add_virtual_interface (starts a vdev_trans)

	T2: rmmod comes in parallel
		-> unregister_driver goes to PLD
		-> PLD calls pld_remove (psoc_trans waits due to T1)

	T1: add_virtual_interface continues
		-> Calls idle_restart that goes to PLD
		-> PLD waits from pld_remove (T2) to complete first

	T1 and T2 are waiting for each other to exit resulting in
	deadlock.

To resolve this, add a driver_trans_start_wait to hdd_driver_unload.
This will ensure that either the unload waits for all other trans to be
completed before proceeding or set the driver_load_unload flag which
will result in upcoming trans to get rejected.

Change-Id: I64b03843065e5eef7c2be209c1f8cb936bdd0742
CRs-Fixed: 2683032
2020-05-15 18:47:11 -07:00
Rachit Kankane
fdcdb2bdc7 qcacld-3.0: Handle tx_power_level under radio stat
Host driver do receives radio tx power level stats as part of
radio stats even though we have different event ID for that.
Handling the tx_power_level as part of radio stats only if
num_tx_power_level is set.

Change-Id: I46aff51c70c444c94c9b10f32b7776ba4a1ca4e8
CRs-Fixed: 2686882
2020-05-15 18:47:06 -07:00
nshrivas
6eea791b3f Release 5.2.0.186D
Release 5.2.0.186D

Change-Id: I9f83a9d889d3ab9222e243ba8b60a8cda2b34bdb
CRs-Fixed: 774533
2020-05-15 16:38:05 -07:00
gaurank kathpalia
86a93dbbde qcacld-3.0: Remove IBSS specific code from WMA
Remove IBSS specific code from WMA.

Change-Id: Iacdace8435fd8e6c167df24167db23a14efe4f15
CRs-Fixed: 2687016
2020-05-15 16:38:05 -07:00
Jinwei Chen
b55574eb99 qcacld-3.0: Skip RX TLV header for RX fragment data
In dp_fisa_rx() function, L2 head pointer for fragment data is not
set correctly, actually it points to RX TLV header.
Skip RX TLV for RX fragment data.

Change-Id: Ie326734c657f45024a83792b103f931723148c92
CRs-Fixed: 2686851
2020-05-15 16:38:00 -07:00
Bapiraju Alla
6b2b3ea7c8 qcacld-3.0: Add a sysfs replacement for getTdlsPeers
As part of WEXT replacement, replace getTdlsPeers with a sysfs file.

This feature can be controlled using configuration flag
CONFIG_WLAN_GET_TDLS_PEERS

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

example command: cat /sys/class/net/wlanxx/get_tdls_peers

Change-Id: I66123266d6a3bf4c5c82f70186e35aa9942533b1
CRs-Fixed: 2681810
2020-05-15 16:37:56 -07:00
Utkarsh Bhatnagar
eeaa86c203 qcacld-3.0: Removed bTkipCntrMeasActive from pe_session
bTkipCntrMeasActive was not getting filling anywhere, hence
was removed from pe_session struct along with releveant code
where it was checked.

Change-Id: I8926bedef61c6468f8de2f73b4991c4c4860810b
CRs-Fixed: 2687067
2020-05-15 16:37:52 -07:00
nshrivas
899a637d82 Release 5.2.0.186C
Release 5.2.0.186C

Change-Id: I222f20ae73a14aec17e273b8b898a296246fda9b
CRs-Fixed: 774533
2020-05-15 10:41:25 -07:00
Jia Ding
30531d5a10 qcacld-3.0: Properly populate struct csr_del_sta_params
eCsrForcedDeauthSta equals to 14 and as far as reason
codes are concerned, it is MIC_FAILURE. It is observed
that when wlan is configured as SAP-SAP DBS with same
SSID and same encryption WPA2/WPA3 mixed mode, it leads
to an IOT issue where clients with iOS 13 in particular
are not able to auto reconnect back after wlan is restarted.

Thus populate subtype to IEEE80211_STYPE_DEAUTH >> 4 and
reason_code to WLAN_REASON_DEAUTH_LEAVING as defined in
kernel since station_del_parameters is a kernel defined
structure.

Also correct internal use of subtype since right shift
4 for SIR_MAC_MGMT_DEAUTH and SIR_MAC_MGMT_DISASSOC
will always end up with value 0.

Change-Id: I60aa5ed4e7b672b7a92f05ad322fcb48ab0526d4
CRs-Fixed: 2678637
2020-05-15 10:41:25 -07:00
Abhishek Singh
2281c2d6bb qcacld-3.0: remove dependency of public files from wlan_objmgr_psoc_obj.h
Remove dependency of wlan_lmac_if_def headerfiles from
wlan_objmgr_psoc_obj.h

Change-Id: I5f6120a97be3ae6835023ceaef455088820809de
CRs-Fixed: 2657771
2020-05-15 10:41:20 -07:00
Abhinav Kumar
f2d954d22e qcacld-3.0: Fix emergency roaming failure
DUT perform FT-IM association instead of FT roaming to
process emergency deauth from connected AP.

In the case of FT-IM association, FW sends assoc requests
instead of re-assoc requests in roam sync indication to
host. Host truncate fixed parameters from assoc req and
forward frame tagged parameters to supplicants.

In re-assoc request fixed params length is 10bytes and
in assoc request, fixed param length is 4 bytes.
Currently host always truncating 10 bytes of assoc/re-assoc
frame present in roam sync ind and forward it to supplicant.

This results in extra first 6 bytes of assoc frame get stripped
by host. Due to this supplicant is not able to parse frame
content properly. This leads to 11r roaming failure.

As in case of FT-IM association roaming, FW forward assoc req
in roam sync ind, Host should truncate 4 bytes of fixed
parameters.

Fix is to ensure that host truncate only 4 bytes if assoc
request present in roam sync ind data.

Change-Id: Ie1352e41f9caffc4a28ed046330a73f303af36da
CRs-Fixed: 2664097
2020-05-15 10:41:14 -07:00
nshrivas
4addebbd4b Release 5.2.0.186B
Release 5.2.0.186B

Change-Id: Idb14da030a1e6e737328d4fe1801fcf61a5683d7
CRs-Fixed: 774533
2020-05-15 06:56:02 -07:00
Abhinav Kumar
e3e903bf37 qcacld-3.0: Introduce new INI to enable/disable FT-IM
With specific AP(s), FW needs to perform FT initial mobility
association instead of FT roaming for deauth roam trigger.

This ini is used to configure "FT roaming for deauth roam trigger"
behavior from the HOST.

Change-Id: Id754a21f7ac2c330019055646f79c79db3e0c52c
CRs-Fixed: 2665882
2020-05-15 06:56:02 -07:00
Nirav Shah
cf164af18d qcacld-3.0: Add update_seq_num flag to htt_rx_mpdu_desc_seq_num
In case of partial reorder, seq number is sent by FW
when first_msdu bit is set in msdu. For all other msdus host
maintain copy of cur_seq_num_hl in pdev.
cur_seq_num_hl gets updated when htt_rx_mpdu_desc_seq_num API
is called. Currently htt_rx_mpdu_desc_seq_num API is called
from multiple functions. Add update_seq_num flag to make sure that
cur_seq_num_hl updates only during store function.

Change-Id: Ie3178ee6d1642dbeaf0cea032dc80e0ecccc1dc2
CRs-Fixed: 2683869
2020-05-15 06:55:57 -07:00
nshrivas
2721fcec48 Release 5.2.0.186A
Release 5.2.0.186A

Change-Id: Iec06bbaa8c0684edd4ef798150f172994a72c2ea
CRs-Fixed: 774533
2020-05-15 05:24:34 -07:00
Nirav Shah
a218ef21d3 qcacld-3.0: Handle last msdu bit not set in partial reorder
In case of partial reorder, handle scenario if last msdu bit
is not set.

Change-Id: I7d0a671886fe2c0f352769bf3e68e2d22408a978
CRs-Fixed: 2669907
2020-05-15 05:24:33 -07:00
Jinwei Chen
6409e4a8c5 qcacld-3.0: add FISA flush when vdev detach
In some case, FISA flush for one FISA entry is missed which
lead to some RX frames stay at FISA entry forever, this will
cause skb leak.
  Do FISA flush per vdev when vdev detach to avoid skb leak.

Change-Id: Ie6bdf885c740a99b089290257ea6936d5804d142
CRs-Fixed: 2679221
2020-05-15 05:24:30 -07:00
nshrivas
d53ba82eaa Release 5.2.0.186
Release 5.2.0.186

Change-Id: I68dfd14d27ee226b2433979191495db1323c86d1
CRs-Fixed: 774533
2020-05-15 00:36:41 -07:00
Alan Chen
de1d2e193e qcacld-3.0: Add a sysfs replacement for get_range_ext
As part of WEXT replacement, replace get_range_ext with a sysfs file.

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

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

Change-Id: Ic4b5076efce837d9c98167d6a807722adbbc74df
CRs-Fixed: 2683682
2020-05-15 00:36:40 -07:00
Alan Chen
d463ed704c qcacld-3.0: Add a sysfs replacement for set_dp_trace
As part of WEXT replacement, replace set_dp_trace with a sysfs file.

file path: /sys/kernel/wifi/set_dp_trace

example: echo 1 1 1 > set_dp_trace

Change-Id: I3358ad4f483f66f643c4aa5538fd2c9172d8f077
CRs-Fixed: 2683643
2020-05-15 00:36:35 -07:00
nshrivas
5e6af7256a Release 5.2.0.185Z
Release 5.2.0.185Z

Change-Id: I95bd6683445e34c3afea134c2236643729a3df1c
CRs-Fixed: 774533
2020-05-14 23:03:00 -07:00
Alan Chen
d9641d06ce qcacld-3.0: Add a sysfs replacement for txrx_stats
As part of WEXT replacement, replace txrx_stats with a sysfs file.

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

example: echo 1 1 > txrx_stats

Change-Id: I677111a48eb117044ac992616d468c1604b2bae0
CRs-Fixed: 2682369
2020-05-14 23:03:00 -07:00
Alan Chen
072b0b5daa qcacld-3.0: Add a sysfs replacement for txrx_fw_stats
As part of WEXT replacement, replace txrx_fw_stats with a sysfs file.

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

example: echo 1 > txrx_fw_stats

Change-Id: Icad1f920ef01a4b86efca786da4873a361cd2dfc
CRs-Fixed: 2682352
2020-05-14 23:02:56 -07:00
Alan Chen
3264896675 qcacld-3.0: Add a sysfs replacement for setRadar
As part of WEXT replacement, replace setRadar with a sysfs file.

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

example: echo 1 > set_radar

Change-Id: I6451f506c1525dcfc48c988f965cc6dedf64b369
CRs-Fixed: 2680424
2020-05-14 23:02:51 -07:00
Alan Chen
e735aef7ac qcacld-3.0: Add a sysfs replacement for setMonChan
As part of WEXT replacement, replace setMonChan with a sysfs file.

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

example: echo 1 1 > set_mon_chan

Change-Id: Id7d21b23129fdf6e37c99924ad91a19e3c03a0d2
CRs-Fixed: 2678501
2020-05-14 23:02:47 -07:00
nshrivas
8f37fe7135 Release 5.2.0.185Y
Release 5.2.0.185Y

Change-Id: I51161449b842f0d49d29b08f909082f38416958f
CRs-Fixed: 774533
2020-05-14 21:34:58 -07:00
Alan Chen
96d62585ee qcacld-3.0: Add a sysfs replacement for set_scan_cfg
As part of WEXT replacement, replace set_scan_cfg with a sysfs file.

file path: /sys/kernel/wifi/set_scan_cfg

example: echo 1 1 1 > set_scan_cfg

Change-Id: I0807a0fc7ab4e3963386f5f5979b039c291896d9
CRs-Fixed: 2678470
2020-05-14 21:34:58 -07:00
nshrivas
28edf2eb89 Release 5.2.0.185X
Release 5.2.0.185X

Change-Id: Ie17820384a8b08f061f65eb11351c0350e540ba8
CRs-Fixed: 774533
2020-05-14 17:49:11 -07:00
Utkarsh Bhatnagar
b0bf5ddb1b qcacld-3.0: Removed FEATURE_WLAN_RMC feature
Removed all the API realted to  FEATURE_WLAN_RMC
as well as related SME/WMA code.

Change-Id: Id471ccabcfd183fbcc7ff4e4953991f9e1551526
CRs-Fixed: 2686364
2020-05-14 17:49:11 -07:00
nshrivas
d00d63fedd Release 5.2.0.185W
Release 5.2.0.185W

Change-Id: Id99313de3553c94563655997602ca0cc93a37630
CRs-Fixed: 774533
2020-05-14 13:04:13 -07:00
Jinwei Chen
bf047d7143 qcacld-3.0: Bypass FISA for non-regular RX delivering frame
Bypass FISA for non-regular RX delivering frame

Change-Id: I835229379779057f1b8cddcfffc3b3863137e5bc
CRs-Fixed: 2683727
2020-05-14 13:04:13 -07:00
nshrivas
ebb777bda8 Release 5.2.0.185V
Release 5.2.0.185V

Change-Id: I5781e9f56e1e684231e3ced6b2a81cb2f98fee5e
CRs-Fixed: 774533
2020-05-14 11:20:42 -07:00
Bapiraju Alla
ba6b3520d3 qcacld-3.0: Add a sysfs replacement for get_sta_info
As part of WEXT replacement, replace get_sta_info with a sysfs file.

This feature can be controlled using configuration flag
CONFIG_WLAN_SYSFS_GET_STA_INFO

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

example command: cat /sys/class/net/wlanxx/get_tdls_peers

Change-Id: Iac23cdc92a860279480ec9703697f22b2f0b5223
CRs-Fixed: 2682163
2020-05-14 11:20:42 -07:00
nshrivas
6cca230131 Release 5.2.0.185U
Release 5.2.0.185U

Change-Id: Id66f0c4b9ff303178ef83a137e73fea79d5ebeb6
CRs-Fixed: 774533
2020-05-14 08:49:43 -07:00
Aditya Kodukula
6e244ca777 qcacld-3.0: Add a sysfs replacement for wowlAddPtrn
As part of WEXT replacement, replace wowlAddPtrn with a sysfs file.

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

example: echo 08:01:FFFFFFFFFFFF0000:FC > wowl_add_ptrn

Change-Id: I46d00fd8a15851cf2838f3b07a0ec2d1050d1087
CRs-Fixed: 2680490
2020-05-14 08:49:43 -07:00
nshrivas
e10a627c6c Release 5.2.0.185T
Release 5.2.0.185T

Change-Id: I049727025e846dc7bf863d6caf99e18c0d806719
CRs-Fixed: 774533
2020-05-14 07:04:53 -07:00
gaurank kathpalia
0907e9f8b3 qcacld-3.0: Cleanup IBSS in CSR layer
Cleanup IBSS related code from CSR/SME layer.

Change-Id: I4a15b0c59b55382ffb6a5c67049a6b24e3e00cbe
CRs-Fixed: 2685889
2020-05-14 07:04:53 -07:00
nshrivas
d280fe0dd0 Release 5.2.0.185S
Release 5.2.0.185S

Change-Id: I89de678544f14dec25a1bada646e63f1416e9584
CRs-Fixed: 774533
2020-05-14 02:17:00 -07:00
Aditya Kodukula
326f4481d9 qcacld-3.0: Add a sysfs replacemnet for wow_ito
As part of WEXT replacement, replace wow_ito with a sysfs file.

file path: /sys/kernel/wifi/wow_ito

example: echo 1 > wow_ito

Change-Id: I11cf9acfc4282b910145efa527682ab1738eaaa0
CRs-Fixed: 2680332
2020-05-14 02:17:00 -07:00
Aditya Kodukula
5d77b1b715 qcacld-3.0: Add a sysfs replacement for scan_disable
As part of WEXT replacement, replace scan_disable with a sysfs file.

file path: /sys/kernel/wifi/scan_disable

example: echo 1 > scan_disable

Change-Id: Icaa7083d0f7b2cefd0f77cb7da7fe0d3d52d36c5
CRs-Fixed: 2676764
2020-05-14 02:16:55 -07:00
Abhishek Ambure
a7b4ee1df8 qcacld-3.0: Don't force RSSI trigger in controlled roaming mode
Host configures rssi trigger, connected ap rssi delta and rssi
threshold in firmware. As rssi threshold is hit, firmware start
roam scan. Firmware decreases further RSSI threshold by connected
ap rssi delta if matching profile ap not found and so on.
Example: STA connects to an AP and host sets rssi trigger,
connected ap rssi delta=5 and rssi threshold as -25dbm. Firmware
starts roam scan as the rssi threshold is hit. In the roam scan
if desired profile ap is not found, decreases rssi threshold
by 5dbm i.e connected ap rssi delta. Now rssi threshold becomes
-30dbm and then firmware triggers roam scan and so on.

Thus the rssi threshold changes dynamically when controlled
roaming mode is set from userspace, to fix this do not force
RSSI triggers when controlled roaming from userspace is enable.

Change-Id: I1de3f71ca96de9f464d5d33b0271f99c55cff535
CRs-Fixed: 2681882
2020-05-14 02:16:51 -07:00
nshrivas
fa053e4857 Release 5.2.0.185R
Release 5.2.0.185R

Change-Id: Ibce6b05f57c8ddefa5729d7c25e3a8501550a82c
CRs-Fixed: 774533
2020-05-13 21:07:14 -07:00
Nirav Shah
5537b67b89 qcacld-3.0: Update rx ldpc capability based on ini configuration
Update rx ldpc capability based on ini
configuration(gEnableRXLDPC).

Change-Id: Ic160850f4fbba19a8faebc7f0c0545f21834de93
CRs-Fixed: 2677946
2020-05-13 21:07:14 -07:00
nshrivas
deb6257efe Release 5.2.0.185Q
Release 5.2.0.185Q

Change-Id: Ic249f7508d114ae4fbb7ae84a8a573176b8b7fa0
CRs-Fixed: 774533
2020-05-13 19:17:37 -07:00
nshrivas
f3a05294f4 Release 5.2.0.185P
Release 5.2.0.185P

Change-Id: I12eb48264e9c4113afad3ed045babba1f9735737
CRs-Fixed: 774533
2020-05-13 12:39:42 -07:00
Bapiraju Alla
9171aece4a qcacld-3.0: Add a sysfs replacement for connect info
Add sysfs entry to get connection info instead of debugfs.

This feature can be controlled using configuration flag
CONFIG_WLAN_SYSFS_CONNECT_INFO

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

example command: cat /sys/class/net/wlanxx/connect_info

Change-Id: Ibe183e4665cdbea66b83abd4732e7ef33843612d
CRs-Fixed: 2682856
2020-05-13 12:39:41 -07:00
Bapiraju Alla
5cb4bcdee5 qcacld-3.0: Handle memory leak during start/stop SAP
Free beacon memory in all execution paths to avoid memory leak.

Change-Id: Ibc5f8c90a142891fd4e60c79ca5ed75c708ecad6
CRs-Fixed: 2682205
2020-05-13 12:39:38 -07:00
nshrivas
a6c7940468 Release 5.2.0.185O
Release 5.2.0.185O

Change-Id: I11a24283abcbc576c0cc5b30446918d53b5d9109
CRs-Fixed: 774533
2020-05-13 08:37:28 -07:00
nshrivas
1bb89fb4dc Release 5.2.0.185N
Release 5.2.0.185N

Change-Id: I06199d54ecd128f9fda041949ec57c04571e4be8
CRs-Fixed: 774533
2020-05-13 04:57:07 -07:00
gaurank kathpalia
f47d2eb63f qcacld-3.0: Remove IBSS support from HDD
Remove IBSS support from HDD layer.

Change-Id: Ie581faa15317b8523b36507bb1662246b95c2e47
CRs-Fixed: 2684352
2020-05-13 04:57:07 -07:00
nshrivas
37f2e82393 Release 5.2.0.185M
Release 5.2.0.185M

Change-Id: I9bf6ca85b91e129f24367aac75bed5ebbfe216a0
CRs-Fixed: 774533
2020-05-13 01:30:20 -07:00
Wu Gao
aeb4629aa4 qcacld-3.0: Correct the names of structure and API about spectral
There is change modified the name of structure and API about spectral
cmd operations registration. So, add this change to correct them in
wma layer.

Change-Id: Icf1b8eb84e6cd6d110fe32ab30566c68ea33e2d7
CRs-Fixed: 2682782
2020-05-13 01:30:20 -07:00
Vulupala Shashank Reddy
d4724cf9af qcacld-3.0: Delete older PMK of all APs which have the same PMK
Currently when supplicant sends set_pmkid_cache (Either after initial
connection or after session timeout with AP) to host to set
the new pmkid derived after the EAP is done. Host deletes PMK entry
only if bssid/ssid matches.
For OKC, the PMK derived from the initially associated AP will be
used for deriving PMKID for all APs. In case of connection with OKC
supported APs, If STA receive session timeout from AP, HOST should
delete older PMK of all APs which have the same PMK. Else While
roaming HOST could send older PMK to OKC supported AP and this
results PMK flush in FW and leads to full EAP.

Change-Id: I95881db229d5193cbdc22c5f30e1375b3892fbd4
CRs-Fixed: 2679737
2020-05-13 01:30:15 -07:00
nshrivas
8dc196464b Release 5.2.0.185L
Release 5.2.0.185L

Change-Id: Iabb04110fa8adfbbb9ebff0ccf8a77a4ee0138be
CRs-Fixed: 774533
2020-05-12 23:36:47 -07:00
Sourav Mohapatra
32bc20bc53 qcacld-3.0: Use hex dump instead of printing WOW pattern
Currently in the driver, we are printing the WOW pattern to the kernel
logs. This pattern is an array and printing it one by one can lead to
excessive logging.

Instead of printing one by one, use qdf_trace_hex_dump() to print the
pattern in one go. Also move the logging from kernel to the driver logs.

Change-Id: I6a3b02b0e57d8c27bb5ea4a7c44f67634c0f33fd
CRs-Fixed: 2661242
2020-05-12 23:36:47 -07:00
Jingxiang Ge
fa85d03310 qcacld-3.0: Add a sysfs replacement for modify_acl
As part of WEXT replacement, replace modify_acl with a sysfs file.
file path: /sys/class/net/wlanxx/modify_acl
example: echo 0x00 0x11 0x22 0x33 0x44 0x55 0 0 > modify_acl

Change-Id: I2022a50be84fa21a437aed9ecfdbe4d4bba613df
CRs-Fixed: 2682881
2020-05-12 23:36:42 -07:00
nshrivas
17a9810ebe Release 5.2.0.185K
Release 5.2.0.185K

Change-Id: Iac23e051c5313316d6d527e98bd3c945e53416c6
CRs-Fixed: 774533
2020-05-12 15:36:08 -07:00
Vevek Venkatesan
cdfa210156 qcacld-3.0: free the skb if osif_vdev_sync_op_start failed
If osif_vdev_sync_op_start failed, that means operation on
net_dev is not permitted. So, free the skb before return.

Change-Id: Icd366c2d9d947e39f26f1b21878bfe0154a55fdc
CRs-Fixed: 2681018
2020-05-12 15:36:04 -07:00
Ashish Kumar Dhanotiya
d064902a66 qcacld-3.0: Update disconnect rssi on every disconnect rssi event
Currently there is a check to validate if the station is in
associated state or not in the hdd lost link cp stats info cb,

There is a race condition where if the disconnection happens
from ap in that case the callback gets invoked before the
connection state in the station context gets updated and thus
the rssi on disconnect is not updated.

To address above issue remove the check to validate the station
state and update the rssi on disconnect irrespective of the
state of the connection.

Change-Id: I9cc6a08cdf0a1081adfde7a9423a665bc977cffc
CRs-Fixed: 2678667
2020-05-12 15:36:00 -07:00
Surabhi Vishnoi
c25f24b8d8 qcacld-3.0: Add support for HTT_T2H_MSG_TYPE_CFR_DUMP_COMPL_IND msg
Add support to parse the HTT_T2H_MSG_TYPE_CFR_DUMP_COMPL_IND
message. This target to host message is received when CFR feature
is enabled.

Change-Id: I592cd5ca663018f2958550e6e3e383bb796ee168
CRs-Fixed: 2680730
2020-05-12 15:35:56 -07:00
nshrivas
26912417a3 Release 5.2.0.185J
Release 5.2.0.185J

Change-Id: Ibccbfad1e55bc0e008b8b86880b530f79fc3dba6
CRs-Fixed: 774533
2020-05-12 13:45:10 -07:00
Kiran Kumar Lokere
ca4db85bc2 qcacld-3.0: Fix issue with OBSS scan cmd send failure
OBSS scan enable WMI command is not correctly set for one of
the TLV of the command which corrupted the length of the next
TLV of the command and lead to command send failure.

Correct the buffer offset of the TLV in the OBSS scan WMI command.

Change-Id: Ieb9467c52ae9d9dab602485b4b63fc9de48e6924
CRs-Fixed: 2681000
2020-05-12 13:45:08 -07:00
Arun Kumar Khandavalli
a04e1c5dd8 qcacld-3.0: Register sysfs entries only for Mission mode
Some of the psoc/pdev specific sysfs entries are valid only for
mission mode and a no-op for the non-mission modes.

Add a sanity check for global mode type while adding and removing
the interface.

Change-Id: If017f583f9b3a29c7d43e59709227a9ba639764d
CRs-Fixed: 2682924
2020-05-12 13:45:04 -07:00
nshrivas
45a77d66f0 Release 5.2.0.185I
Release 5.2.0.185I

Change-Id: I92cb7283982f7677c613da1795125370ad3722fd
CRs-Fixed: 774533
2020-05-12 08:36:59 -07:00
Alan Chen
999e31af36 qcacld-3.0: Move sysfs create/destroy to start/stop adapter
Move adapter-specific sysfs files, create/destroy, to start/stop adapter
such that unwanted sysfs creations can be avoided for sap only files.

Change-Id: Icff8df5f773fda0560400360c37d644274df456e
CRs-Fixed: 2683477
2020-05-12 08:36:59 -07:00
nshrivas
67aef89ea5 Release 5.2.0.185H
Release 5.2.0.185H

Change-Id: I75ae8f48e752e2477d0c7a02e7e7e66d1ced36e4
CRs-Fixed: 774533
2020-05-11 13:32:08 -07:00
Ashish Kumar Dhanotiya
c57df4421d qcacld-3.0: Add logs for sar safety and sar unsolicited timers
Currently there are no logs to check at what time SAR safety timer
or sar unsolicited timer starts or stops.
Add debug logs to know the exact time when the sar safety timer
and sar unsolicited timer start and stop.

Change-Id: I2feaff17c6940a18d35bc4271549eda5dc36a13a
CRs-Fixed: 2679214
2020-05-11 13:32:08 -07:00
nshrivas
cf8e2ecbbf Release 5.2.0.185G
Release 5.2.0.185G

Change-Id: Ia7d95239a270e5fb6a3520114b41feb018cf675c
CRs-Fixed: 774533
2020-05-11 11:44:01 -07:00
Jingxiang Ge
9ff73b6c5b qcacld-3.0: Add a sysfs replacement for unit_test_target
As part of WEXT replacement, replace unit_test_target with
a sysfs file.
file path: /sys/class/net/wlanxx/unit_test_target
        wlanxx is adapter name
        example: echo 5 2 2 1 > unit_test_target

Change-Id: I7815a4238dc39e468ae8e43d26405dc72a0a84df
CRs-Fixed: 2681473
2020-05-11 11:44:01 -07:00
Jingxiang Ge
02938bab2b qcacld-3.0: Add a sysfs replacement for suspend/resume
As part of WEXT replacement, replace wlan_suspend/wlan_resume
with a sysfs file.
file path: /sys/class/net/wlanxx/wlan_suspend
           /sys/class/net/wlanxx/wlan_resume
                wlanxx is adapter name
example:
         echo 0 0 > wlan_suspend
         echo > wlan_resume

Change-Id: I378afaa5f0ee00d893f4f9eb3e6ce2e80062b43f
CRs-Fixed: 2680776
2020-05-11 11:43:57 -07:00
Jingxiang Ge
4accf73e7b qcacld-3.0: Add a sysfs replacement for crash_inject
As part of WEXT replacement, replace crash_inject with a sysfs file.
file path: /sys/class/net/wlanxx/crash_inject
        wlanxx is adapter name
        example: echo 1 1 > crash_inject

Change-Id: Ica3e2c0941e9217b42ed7cd3194fe98c8f0d0aa9
CRs-Fixed: 2680684
2020-05-11 11:43:54 -07:00
nshrivas
53af32a7d9 Release 5.2.0.185F
Release 5.2.0.185F

Change-Id: Ide9b19409d894536eb8e6d14548f66561425ba3e
CRs-Fixed: 774533
2020-05-11 07:11:26 -07:00
Karthik Kantamneni
fe057fbcff qcacld-3.0: Define dummy APIs for ext stats when EXT_STATS feature disabled
Define dummy APIs for wlan_hdd_cfg80211_stats_ext_callback,
wlan_hdd_cfg80211_stats_ext2_callback when EXT_STATS feature
is disabled to avoid unknown symbol error.

Change-Id: Ic53d316da986a2eeafbea75eeb6e0aa4e91d15ec
2020-05-11 07:11:25 -07:00
nshrivas
24d5cb64c8 Release 5.2.0.185E
Release 5.2.0.185E

Change-Id: Idc4afc8bc0100bb220b2e397cb6037b9ae3d9708
CRs-Fixed: 774533
2020-05-11 05:24:22 -07:00
Pankaj Singh
beccafae0d qcacld-3.0: Add support for thermal mitigation after SSR
Wlan driver is not caching the thermal mitigation level
configured by framework. As a result after ssr thermal
level is not send to fw.

Fix, to cache the thermal level in the driver and apply
it after ssr.

change-ID: I7ede84a11149e093b6a674c3a72f0aeb54a980db
CRs-Fixed: 2678533
2020-05-11 05:24:22 -07:00
Sourav Mohapatra
748776ef20 qcacld-3.0: Add check for pesession before accessing it
In function lim_send_probe_req_mgmt_frame, pesession is being used
without sanity check.

Add sanity check for pesession.

Change-Id: Iea52db4399cc50e4e7cd99bec92677e845274153
CRs-Fixed: 2668308
2020-05-11 05:24:18 -07:00
nshrivas
13be56554a Release 5.2.0.185D
Release 5.2.0.185D

Change-Id: I229cca9b368abb810afacdebeffef6c36e570427
CRs-Fixed: 774533
2020-05-10 15:00:49 -07:00
Srinivas Dasari
e493ece20b qcacld-3.0: Use MAX_PEERS instead of IBSS define in conn_info
Currently, SIR_MAX_NUM_STA_IN_IBSS(16) is used while updating
sta_ctx->conn_info in hdd_save_peer/hdd_delete_peer. IBSS
supports maximum 16 peers but NDP might support more based
on platform. This restricts the max supported NDP peers to 16.
But host driver supports MAX_PEERS(32) no.of peers and use the
same here as sta_ctx->conn_info has support for MAX_PEERS(32)
mac addresses.

Change-Id: Ic52422435f97929e22cf3c0897ce9173793ee12e
CRs-Fixed: 2673110
2020-05-10 15:00:49 -07:00
nshrivas
b6729a750c Release 5.2.0.185C
Release 5.2.0.185C

Change-Id: I450c1bff04fc13da753743675b567bbad0b701aa
CRs-Fixed: 774533
2020-05-10 03:03:01 -07:00
nshrivas
a9f4723a88 Release 5.2.0.185B
Release 5.2.0.185B

Change-Id: I828f3b12574820b40dd3aa1c3f7c67e1e66703ae
CRs-Fixed: 774533
2020-05-09 00:56:51 -07:00
nshrivas
50678287db Release 5.2.0.185A
Release 5.2.0.185A

Change-Id: I28dc179488dd839067a837bcfa764919b638e297
CRs-Fixed: 774533
2020-05-08 18:50:54 -07:00
Lincoln Tran
9faaae1bb7 qcacld-3.0: Cleanup instances of CFG_COUNTRY_CODE
Remove instances of CFG_COUNTRY_CODE and country_code from
wlan_mlme_reg struct.
Remove redundant country code APIs.

This change is needed because the country code is no longer
stored in CFG file, and subsequently, there is no need for
CFG_COUNTRY_CODE.

Change-Id: Ia4b3b40d0dccfde696352967f2902dfba344a445
CRs-Fixed: 2634079
2020-05-08 18:50:54 -07:00
nshrivas
08c5502552 Release 5.2.0.185
Release 5.2.0.185

Change-Id: I20541f8ec229a86b524684a182aedad75bf35a49
CRs-Fixed: 774533
2020-05-08 16:10:39 -07:00
Sourav Mohapatra
1de1ca890f qcacld-3.0: Fill header for HANG_EVT_TAG_LEGACY_MAC hang data
Currently while filling in the hang event data for the event
HANG_EVT_TAG_LEGACY_MAC, the header is not getting filled in. This can
cause the data to go out of sync.

Add the header to the data before filling in the values.

Change-Id: Iedcb39623276e5f04ef9ffb5b3284e67f6c89312
CRs-Fixed: 2678949
2020-05-08 16:10:39 -07:00
Manjunathappa Prakash
ecade686b9 qcacld-3.0: Check for NULL dereference before access
Check for NULL dereference before accessing it.

Change-Id: Id2dc5f2c0f54f0c7681d2a26a53e7190ef46aba2
CRs-Fixed: 2668241
2020-05-08 16:10:35 -07:00
Manjunathappa Prakash
b6a71494fe qcacld-3.0: Use %pK format specifier in dp_rx_thread logs
Cleanup logging, usage of %p or %pk will lead to information leak.
Always use %pK instead when ever logging the address.

Change-Id: Id60782855f242175183f88e9f1c2efb9eb578404
CRs-Fixed: 2677373
2020-05-08 16:10:31 -07:00
Manjunathappa Prakash
52c3189299 qcacld-3.0: Use %pK format specifier in dp_rx_fisa logs
Cleanup logging, usage of %p or %pk will lead to information leak.
Always use %pK instead when ever logging the address.

Change-Id: Id11e1b52b394eb10bb2b32fc2ee2e04116f98026
CRs-Fixed: 2677373
2020-05-08 16:10:27 -07:00
nshrivas
96458d210c Release 5.2.0.184Z
Release 5.2.0.184Z

Change-Id: Ia5b52ce95515745e4616035e65d923fb1fa40750
CRs-Fixed: 774533
2020-05-08 14:25:35 -07:00
Ananya Gupta
16c13ea0b8 qcacld-3.0: Initialize peer_timer_bitmask
peer_timer_bitmask of hang_data was uninitialized which may
contain a garbage value.
Initialized the variable with 0.

Change-Id: I5875bb0d121bcbf14a2afc9efec6697cf4b4dba4
CRs-Fixed: 2680955
2020-05-08 14:25:35 -07:00
Manikanta Pubbisetty
174d2ccae5 qcacld-3.0: drop frames in the RX thread queue during peer unmap
Because of a race that happen during vdev delete, RX packets can get
queued to the RX thread after the RX flush (done as part of peer deletion)
and by the time RX thread is woken up for processing, the netdev pointer
would be NULL leading to a crash.

Avoid this by dropping pending frames in the RX thread during peer unmap
as well.

Change-Id: Id79d7d05c487fcabfd104a15dc4038d48703b07c
CRs-Fixed: 2681195
2020-05-08 14:25:27 -07:00
nshrivas
08831e9b98 Release 5.2.0.184Y
Release 5.2.0.184Y

Change-Id: Id67cd941b23c90e237052de9274d8e238f0ee724
CRs-Fixed: 774533
2020-05-08 12:33:22 -07:00
Sourav Mohapatra
00f5651b66 qcacld-3.0: Remove validate context check in LL stats get NB ops
As a part of LL stats get NB operation, the driver sends the LL stats
req to the FW, waits for the response and sends back the stats in a
synchronous reply. All this happens as a part of one single NB
operation.

Within this operation, if an rmmod comes, there can be a possiblity
of a memory leak. In function hdd_link_layer_process_radio_stats, there
is a check to validate the hdd_context and return if the driver is
undergoing load/unload. As a part of the premature return, some memory
are not freed properly.

To resolve this, remove the validity check from the NB operation. The
operation itself comes with DSC synchronization and ensures that the
hdd_context remains valid atleast until the operation is complete. Thus
there is no need for the redundant check of validity of hdd_context,
which resolves the memory leak issue also.

Change-Id: Ieea755e83addac99659dbd6e0e5f160b86e6f9fa
CRs-Fixed: 2679081
2020-05-08 12:33:22 -07:00
Alan Chen
e93ba0f5b1 qcacld-3.0: Add a sysfs replacement for reassoc
As part of WEXT replacement, replace reassoc with a sysfs file.

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

example: echo 0 > reassoc

Change-Id: Ib4f3582bb8c164dd4f3ab739367520b9aeb0f5b9
CRs-Fixed: 2676629
2020-05-08 12:33:18 -07:00
Alan Chen
549fb49793 qcacld-3.0: Add a sysfs replacement for set_fw_mode_cfg
As part of WEXT replacement, replace set_fw_mode_cfg with a sysfs file.

file path: /sys/kernel/wifi/set_fw_mode_cfg

example: echo 1 1 > set_fw_mode_cfg

Change-Id: I851df440f9eb5f73798deaf3b4d0f128f6925f26
CRs-Fixed: 2675570
2020-05-08 12:33:13 -07:00
nshrivas
6932d7009c Release 5.2.0.184X
Release 5.2.0.184X

Change-Id: I00d0acacaa2864c81f39494d028bdc6c1dff0f6f
CRs-Fixed: 774533
2020-05-08 10:47:33 -07:00
Liangwei Dong
06109080e9 qcacld-3.0: Correct 160MHz SAP dfs flag
Use wlan_reg_get_channel_state_for_freq API to get channel
state and identify 6Ghz channel as non-dfs channel.

Change-Id: Ib134a71c62e24324abc12e5a5b11a524e89de810
CRs-Fixed: 2681608
2020-05-08 16:40:04 +08:00
nshrivas
42a98a6677 Release 5.2.0.184W
Release 5.2.0.184W

Change-Id: I7d3ce8ec6438572ef77b1bc0236ed31378ae08b6
CRs-Fixed: 774533
2020-05-07 14:52:26 -07:00
Abhishek Ambure
ab1d6c2996 qcacld-3.0: Fill current oper freq in sw_target_freq
During HT channel width change, host updates secondary channel number
in "sw_target_freq" and not the primary channel frequency. LIM uses
sw_target_freq to update the CSR sessions frequency which become invalid
channel. During SAP start, as host uses this channel to check for SCC
switch, the invalid frequency lead to invalid channel structure getting
accessed.

Hence, during HT channel width change, update sLimChannelSwitchInfo's
sw_target_freq member with current operating frequency stored in
pe_session's curr_op_freq.

Change-Id: Ie7aaa2187d35dba74050263e1ebf6f72d106aa85
CRs-Fixed: 2680035
2020-05-07 14:52:26 -07:00
nshrivas
320b76b90a Release 5.2.0.184V
Release 5.2.0.184V

Change-Id: I5d22ed90a286d1018424b958c80460f6e445db9f
CRs-Fixed: 774533
2020-05-07 13:03:40 -07:00
nshrivas
9de106b0aa Release 5.2.0.184U
Release 5.2.0.184U

Change-Id: I84a5f44c65232917d301a06d4e215074b82c821d
CRs-Fixed: 774533
2020-05-07 11:24:02 -07:00
gaurank kathpalia
e423549d8e qcacld-3.0: Add support for DFS channel weightage in ACS
Add support to provide the channel weightage of
DFS channels so that the weight can be configured
and the user can control whether they are allowed
to be selected for the SAP.

Change-Id: I53a22a0059d56aa8fca66215fed1ed0588db7db5
CRs-Fixed: 2676919
2020-05-07 11:24:02 -07:00
nshrivas
e8e189c308 Release 5.2.0.184T
Release 5.2.0.184T

Change-Id: I9339c8e5e5511a0ac66c712e0a094a385806f2b5
CRs-Fixed: 774533
2020-05-07 08:44:07 -07:00
Utkarsh Bhatnagar
767aabd6e1 qcacld-3.0: Corrected logging in sap_fsm_state_init
The log signifying SAP failure was incorrectly printed.
Changed the logic to print those logs correctly

Change-Id: Ifc26b34f41c60a3ce50d9c7cfc4ecd0739853844
CRs-Fixed: 2680263
2020-05-07 08:44:07 -07:00
nshrivas
2819c16758 Release 5.2.0.184S
Release 5.2.0.184S

Change-Id: I4e6c647bac348fe3834212520f3b3d53d6f8ac46
CRs-Fixed: 774533
2020-05-07 03:44:38 -07:00
Bapiraju Alla
947eeb60b8 qcacld-3.0: Fix return type for hdd_data_stall_process_event
Fix return type for hdd_data_stall_process_event to match with
data_stall_detect_cb callback return type.

Change-Id: I6d81171f32df7a0e6e66d5651739463c422f4a9d
CRs-Fixed: 2674550
2020-05-07 03:44:38 -07:00
Sourav Mohapatra
a777718385 qcacld-3.0: Do SSR cleanup during uevent/shutdown based on context
Currently we have two different cleanup approach for SSR. In case of
Adrastea hardware, cleanup can be done during the receipt of FW_DOWN
uevent while in case of HS/HSP it has to be defered to shutdown.

These two approaches are segregated by different branches and thus did
not need to coexist. But as part of future upgrades, a single component
would be used for both the hardware types.

To enable having both these paths, use the context of execution of the
pld_uevent as the differentiating agent. In case of interrupt context,
go with the deferred cleanup and in case of normal process context,
perform the cleanup in pld_uevent itself.

Change-Id: I554a10cdd99b17a6d3e059ebf7a157b0cddb6226
CRs-Fixed: 2669840
2020-05-07 03:44:34 -07:00
nshrivas
d51eb89859 Release 5.2.0.184R
Release 5.2.0.184R

Change-Id: Id0c12b6f65979ff037a08a8191413bff03882bb7
CRs-Fixed: 774533
2020-05-07 01:55:06 -07:00
Abhinav Kumar
ba7131dd8c qcacld-3.0: Disable BTM offload to fw if peer support MBO/OCE
If DUT connected to a non-PMF AP in MBO/OCE enabled network, STA
should not initiate roaming due to BTM trigger.

Fix is to enable BTM offload to firmware only if a peer support
pmf in case of MBO/OCE connection.

Change-Id: Ifee077fed2630242e7dc93e6d1a3915e592d4285
CRs-Fixed: 2678005
2020-05-07 01:55:06 -07:00
nshrivas
501cfcbf49 Release 5.2.0.184Q
Release 5.2.0.184Q

Change-Id: I3bc094bc15d1dcfe96c03db8a1070624f65413f2
CRs-Fixed: 774533
2020-05-06 21:30:27 -07:00
Li Feng
b38b14e1fb qcacld-3.0: Support gc+sap scc on dfs channel
Once gc connected on dfs channel, allow the scc sap start on the same
dfs channel with dfs master capability disabled in the driver if 
sta_sap_scc_on_dfs_chan ini is set.

Change-Id: Ie1c3ad2850fb0bce3f19f8fbe4750e5a97f2be93
CRs-Fixed: 2666581
2020-05-06 21:30:27 -07:00
Lin Bai
aa65aa169f qcacld-3.0: Strip duplicate HE in beacon template
HE capabilities and HE operation IEs will be populated
in function sch_set_fixed_beacon_fields().
And duplicated one from additional IE need to be
stripped if any.

Change-Id: Ic5f508782ff23b3e99f433a31eee9df58c1c40a6
CRs-Fixed: 2666373
2020-05-06 21:30:23 -07:00
nshrivas
d57b288000 Release 5.2.0.184P
Release 5.2.0.184P

Change-Id: I5674ccddeaf5f585be2a68d85bcbdaf413b27511
CRs-Fixed: 774533
2020-05-06 19:52:28 -07:00
Jingxiang Ge
69a3183113 qcacld-3.0: Checking assoc state for bw timer when resuming
In runtime resuming, there is no necessary to start bw timer
if adapter is in non-assoc state.
If bw timer has been started in idle state, there will be no
match bw timer stop. In hdd_bus_bandwidth_deinit, it will consider
as abnormal.

Change-Id: Id36af395269ebf3a09429b2606dbd438f147f24f
CRs-Fixed: 2678835
2020-05-06 19:52:28 -07:00
nshrivas
cc9d8dbc78 Release 5.2.0.184O
Release 5.2.0.184O

Change-Id: I40429ca1b08c4695f5afa3c38dfcd895192a54cd
CRs-Fixed: 774533
2020-05-06 01:26:39 -07:00
Utkarsh Bhatnagar
83a3de0def qcacld-3.0: Remove unused PMF code
PMF logic is moved to crypto so remove unused PMF code.

Change-Id: I141a7683879da8f1961183db6dd26285c7bf4c4a
CRs-Fixed: 2678890
2020-05-06 01:26:38 -07:00
Bapiraju Alla
03aa3d8d58 qcacld-3.0: Handle peer leak during SSR incase of SAE
Currently, there is a peer leak when SSR is triggered during SAE
authentication.

To avoid this,don't purge serialization commands from hdd_wlan_shutdown.

Change-Id: I05a646f2af9d31bda27bb74b8f58390d3bf09623
CRs-Fixed: 2678294
2020-05-06 01:26:33 -07:00
Vulupala Shashank Reddy
d965a28c1c qcacld-3.0: Update OFDM and CCK flags for packet capture mode
Add support to update OFDM and CCK flags for packet capture
mode.

Change-Id: I1acb6b512360b6236a119070aba97409e316646c
CRs-Fixed: 2676302
2020-05-06 01:26:29 -07:00
nshrivas
82cad63846 Release 5.2.0.184N
Release 5.2.0.184N

Change-Id: I8e5d03749304cc5b298a342d53a88598a693a41a
CRs-Fixed: 774533
2020-05-05 15:05:57 -07:00
Bapiraju Alla
2699855b77 qcacld-3.0: Validate return value of target_psoc_get_mac_phy_cap
Add sanity check for MAC PHY capabilities pointer returned by
target_psoc_get_mac_phy_cap. This avoids illegal memory access when
returned pointer is not valid.

Change-Id: I2ee0cdb5945599a2ccf35db819555d0f7192ef9f
CRs-Fixed: 2668418
2020-05-05 15:05:57 -07:00
Utkarsh Bhatnagar
3997382aba qcacld-3.0: Use self PMF cap only if AP support PMF
In case AP doesn't support PMF, if STA has PMF enabled bit set
in assoc req, some AP may reject the association.

Fix is to consider self PMF cap only if AP support PMF

Change-Id: I6317c653cb7c21beb852d73b8eb541d6582a3a26
CRs-Fixed: 2677988
2020-05-05 15:05:32 -07:00
nshrivas
16fc83d781 Release 5.2.0.184M
Release 5.2.0.184M

Change-Id: I0ab0e952ea5a0ea5611c13410a47c34900051407
CRs-Fixed: 774533
2020-05-05 00:51:41 -07:00
Gururaj Pandurangi
3632d87c9a qcacld-3.0: Modify band checks to account 6GHz freq
Modify band checks in lim APIs to account 6GHz
frequency

Change-Id: Ieb08a14640074267c910a197f0d4d2f9bb467a54
CRs-Fixed: 2653415
2020-05-05 00:51:41 -07:00
nshrivas
9614d8539d Release 5.2.0.184L
Release 5.2.0.184L

Change-Id: I9cf8f4ff5f02a4f03b2b6bad11c0d01243cf2436
CRs-Fixed: 774533
2020-05-04 23:12:06 -07:00
Alan Chen
06551ba572 qcacld-3.0: Rename gEnablePowerSaveOffload to gAdvancedPowerSaveMode
gEnablePowerSaveOffload is confusing, so change it to
gAdvancedPowerSaveMode.

Value 0: Disable advanced power save
Value 1: Enable advanced power save

Change-Id: Ib5593ef31eedacdc232ffbad183974e2cd847e83
CRs-Fixed: 2676664
2020-05-04 23:12:06 -07:00
nshrivas
5e6cdf7b3c Release 5.2.0.184K
Release 5.2.0.184K

Change-Id: Ib6bd9014beda2d7485337dddf1e5a5bf3a0fe0a4
CRs-Fixed: 774533
2020-05-04 21:27:49 -07:00