Commit Graph

16993 Commits

Author SHA1 Message Date
nshrivas
d681a1def1 Release 5.2.0.149F
Release 5.2.0.149F

Change-Id: Ibc4d6c80b7d1cd9cb0579c7684071642506ce9a1
CRs-Fixed: 774533
2019-09-20 23:36:09 -07:00
Sourav Mohapatra
3f02b6a70d qcacld-3.0: Add ini support for NDP inactivity timeout
Add an ini configuration that configures the inactivity timeout for NDP
peer. The value is sent to the firmware via the VDEV param
WMI_VDEV_PARAM_NDP_INACTIVITY_TIMEOUT.

Change-Id: Ifffe6bb40df94761d739463cf7e54a0be7e2a375
CRs-Fixed: 2531756
2019-09-20 23:36:09 -07:00
sheenam monga
67ecb07330 qcacld-3.0: Add operating frequency in hdd_config
Currently, operating channel is populated for hdd_config
In 6G channel numbers can be same with 2G/5G
which can lead to erroneous behaviour in case of 6G.

Fix is to add operating frequency list in structure hdd_config
as frequency will always be unique.

Change-Id: I3f21b75c6763054afd42df6ea13d5ce96b0ed0a8
CRs-Fixed: 2517114
2019-09-20 23:36:02 -07:00
nshrivas
c57b61f55d Release 5.2.0.149E
Release 5.2.0.149E

Change-Id: I8a18ecb8d44113f72bccd2ecfe83bec016a87e48
CRs-Fixed: 774533
2019-09-20 04:11:24 -07:00
Liangwei Dong
424738442b qcacld-3.0: Do not block tx if no CAC performed
For STA+SAP on SCC on DFS channel and the DFS master
capability is disabled on SAP by INI. The CAC is skipped
in protocol stack. Do not block tx for SAP in
such condition.

Change-Id: I62a130b246d37d10492d287776c5b51e48d63c5f
CRs-Fixed: 2525465
2019-09-20 04:11:24 -07:00
nshrivas
3a32b2c2c5 Release 5.2.0.149D
Release 5.2.0.149D

Change-Id: Ib2cbc5e7a636704049955e339d1d0d4cf6ab78b4
CRs-Fixed: 774533
2019-09-20 02:48:53 -07:00
Pragaspathi Thilagaraj
7e30ce86c4 qcacld-3.0: Update vdev mlme object nss after pe_session nss update
The nss value in the "iw <dev_name> link" command and
"iw <dev_name> dump station" is updated from the vdev mlme
object vdev_mlme->proto.generic.nss. This nss value is
updated only from lim_process_assoc_rsp_frame() and
lim_extract_ap_capability() only is the ap nss is less than
the session_nss. In roaming case the session_nss is updated
with the AP nss in lim_populate_peer_rate_set() so in assoc
response path the the global mlme vdev nss is not updated.

Update the vdev mlme object nss in lim_process_assoc_rsp_frame()
from the pe_session.

Change-Id: I2575a591f73ee172a83d4681e5f3134d5c9c60b0
CRs-Fixed: 2525710
2019-09-20 02:48:53 -07:00
nshrivas
586324202d Release 5.2.0.149C
Release 5.2.0.149C

