Commit Graph

11781 Commits

Author SHA1 Message Date
Karthik Kantamneni
24f71bcfbf qcacld-3.0: Add MLME CFG items of RTT and PMF
Add CFG items of RTT and PMF as generic items based
on converged cfg component.

Change-Id: Ic95d1e7b052259149704d9faf65ebe5f51536fdf
CRs-Fixed: 2313281
2018-09-24 15:37:23 -07:00
nshrivas
c830cbd55b Release 5.2.0.98D
Release 5.2.0.98D

Change-Id: I211396e22097625a384c772f3d2be62f4466cf70
CRs-Fixed: 774533
2018-09-24 15:37:20 -07:00
Karthik Kantamneni
2231a23f44 qcacld-3.0: Add MLME OCE CFG items
Add OCE CFG items based on converged cfg component,
remove related legacy code.

Change-Id: I976981048be2df3f429003fc5db13f48a6ad27d0
CRs-Fixed: 2313157
2018-09-24 15:37:16 -07:00
nshrivas
19a690098e Release 5.2.0.98C
Release 5.2.0.98C

Change-Id: I87fb1d5dede0242b6691f68281544f7a24e2a843
CRs-Fixed: 774533
2018-09-24 15:37:11 -07:00
Dustin Brown
5ecffb6ba7 qcacld-3.0: Use dynamic alloc for DSC driver context
The DSC driver context was originally statically allocated to allow its
creation before QDF was initialized. However, other complications with
the QDF debug infrastructure lead to QDF being initialized before DSC
anyway.

Static allocation has a number of drawbacks (esp. see singleton
anit-pattern), which impacts our ability to do unit testing on a driver
which actively leverages DSC. To support unit-testing DSC in a driver
which also uses DSC, move the DSC driver context to dynamic, instead of
static, allocation.

Change-Id: Ic3121092c71d5c46e8521a775281ad2c45e3fe7d
CRs-Fixed: 2320599
2018-09-24 15:37:08 -07:00
Dustin Brown
32ffab3d24 qcacld-3.0: Reorganize SoC-level PLD handlers
Reorganize the SoC-level PLD callback handlers for improved consistency
and clarity. This includes the following changes:
 * Remove wlan_hdd_probe()
 * Rename wlan_hdd_remove() to hdd_soc_remove()
 * Rename hdd_soc_reinit() to hdd_soc_recovery_reinit()
 * Rename wlan_hdd_shutdown() to hdd_soc_recovery_shutdown()
 * Add documentation to probe, remove, shutdown, and reinit handlers
 * Avoid irq disable if load/unload in progress (in shutdown)

Change-Id: I8212f1cbbeac8cc431e3008097f62196911efdeb
CRs-Fixed: 2320582
2018-09-24 15:37:05 -07:00
Frank Liu
c4ee407c4b qcacld-3.0: Remove extra disconnection for tdls
When station does LFR3 roaming, tdls will get an extra disconnection
notification which is wrong, remove the notification because tdls has
got the disconnection and connection event when roaming is successful.

Change-Id: I7bc56dae5fd653a44d8ac19be19083528c987d8b
CRs-Fixed: 2308503
2018-09-24 15:35:36 -07:00
nshrivas
d4ac45a158 Release 5.2.0.98B
Release 5.2.0.98B

Change-Id: Ib5f44d3c45f1bcb80ba5bbc64b450fa646762ee3
CRs-Fixed: 774533
2018-09-21 17:46:00 -07:00
Bala Venkatesh
9296f094e6 qcacld-3.0: ADD MLME CFG items of HE_CAPS
Add support for HE caps in mlme component

Change-Id: I8dfa0cd8b9d993ed8178ff1a042dd9da80be03c8
CRs-Fixed: 2320363
2018-09-21 17:45:59 -07:00
nshrivas
ecb40b0e2f Release 5.2.0.98A
Release 5.2.0.98A

Change-Id: I7aa41bb09f1bb5d6c2c0eb4a35eaf33b1697fc89
CRs-Fixed: 774533
2018-09-21 14:42:59 -07:00
Tushnim Bhattacharyya
2d693b9dda qcacld-3.0: Honor the vht capability from vandor IE in SAP mode
While sending the peer assoc to FW, fill up the vht information from
vandor IE, if it is carrying the VHT capability information.

Change-Id: Ifcb299a5b16a14a1b20ae39ffcf3126e8bc20f9b
CRs-Fixed: 2318709
2018-09-21 14:42:58 -07:00
Yeshwanth Sriram Guntuka
d777eeaef6 qcacld-3.0: Enable FILS discovery in SAP by default
Enable FILS discovery in SAP mode by default.

Change-Id: Id21042172db59900814d3cbc557327c7b55a3ef2
CRs-Fixed: 2317667
2018-09-21 14:42:55 -07:00
nshrivas
aaff688718 Release 5.2.0.98
Release 5.2.0.98

Change-Id: I189c61681caeae614077724e6db3aa06c0698cc9
CRs-Fixed: 774533
2018-09-21 07:09:15 -07:00
Abhishek Singh
a063f1c658 qcacld-3.0: Remove legacy vdev restart and hidden ssid restart flags
Remove legacy vdev restart and hidden ssid restart flags as vdev mlme
new vdev mlme priv flags.

Change-Id: I31a1541fe4504bfb635b3151ea3afd05ffce7cea
CRs-Fixed: 2319427
2018-09-21 07:09:14 -07:00
Abhishek Singh
c5a5408b00 qcacld-3.0: Add vdev state machine for start BSS and CSA failure
Adds vdev state machine for start bss and CSA failure.

Change-Id: I77979af192e40fe44dd9ea7ce41d7be52f40ad15
CRs-Fixed: 2316581
2018-09-21 07:09:09 -07:00
Abhishek Singh
6c681f4b63 qcacld-3.0: Add vdev state machine for hidden ssid restart
Adds vdev state machine for hidden ssid restart.

Change-Id: I41d8c8d71050c1e80597787db4623b1359cbb92d
CRs-Fixed: 2316576
2018-09-21 07:09:05 -07:00
Abhishek Singh
20a8e44ab2 qcacld-3.0: Add vdev state machine for CSA and radar
Add vdev state machine for Channel change and to handle
radar indication.

Change-Id: Ib5a5476510ffe55611325c98dd9779261c7bd9a3
CRs-Fixed: 2316574
2018-09-21 07:09:01 -07:00
nshrivas
e438e4296c Release 5.2.0.97Z
Release 5.2.0.97Z

Change-Id: I4540b3979f709ac38a671c6efc2b4a62f4fff366
CRs-Fixed: 774533
2018-09-21 05:28:39 -07:00
Abhishek Singh
caa6185945 qcacld-3.0: Add vdev state machine for stop BSS
Adds vdev state machine for stop BSS request

Change-Id: I3324f6e7c5747d8a75817fc02620b6bca013326e
CRs-Fixed: 2316547
2018-09-21 05:28:39 -07:00
Abhishek Singh
3d30a3bb0c qcacld-3.0: Add vdev state machine for start BSS
Adds vdev state machine changes for start BSS req.

Change-Id: I9c8a5129db4ddc81f179256b077ab0cd038b5b27
CRs-Fixed: 2316552
2018-09-21 05:28:35 -07:00
Pragaspathi Thilagaraj
1ee7600f9f qcacld-3.0: Remove legacy CFG macro definitions
Remove the legacy macro definitions that are related to the
mlme cfg.
Move them to wlan_mlme_public_struct.h

Change-Id: I64f474512463d3ba7ac238b2efd0f4cf2e36999b
CRs-Fixed: 2317750
2018-09-21 05:28:32 -07:00
nshrivas
0342a179dd Release 5.2.0.97Y
Release 5.2.0.97Y