Change-Id: Ibfc840d83bd34e6e52d92e4fbd39511171c09a3b
CRs-Fixed: 774533
2019-09-20 01:06:04 -07:00
Hangtian Zhu
c7642605cc qcacld-3.0: Add CONFIG_MULTI_IF_LOG to support multi if log
This is a propagation of qcacld-2.0 commit 98821c7dcf49d ("qcacld-2.0:
Add CONFIG_MULTI_IF_LOG to support multi if log"). Add CONFIG_MULTI_IF_LOG
to support multi if log by assigning the specific netlink protocol
when dual wlan cards are loaded.

Change-Id: I3ea9574899c23a8d2ebbdea5b958cc3ad7947fe5
CRs-Fixed: 2525483
2019-09-20 01:06:04 -07:00
nshrivas
c9f78a60f8 Release 5.2.0.149B
Release 5.2.0.149B

Change-Id: I9d34b5b755573f9704d7886d9d2f22f4bf098c64
CRs-Fixed: 774533
2019-09-19 20:54:47 -07:00
Saket Jha
9953150a8f qcacld-3.0: Featurize legacy Helium DP
Memory optimization of legacy Helium DP (ol_*.*,htt_*.*)

Change-Id: I8f3a1f7edeeb8f793c4d3c74d22231d86ff124a6
CRs-Fixed: 2508723
2019-09-19 20:54:47 -07:00
nshrivas
aff4fcb8fb Release 5.2.0.149A
Release 5.2.0.149A

Change-Id: I51af4888195e27d0db501172cf9ed4443c6513a7
CRs-Fixed: 774533
2019-09-19 18:55:48 -07:00
Gururaj Pandurangi
9a762e6d84 qcacld-3.0: Fix to update ROAMSCANPERIOD value
Fix GETROAMSCANPERIOD function to update the ROAMSCANPERIOD
value.

Change-Id: Ieda1f71b1210bf2a64c55c9aba06f86a91bdf271
CRs-Fixed: 2526740
2019-09-19 18:55:47 -07:00
nshrivas
bbf19c9879 Release 5.2.0.149
Release 5.2.0.149

Change-Id: I81ef2f414b922ea22bd21fb2304e6e08db8fc7c2
CRs-Fixed: 774533
2019-09-19 17:28:20 -07:00
Tushnim Bhattacharyya
da631543bd qcacld-3.0: Fix next scan command logic
If a candidate is found do not mark the next scan command
as failure.

Change-Id: If47befbac946941fdc73161a6dd48d36f3ef566e
CRs-Fixed: 2530378
2019-09-19 17:28:20 -07:00
nshrivas
01bdceb6bc Release 5.2.0.148Z
Release 5.2.0.148Z

Change-Id: Ie0fd1a10e13038beb25778416aaf38ee8766cf2c
CRs-Fixed: 774533
2019-09-19 16:07:15 -07:00
Abhishek Singh
c70afa3f53 qcacld-3.0: Remove duplicate bss_idx from struct pe_session
The bss_idx represent vdev id in pe session. pe session already
have smeSessionId/vdev_id to represent this.

Thus remove duplicate bss_idx from struct pe_session.

Change-Id: I18c59d49233dd547f38d7f8a23be5ebbe7d72c30
CRs-Fixed: 2531014
2019-09-19 16:07:14 -07:00
nshrivas
36f2d37fac Release 5.2.0.148Y
Release 5.2.0.148Y

Change-Id: Ia61571cbed34cafe5e53ed0b011dca229bff4ee8
CRs-Fixed: 774533
2019-09-19 14:52:53 -07:00
Abhishek Singh
78b974008a qcacld-3.0: Remove unused bssId from struct sDphHashNode
The bssId in struct sDphHashNode represent vdev_id and same can
be used from pe session which already has this info so remove
bssId param.

Change-Id: I47a7f27e95bfaa9ecd617cb531895601a27dfbf5
CRs-Fixed: 2530965
2019-09-19 14:52:52 -07:00
nshrivas
a3ddef7efd Release 5.2.0.148X
Release 5.2.0.148X

Change-Id: Iaf9c934a01e65e9506e506772dc74e90106051e3
CRs-Fixed: 774533
2019-09-19 13:36:52 -07:00
gaurank kathpalia
081c66cfde qcacld-3.0: Free Sap acs ch list memory in stop adapter
Currently the SAP memory is not freed as part of stop
adapter as the sap ctx is mem zero in deinit ctx, hence
the addr to free in NULL
Fix is to extract the the sap config from adapter and
then free the sap ch list memory from it.

Change-Id: I8c0bf66765c34f0936d694d260ce1544791beecc
CRs-Fixed: 2530985
2019-09-19 13:36:51 -07:00
Abhishek Singh
6243a002ea qcacld-3.0: Cleanup unused params from tpAddStaParams
Many legacy params of tpAddStaParams are unused, thus
cleanup the unused params from tpAddStaParams.

Change-Id: I1be957d2f34d2202bcc1d44e69ad5cba0812c60b
CRs-Fixed: 2530961
2019-09-19 13:36:43 -07:00
nshrivas
8869e56f08 Release 5.2.0.148W
Release 5.2.0.148W

Change-Id: I9697a8d67125f1160005e1f03d1d15acbe900cd2
CRs-Fixed: 774533
2019-09-19 12:12:40 -07:00
Kiran Kumar Lokere
987377e3ea qcacld-3.0: Refactor start bss request to channel frequency
Refactor the start bss request to use channel frequency instead
of channel number.

Change-Id: Ic936fe060a5b2bc8d058709950417f3939a3c3d4
CRs-Fixed: 2518026
2019-09-19 12:12:39 -07:00
Kiran Kumar Lokere
b2ea027c0e qcacld-3.0: Add 6GHz support in SAP mode
Add support to populate 6GHz IE in SAP mode.

Change-Id: Ib9ec2e571bc8c6bb7e591fca191eda208efdcdbd
CRs-Fixed: 2516531
2019-09-19 12:12:29 -07:00
nshrivas
390f1daa42 Release 5.2.0.148V
Release 5.2.0.148V

Change-Id: I98342893d638ecef5b23030231250985541b9d91
CRs-Fixed: 774533
2019-09-19 10:54:56 -07:00
Ashish Kumar Dhanotiya
1a720e76ee qcacld-3.0: Decouple get channel command from extscan
Currently get valid channel vandor command is defined
under EXTSCAN feature and also depends on gExtScanEnable
ini. when Extscan feature is disabled by ini or by feature
flag this command doesn't work.

As this command is to get the valid channel list, this
should not depend on extscan feature.

To address above issue, decouple get valid channel command
from extscan feature.

Change-Id: I6496cb94e6330f071f8027607e7d55a8f5d3db8a
CRs-Fixed: 2518313
2019-09-19 10:54:56 -07:00
nshrivas
4aab29f4ad Release 5.2.0.148U
Release 5.2.0.148U

Change-Id: Ifd425b102cd23c5f42e7784c58ddcc2d6ec284b9
CRs-Fixed: 774533
2019-09-19 09:21:21 -07:00
Jianmin Zhu
054c27318a qcacld-3.0: Remove wma_vdev_start_req from channel switch
1. Remove wma_vdev_start_req from channel switch, fill vdev mlme
directly.
2. Add channel switch pre/post handler.

lim_send_switch_chnl_params:
   1. Fill vdev mlme
   2. wma_pre_chan_switch_setup->wma_vdev_pre_start
   3. vdev_mgr_start_send
   4. wma_post_chan_switch_setup

Change-Id: I88301a39ba45b6092c4483554e1e738fac92cc94
CRs-Fixed: 2530906
2019-09-19 09:21:20 -07:00
nshrivas
37016d9cab Release 5.2.0.148T
Release 5.2.0.148T

Change-Id: I6fa829f343a9563d8dd24be3da519fac87b34b05
CRs-Fixed: 774533
2019-09-19 07:46:40 -07:00
Will Huang
7f5e9ce296 qcacld-3.0: Enable fw stats version 2 for some target
Some target chipset support fw stats version 2, but we didn't enable
it in some configure file. Enable it in these configure files which
depend on chipset.

Change-Id: Ief8b87bdb466a1838e6a61928f0154868f0ff220
CRs-Fixed: 2524266
2019-09-19 07:46:39 -07:00
nshrivas
e652d7381c Release 5.2.0.148S
Release 5.2.0.148S

Change-Id: Ib1343d09c8ce30791c38648a2cde693d434e6f9d
CRs-Fixed: 774533
2019-09-19 03:25:48 -07:00
Ashish Kumar Dhanotiya
645af711aa qcacld-3.0: Validate tdls sta id in del station command
Currently sta id validation is not there in del
station command for tdls. There could be a case where peer
is there but sta id is not valid.

Consider a case where there is tdls connection between 2
p2p clients and one of the client decided to connect to SAE
AP, this brings up concurrency scenario on that client for
p2p client and station, so tdls connection should be tear
down. device tear down the tdls link and inform the supplicant
regarding the same. Now in the driver scheduler, connect
command is there which is queued when device tries to connect
to SAE AP, this command gets a chance to execute.
When SAE connection is executed, driver gets a command from
supplicant to disable tdls links for the previous connection
which is already teardown, this command is queued into
scheduler which blocks the supplicant thread.
For SAE connection to get complete driver waits for auth
request from supplicant.
Here supplicant waits for the tdls disable link command's
response which will never come as driver waits for SAE
authentication which leads to deadlock.

To address above issue, add a check to validate sta id
before queing tdls down link command to scheduler, if the sta
id is invalid, return response to supplicant as tdls peer is
already deleted.

Change-Id: Ie983aa9f217c0d7b4508639bb33ad1a44b3675c7
CRs-Fixed: 2521529
2019-09-19 03:25:47 -07:00
Srinivas Dasari
a7bc4ff953 qcacld-3.0: Update SAE status to SME in SAP mode as well
A check has been introduced while implementing SAE roaming to send
the SAE status to SME only when the STA is not in joined state.
But this doesn't handle the SAP case where the status is expected
to be updated always.

Update the status to SME in below cases
1. SAP mode: Always
2. STA mode: When the device is not in joined state

If the device is in joined state, send the status to WMA which
is meant for roaming.

Change-Id: I20c134a3eea7c65db1fe1950c02b8b9e1ee3a34d
CRs-Fixed: 2524973
2019-09-19 03:25:39 -07:00
nshrivas
32c534c10a Release 5.2.0.148R
Release 5.2.0.148R

Change-Id: I09aa5f55891f340431e53758cac009f12684a82f
CRs-Fixed: 774533
2019-09-19 02:01:46 -07:00
Bala Venkatesh
221790b07e qcacld-3.0: Do not send UAPSD command after TDLS connection
Currently as part of tdls enable link, If the peer is buff
capable or tdls uapsd is enabled in INI. UAPSD is enabled in
FW. Avoid sending this command to FW as it effects the behavior
with AP.

Change-Id: Idc023cb9de3ab63e7643815d473fe0efa98069b9
CRs-Fixed: 2528208
2019-09-19 02:01:45 -07:00
nshrivas
7ffaa2b1e5 Release 5.2.0.148Q
Release 5.2.0.148Q

Change-Id: I6899681b003487ccd7e2c457fdaf9e4a489844c5
CRs-Fixed: 774533
2019-09-18 22:53:59 -07:00
Abhishek Singh
7944c9aef9 qcacld-3.0: Remove unused params from struct bss_params
struct bss_params has many legacy params which are not used. So
remove the unused params from struct bss_params.

Change-Id: I7d930e83ff0ce56bf8fb07789f9fca9f94fb6f74
CRs-Fixed: 2530215
2019-09-18 22:53:58 -07:00
Abhishek Singh
6e5c7a6f42 qcacld-3.0: Use add_bss_resp structure while handling add bss resp
The add_bss_req struct is used while handling add bss resp,
and is stored in vdev priv mlme.

The resp path require the info which can be filled from vdev resp
and thus no need to store the add_bss_req. From response fill and
use the add_bss_resp in add bss response handling path

Change-Id: I7ec1189c7d399e181f451a442a2578964eb4e47d
CRs-Fixed: 2529289
2019-09-18 22:53:52 -07:00
Manikandan Mohan
5953215f9b qcacld-3.0: Update dot11f frame spec files for 6Ghz support
Add 6GHZ operation information element structure and HE extended
capabilities for 6GHZ information element structure to dot11f frame
specification and parsing files. Also add them as optional IE in
required managment frames.

Change-Id: I5da20543c245e3e02806a20fbfe3ff4326db61f4
CRs-fixed: 2530409
2019-09-18 22:53:44 -07:00
Kiran Kumar Lokere
229212a653 qcacld-3.0: Refactor SAP module to use channel frequency
Update SAP data structures to use channel frequency values instead
of using the channel id values to support 6GHz channels in SAP.

Change-Id: I9ef5857e8dcf3f7d879495d3f3c3ead083fe0bf0
CRs-Fixed: 2513083
2019-09-18 22:53:37 -07:00
nshrivas
3ab297a01b Release 5.2.0.148P
Release 5.2.0.148P

Change-Id: I99717dfd7ae26e2d18ebe4965ee85f297c19d395
CRs-Fixed: 774533
2019-09-18 19:02:05 -07:00
Smita Ghosh
56a9bf7f86 qcacld-3.0: Disable the module under QMAA
Module depends on msm headers which are not yet available. Thus, disable
the module under QMAA.

Change-Id: I91000cb3140f7d47e418c6a97c9dcf8b464ecdd2
CRs-Fixed: 2529636
2019-09-18 19:02:04 -07:00
Alan Chen
50582ca9cb qcacld-3.0: Move clearing recovery flag to after platform driver callback
Platform driver is still doing MHI cleanup at the current location of
clearing the recovery flag. Clear it after platform driver callback.

Change-Id: Ifa81950790fa3d2704ed1aed85301a99c6383470
CRs-Fixed: 2526873
2019-09-18 19:01:57 -07:00
nshrivas
5073f0c2c3 Release 5.2.0.148O
Release 5.2.0.148O

Change-Id: I33155a68a44e2f9b7351263d26a0a7212671817b
CRs-Fixed: 774533
2019-09-18 11:22:51 -07:00
Ashish Kumar Dhanotiya
285213c6cb qcacld-3.0: Convert channel to frequency in rx mgmt handler
As a part of 802.11ax amendment, 6GHz band operation is added.

Since the 6 GHz channel numbers are overlapping with existing 2.4GHz
and 5GHz channel numbers, use frequency to identify unique channel
operation instead of channel number. Channel frequency is unique across
bands.

As a part of above requirement, in the existing WMI interface handlers
and related functions, wherever missing, add frequency attributes to
identify unique channel operation.

Change-Id: I757f60cef414d206b275b4fbd192d5d22bbc93d7
CRs-Fixed: 2517901
2019-09-18 11:22:51 -07:00
wadesong
d3f8d3a927 qcacld-3.0: Fix a peer phy mode update discrepancy
In function wma_process_update_opmode, interface phy mode
is used to update peer phy mode to FW, which will cause
a mis-behavior in FW during channel switch.

Use peer phy mode, instead of interface phy mode when
driver is sending WMI_PEER_PHYMODE cmd to FW.

Also to make peer phy mode population to FW possible,
add the following APIs to do host to FW phy mode
conversion:

	wma_host_to_fw_phymode_160
	wma_host_to_fw_phymode_11ax
	wma_host_to_fw_phymode

Fix some kernel-doc discrepancies for the following
existing functions:

	wma_fw_to_host_phymode
	wma_fw_to_host_phymode_160
	wma_fw_to_host_phymode_11ax

Change-Id: I6184a1735d37f648763b149795ac7930bce45346
CRs-Fixed: 2497684
2019-09-18 11:22:44 -07:00
Abhishek Singh
ac3df1e582 qcacld-3.0: Add flush callback for wma_cleanup_vdev_resp_and_hold_req
When wma_shutdown_notifier_cb post wma_cleanup_vdev_resp_and_hold_req
the msg.bodyptr is wma. Now during flush the drive will try to free
the msg.bodyptr and may lead to assert.

Fix this by adding dummy flush callback so that driver will not try
to free msg.bodyptr for this msg.

Change-Id: I0734a2ee80dff1d9d4437a009c4c0061485b4de5
CRs-Fixed: 2529950
2019-09-18 11:22:37 -07:00
nshrivas
c6c422915e Release 5.2.0.148N
Release 5.2.0.148N

Change-Id: I9c8ac56d3c574c5014f10d3fd2222d6c2de5bc47
CRs-Fixed: 774533
2019-09-18 05:37:52 -07:00
gaurank kathpalia
83edf09282 qcacld-3.0: Wait for ACS complete before undo acs
Currently the driver does undo acs which clears away
the acs cfg ch list, master ch list, and sap_ctx->ch_list
before the ACS is complete (race condition), which can
lead to pointer access after free.

Fix is to wait for ACS complete event, and then clear away
the above mentioned ch lists.

Change-Id: I55de1e94d1fc3ebb99891465131de11ea3204778
CRs-Fixed: 2519650
2019-09-18 05:37:52 -07:00