Change-Id: Ibec2006db4bf41f72d3d03c0b508fe03bc4b4058
CRs-Fixed: 774533
2018-09-21 03:53:31 -07:00
Kiran Kumar Lokere
1dbf722f63 qcacld-3.0: Fix issue with MU EDCA param update setting
The MU EDCA params setting message is not processed as the message
type is not present in the handler. Fix the issue by adding the
message type in handler.

Change-Id: Iccc8dabd98cb873cd050fd250dbd77226751c6d8
CRs-Fixed: 2319665
2018-09-21 03:53:31 -07:00
nshrivas
49f278781c Release 5.2.0.97X
Release 5.2.0.97X

Change-Id: Ie153ed54b8496d60a4cedc40c7ae1d31d64c95c3
CRs-Fixed: 774533
2018-09-21 00:27:08 -07:00
Harprit Chhabada
aae8efa3e0 qcacld-3.0: Fix the incorrect data type for vdev_id
vdev_id data type used in csr_scan_abort_mac_scan()
is declared as uint8_t and is compared with INVALID_VDEV_ID,
a 32 bit integer, which can never be true.

Change-Id: Id5ca042bf24fa3a3f683abae95f5c424824e230f
CRS-Fixed: 2315003
2018-09-21 00:27:07 -07:00
nshrivas
2662b19d3f Release 5.2.0.97W
Release 5.2.0.97W

Change-Id: Ife97dcff74c6da0d1072b8b0ea797fc4b38cf326
CRs-Fixed: 774533
2018-09-20 22:24:24 -07:00
Vignesh Viswanathan
fb62afc866 qcacld-3.0: Rename mlme_update APIs to mlme_init
Rename mlme_update APIs in wlan_mlme_main.c to mlme_init as these
APIs initialize the MLME structures and init is a more appropriate
for these APIs.

Also re-order defines in CFG_MLME_ALL to be in alphabetic order
similar to CFG_ALL

Change-Id: Ia8e10d86c62cc46230ef4c3d51c9588eaa1a5477
CRs-Fixed: 2318497
2018-09-20 22:24:23 -07:00
Qun Zhang
4a83a46fab qcacld-3.0: update changes for fully supporting MULTI_IF_NAME
Currently, driver don't fully support MULTI_IF_NAME when two wlan
cards are supported by using two drivers:
1. if two wlan cards are all PCIe, driver can't distinguish
two PCIe cards firmware path.
2. When create hdd sysfs file upper folder, it will repeatly create the
same folder if not use MULTI_IF_NAME to distinguish them. It's not
necessary to distinguish the sub-folder once upper folder is different.

Change-Id: I511de46eec98e736d4e97d5c94ab22592d33f347
CRs-Fixed: 2311137
2018-09-20 22:24:21 -07:00
Nijun Gong
104ccc7742 qcacld-3.0: In SSR, clear flow control flag
When TX queues stopped by flow control right before SSR, corresponding
TX complete event used to clear the pause_map bit never come.
Flow control should reset its state during SSR, so clear this bit.

Change-Id: I462de1e20c9e2fc40476fc6b2d999c10e6396d8c
CRs-Fixed: 2274955
2018-09-20 22:24:18 -07:00
nshrivas
1b92b14a84 Release 5.2.0.97V
Release 5.2.0.97V

Change-Id: Ic03286822211b3ae8a443d70dbb14fcd76d1bd72
CRs-Fixed: 774533
2018-09-20 16:40:21 -07:00
Dundi Raviteja
8f307b02bc qcacld-3.0: Possible NULL pointer dereference in target_if_disa
Currently, the return value of get_wmi_unified_hdl_from_psoc() API
is passing directly as argument to some functions without checking
the return value for NULL which may cause NULL pointer dereference.

To address this issue, add NULL checks for return value of
get_wmi_unified_hdl_from_psoc() API where ever it is getting used.

Change-Id: Ieb4ff997960aac915b4dc40cb0d17070240d9b1f
CRs-Fixed: 2316854
2018-09-20 16:40:21 -07:00
Dustin Brown
a2a39dcfd5 qcacld-3.0: Move QDF init to HDD from CDS
QDF is effectively the driver's library for base primitives and data
structures, especially logging. As such, we want to initialize it as
early as possible in the driver loading process such that various
components can leverage this library code as much as possible. To this
end, move QDF init functionality into HDD from CDS, and invoke it first
thing in hdd_driver_load().

Change-Id: I769126ec293f741dced50c0dccc2f49e600aea43
CRs-Fixed: 2317861
2018-09-20 16:40:18 -07:00
Dustin Brown
25843ad715 qcacld-3.0: Move pld_init just before pld_register
The PLD data structures initialized in pld_init() are not used before
PLD registration, and do not need to be the very first thing initialized
in the driver. Move the call to pld_init() to immediately before these
data structures are used for the first time in the PLD registration
process.

Change-Id: I5bee6b03eddfd749758f48a82f5c7f0a870b1504
CRs-Fixed: 2317859
2018-09-20 16:40:15 -07:00
nshrivas
a5d7d9a5ec Release 5.2.0.97U
Release 5.2.0.97U

Change-Id: I0f4705c41db0b026b91de11d145d6bb7ce80e9b7
CRs-Fixed: 774533
2018-09-20 14:54:44 -07:00
Alok Kumar
ea70b1c815 qcacld-3.0: Enable NUD tracking feature by default in driver
By default enable the NUD tracking within driver.

Change-Id: I0501ae4f90934139a3610c2cd74464e97a1100d8
CRs-Fixed: 2317572
2018-09-20 14:54:43 -07:00
Sravan Kumar Kairam
657f89e1e5 qcacld-3.0: Send IPA UC disconnect events during SSR
Currently during SSR IPA events such as AP DISCONNECT/
STA DISCONNECT are not sent and also wlan ipa interafces
are not deregistered. After SSR when host sends AP CONNECT/
STA CONNECT and register interafce IPACM will reject as for
previous events before SSR there are no disconnect events.
This leads to data come via exception path instead taking
IPA HW route as interface headers are not registered.

In this fix send IPA UC disconnect events and deregister
interafces during SSR.

Change-Id: I6e617261ec53b7d572023613d212eae057b13b03
CRs-Fixed: 2315828
2018-09-20 14:54:40 -07:00
nshrivas
f23e4d7636 Release 5.2.0.97T
Release 5.2.0.97T

Change-Id: I5c6dec0b8cd27850c77ce7c74a7061c0a1098d08
CRs-Fixed: 774533
2018-09-20 13:10:34 -07:00
Jianmin Zhu
c2eae9c566 qcacld-3.0: MCL change after serialization enhancement
1. Set all MCL cmds as blocking cmds.
2. Rename WLAN_SER_CMD_STOP_BSS to WLAN_SER_CMD_VDEV_STOP_BSS.
3. Add new binary files and remove old binary files in Kbuild.
4. Disable CONFIG_SERIALIZATION_V1 in Kbuild, switch to new
   serialization code.

Change-Id: I46f876e4cbc31881ca0559e4705cddf4a26a46c1
CRs-Fixed: 2315411
2018-09-20 13:10:34 -07:00
nshrivas
6e45afbd0d Release 5.2.0.97S
Release 5.2.0.97S

Change-Id: I60533098a2c20ef4e90b7b689b66e081f591d290
CRs-Fixed: 774533
2018-09-20 10:30:08 -07:00
Bala Venkatesh
2fde2c61db qcacld-3.0: SAP CFG Items part 2
Add support for the sap cfg items in new mlme component

Change-Id: I80f3f00a85720fe7bec11575fe67dd2f6b9d44b2
CRs-Fixed: 2316643
2018-09-20 10:30:08 -07:00
nshrivas
422389dc4d Release 5.2.0.97R
Release 5.2.0.97R

Change-Id: Iadcd7a2c1f4080d4f5c7d23696609ae1edeb4ef4
CRs-Fixed: 774533
2018-09-20 00:56:16 -07:00
Jianmin Zhu
9058c52fb6 qcacld-3.0: Fix assert for NULL vdev in csr_nonscan_pending_ll_next
If SSR during sme close session when interface down and vdev
destroy, qdf_session_close_event is completed forcely before
peer detached, vdev becomes LOGICALLY_DELETED instead of
destroyed actually for peer ref count is held.

When bss is deleted and eWNI_SME_JOIN_RSP is handled,
is_disconnect_pending-> csr_nonscan_pending_ll_next is called,
wlan_objmgr_get_vdev_by_id_from_psoc return NULL,  cmd.vdev is
NULL, NULL pointer dereference will happen.

Change-Id: I790a12483c2b9f967da9ced387935f93a6168e81
CRs-Fixed: 2316960
2018-09-20 00:56:16 -07:00
nshrivas
e17cad6f05 Release 5.2.0.97Q
Release 5.2.0.97Q

Change-Id: Ia941f8473696b59fe576f33c6c584c8202694e1d
CRs-Fixed: 774533
2018-09-19 23:15:16 -07:00
Vignesh Viswanathan
987f0bba09 qcacld-3.0: Use MLME CFG for BSS Scoring Items
Implement the usage of MLME CFG infra for BSS Scoring related INI Items
and remove the older INI definitions from HDD.

Change-Id: I0db69138f0439131916a38176b5b21b706ff3671
CRs-Fixed: 2318320
2018-09-19 23:15:15 -07:00
Dundi Raviteja
db2dbab047 qcacld-3.0: Possible NULL pointer dereference in pmo
Currently, the return value of get_wmi_unified_hdl_from_psoc() API
is passing directly as argument to some functions without checking
the return value for NULL which may cause NULL pointer dereference.

To address this issue, add NULL checks for return value of
get_wmi_unified_hdl_from_psoc() API where ever it is getting used.

Change-id: I60e89b5305ad31d8663a8feed3cb0f71105bb060
CRs-Fixed: 2316868
2018-09-19 23:15:11 -07:00
Vignesh Viswanathan
ff78bc174f qcacld-3.0: Add BSS Scoring Related INI Items
Add BSS Scoring Related CFG Items to CFG Component.

Change-Id: Icb012f2560e7ebed298d2041085a516c582e56b6
CRs-Fixed: 2318316
2018-09-19 23:15:08 -07:00
Sravan Kumar Kairam
0ebf453164 qcacld-3.0: Use psoc handle to check for wmi service cap
wma_mgmt_nbuf_unmap_cb uses wma handle to check if wmi service
capability for mgmt is supported. If wma handle is freed before
call back is invoked it returns with out doing unmap of nbuf.
Instead of wma handle use psoc object handle which has the
information about wmi service capability support.

Change-Id: Icbdeb155be0fb5d056dd876faa2bd73f78cd9db7
CRs-Fixed: 2317785
2018-09-19 23:15:04 -07:00
nshrivas
ffc3530786 Release 5.2.0.97P
Release 5.2.0.97P

Change-Id: I94356b91fef972ef7453af7227036b0f1ed07976
CRs-Fixed: 774533
2018-09-19 21:04:37 -07:00
Alok Kumar
016a1aca3a qcacld-3.0: In nud_reset_tracking, flush NUD work based on flag
Race condition occurs when NUD failure happens and NUD work is
scheduled and at the same time within driver csr disconnect
issued because of Roam Sync failure.

Disable flush of NUD work in hdd_nud_reset_tracking during
hdd_dis_connect_handler()

Change-Id: I3d24073c5c8047fad42309e878f3741c7a2d268e
CRs-Fixed: 2315973
2018-09-19 21:04:36 -07:00
nshrivas
c5c8a8de1b Release 5.2.0.97O
Release 5.2.0.97O

Change-Id: If837c1ae3efd484811b328e6ca835e598bdf40ee
CRs-Fixed: 774533
2018-09-19 19:32:46 -07:00