Commit Graph

4577 Commits

Author SHA1 Message Date
Jeff Johnson
9743eb7f49 qcacld-3.0: Refine the extscan stop BSSID hotlist logic
Make the following updates to the extscan stop BSSID hotlist logic:
1) Exclusively use the Unified WMI data structures.
2) Update the HDD<=>SME interface to enforce the contract that SME
   must not make any assumptions about the buffers provided by HDD.

Change-Id: I01e29a96fded829c734532b021aeea1960bba641
CRs-Fixed: 2294273
2018-08-20 22:32:28 -07:00
nshrivas
81f2599153 Release 5.2.0.93E
Release 5.2.0.93E

Change-Id: Ia57ac5d3b131153c600d406e65800fafd2456805
CRs-Fixed: 774533
2018-08-20 16:55:01 -07:00
nshrivas
03b6363540 Release 5.2.0.93D
Release 5.2.0.93D

Change-Id: I024baa0af811d97c85b93884fd829f965d49b29f
CRs-Fixed: 774533
2018-08-20 15:15:11 -07:00
nshrivas
8f0f7dc641 Release 5.2.0.93C
Release 5.2.0.93C

Change-Id: I15abdcd2b05df123abce69ea63fb114a0a4bad24
CRs-Fixed: 774533
2018-08-20 10:16:42 -07:00
Jeff Johnson
57b264e259 qcacld-3.0: Remove ftm_msg_processor_callback from MAC context
The MAC context ftm_msg_processor_callback is a remnant from the
legacy FTM support. Since this callback is no longer used, remove it.

Change-Id: Ibd375bcd91900654315681f7f9b56bf100090942
CRs-Fixed: 2298895
2018-08-20 10:16:38 -07:00
nshrivas
e3ee841970 Release 5.2.0.93B
Release 5.2.0.93B

Change-Id: Iec0fbfae11539631e92a075d31869175926605d2
CRs-Fixed: 774533
2018-08-20 05:29:46 -07:00
Vignesh Viswanathan
21c58cb8c3 qcacld-3.0: Add MLME CFG items and APIs
Add the basic infra for MLME CFG items and the APIs to be used from
other components.

Change-Id: I39654de8f7266089d574b85437a19e8d21f91249
CRs-Fixed: 2293825
2018-08-20 05:29:46 -07:00
nshrivas
2455337736 Release 5.2.0.93A
Release 5.2.0.93A

Change-Id: Ibd94db911ea7af608c5819d60d62b5ce84346aa6
CRs-Fixed: 774533
2018-08-20 03:12:36 -07:00
nshrivas
a5ca0c1060 Release 5.2.0.93
Release 5.2.0.93

Change-Id: I187d14c287329535b0c9a4cea5f1ab504e00db98
CRs-Fixed: 774533
2018-08-18 03:42:40 -07:00
gaurank kathpalia
d88ef885e5 qcacld-3.0: Add check for DBS mode in start bss
Currently the driver doesn't handle the nss update
if a prior connection is already present in DBS
mode. Suppose if a STA is already connected in
5ghz and the SAP comes up in 2.4ghz, the beacon
template should be updated with NSS = 1

Fix is to check whether the current hw_mode is in
DBS or not, and change the nss in the beacon template
accordingly

Change-Id: I54ead1fd26d705a821160b5bc5d816df1d2ab8f4
CRs-Fixed: 2288307
2018-08-18 03:42:39 -07:00
nshrivas
6d2579ba49 Release 5.2.0.92Z
Release 5.2.0.92Z

Change-Id: I52dd284ef90f88123a6b1c4c3e493ac10dd3a219
CRs-Fixed: 774533
2018-08-17 19:17:17 -07:00
nshrivas
a53b5cab0a Release 5.2.0.92Y
Release 5.2.0.92Y

Change-Id: Ic57096ae35da49565e2269f0060f3291c90449db
CRs-Fixed: 774533
2018-08-17 17:44:50 -07:00
nshrivas
4c6eeb72d0 Release 5.2.0.92X
Release 5.2.0.92X

Change-Id: I6a0a3226e7f9024afa53c7021e2fbdef26c382cf
CRs-Fixed: 774533
2018-08-17 16:13:13 -07:00
nshrivas
4d35c2e7b7 Release 5.2.0.92W
Release 5.2.0.92W

Change-Id: I6e63acfafd06273801c70ce6e11e2a034df8b26a
CRs-Fixed: 774533
2018-08-17 11:02:58 -07:00
Yeshwanth Sriram Guntuka
e7303b8db6 qcacld-3.0: Reduce log level for few prints to debug
Reduce log level for few prints to debug to avoid flooding
of prints to console.

Change-Id: I514585cc87d51ead15fb1f40d45f62023628d9bb
CRs-Fixed: 2295815
2018-08-17 11:02:57 -07:00
nshrivas
d10434794d Release 5.2.0.92V
Release 5.2.0.92V

Change-Id: Ida3b718ecd5f724e11a6bcb4102f89236a0294ee
CRs-Fixed: 774533
2018-08-17 08:48:34 -07:00
nshrivas
6489f95545 Release 5.2.0.92U
Release 5.2.0.92U

Change-Id: I2aeb4fde7e780189355d4d4547c01f3147dcdce4
CRs-Fixed: 774533
2018-08-17 06:21:18 -07:00
nshrivas
e37e7f88c4 Release 5.2.0.92T
Release 5.2.0.92T

Change-Id: I4371c40c4fd324f5245dfc36ec872ff23411f54e
CRs-Fixed: 774533
2018-08-17 04:40:08 -07:00
nshrivas
daf40e37c6 Release 5.2.0.92S
Release 5.2.0.92S

Change-Id: I61756cc024bae6cdd39c2a25a40003a062a909d8
CRs-Fixed: 774533
2018-08-16 21:20:51 -07:00
Dustin Brown
7dede43bec qcacld-3.0: Fix misleading indent
lim_process_ap_ecsa_timeout() contains a misleading indent. Reduce the
indentation of the affected code.

Change-Id: Ic18ebf88b0a754c8088005d22a9cec94313fa550
CRs-Fixed: 2297513
2018-08-16 21:20:50 -07:00
nshrivas
fee4f18e6f Release 5.2.0.92R
Release 5.2.0.92R

Change-Id: Ib0540d396eca2b7c2e71b94c356875a524c4a509
CRs-Fixed: 774533
2018-08-16 19:39:43 -07:00
Jeff Johnson
549bcc7b34 qcacld-3.0: Remove struct ani_scan_req
struct ani_scan_req is obsolete and no longer used, so remove it.

Change-Id: Ia21ddef67412d86295ab76deb2ed02a91d2c917f
CRs-Fixed: 2296765
2018-08-16 19:39:43 -07:00
nshrivas
c82e6177af Release 5.2.0.92Q
Release 5.2.0.92Q

Change-Id: I12aff955d2778ec3be261280743c54d1d7341ae4
CRs-Fixed: 774533
2018-08-16 00:47:53 -07:00
nshrivas
7b89326509 Release 5.2.0.92P
Release 5.2.0.92P

Change-Id: I22857ce828ad2a84896399055e9184a947d76747
CRs-Fixed: 774533
2018-08-15 19:40:50 -07:00
nshrivas
871c6abaa4 Release 5.2.0.92O
Release 5.2.0.92O

Change-Id: I13bc22d25e6e3245df5b3b7daa8e124e345bc398
CRs-Fixed: 774533
2018-08-15 12:37:51 -07:00
Pragaspathi Thilagaraj
934275cc0a qcacld-3.0: Enhance SAP beacon template updation during DFS CSA
The hosts sends the beacon template to firmware through the
command WMI_BCN_TMPL_CMDID. The firmware sends a TX complete
indication via the WMI_OFFLOAD_BCN_TX_STATUS_EVENT and upon
receiving this host decrements the CSA count.
The hosts waits until the csa count becomes zero and then sends
vdev restart to firmware. There are some issues with this
implementation when 10 beacons with CSA are taking more time
than 1 sec. This is because in STA+SAP case sometime the
WMI_OFFLOAD_BCN_TX_STATUS_EVENT is received after in 200-300ms.
If the host doesn't receive the channel change event, it gets
struck in the channel change.

To avoid this scenario, send the beacon template to the firmware
for every beacon interval without waiting for the beacon TX
complete indication from FW except for the first beacon template
updation. Introduced a new timer (ap_ecsa_timer) to update the
firmware with the beacon template.

Change-Id: I377768b87c96fd5064aa04d1ed5434a475e656ef
CRs-Fixed: 2294661
2018-08-15 07:44:41 -07:00
nshrivas
6cc2224d2e Release 5.2.0.92N
Release 5.2.0.92N

Change-Id: I71aa432883c4858e030a2977b7f346c0788ccbc7
CRs-Fixed: 774533
2018-08-15 01:17:48 -07:00
Dustin Brown
83044c26d3 qcacld-3.0: Remove redundant recovery-enabled checks
cds_trigger_recovery() already checks for various conditions before
actually triggering recovery. One of these checks ensures that recovery
is enabled, but some callers are checking to see if recovery is enabled
before calling cds_trigger_recovery() as well. Because of this, some
important checks are skipped, and crashes can occur when they should
not. Remove the redundant checks at the call sites for
cds_trigger_recovery() so that all of the recovery conditions are
properly handled, and the wlan driver avoids crashing when it should
not.

Change-Id: I8c26a002b66496a1eb06263f3f8b91ead739e3ac
CRs-Fixed: 2296008
2018-08-15 01:17:42 -07:00
Qiwei Cai
50a2108ab3 qcacld-3.0: Allocate g_dph_node_array dynamically
Allocate g_dph_node_array dynamically to reduce build size.

Change-Id: Iffd9c2e205f9ee6b5365ab2e326198677fa57de2
CRs-Fixed: 2290501
2018-08-15 01:17:38 -07:00
nshrivas
0b7542a2b7 Release 5.2.0.92M
Release 5.2.0.92M

Change-Id: Ia126fd98ff4a073777e7a9666276dc8d592cc98f
CRs-Fixed: 774533
2018-08-14 23:32:53 -07:00
nshrivas
c094ad02ac Release 5.2.0.92L
Release 5.2.0.92L

Change-Id: I603f4f067de0d36fddbd9470fbc84b3dbbb675a3
CRs-Fixed: 774533
2018-08-14 21:44:10 -07:00
nshrivas
bcc8b3abe3 Release 5.2.0.92K
Release 5.2.0.92K

Change-Id: Ib8cb15602da48b3659eef9c219bf5a8d3c09e480
CRs-Fixed: 774533
2018-08-14 20:02:23 -07:00
Tushnim Bhattacharyya
332b74c364 qcacld-3.0: Change the level of info level logs in PE
Change the level of info level logs in PE to avoid clutter on console log.

Change-Id: I185cc52f3deffe7cb7826d6d8375899a35ce459b
CRs-Fixed: 2294985
2018-08-14 20:02:18 -07:00
nshrivas
70ef8f4a4d Release 5.2.0.92J
Release 5.2.0.92J

Change-Id: Ib082c46cc17ef755e28783743c03e404035255fe
CRs-Fixed: 774533
2018-08-14 16:50:05 -07:00
Qiwei Cai
c778c0853c qcacld-3.0: Allocate global_mac_context dynamically
Allocate global_mac_context dynamically to reduce build size.

Change-Id: I67e9f20f55d2289d9b97756adaea0666f64d6afc
CRs-Fixed: 2290537
2018-08-14 13:22:20 -07:00
nshrivas
a159c99595 Release 5.2.0.92I
Release 5.2.0.92I

Change-Id: I99485147d931557ffb779822a63fba3e9e6af3fb
CRs-Fixed: 774533
2018-08-14 02:15:43 -07:00
Rajasekaran Kalidoss
ef058525b9 qcacld-3.0: Add vdevId in tAggrAddTsParams
pe session_id should not be used as vdev_id.
Add a vdevId field to tAggrAddTsParams struct
and fill smeSessionId as vdevId and pass this
down.

Change-Id: Id021dda35a32f7870277d405c85a0878d7baa3f3
CRs-fixed: 2272126
2018-08-14 02:15:43 -07:00
nshrivas
6482d612f6 Release 5.2.0.92H
Release 5.2.0.92H

Change-Id: Ib7e748ef77921e864c83a0013da33b72d9f109de
CRs-Fixed: 774533
2018-08-13 23:15:18 -07:00
nshrivas
2bc86209b8 Release 5.2.0.92G
Release 5.2.0.92G

Change-Id: I01ec99530f89863b24097f6a979a0d0a7662f1b0
CRs-Fixed: 774533
2018-08-13 21:37:32 -07:00
Pragaspathi Thilagaraj
210362a1c2 qcacld-3.0: Fix memory corruption in pe_free_nested_messages
When peer creation fails in wma_set_link_state, wma sends the
WMA_SET_LINK_STATE_RSP msg to LIM and Lim frees the msg->bodyptr
But there is a situation occurs where after this wma_peer_create
fails, mc thread stop sys event also occurs where the mac_stop
is invoked which calls the pe_free_msg -> pe_free_nested_messages
In pe_free_nested_messages, if the msg type is
WMA_SET_LINK_STATE_RSP, we free the msg->bodyptr->callbackArg.
This callbackArg points to the PE session. Trying to free the
PE session results in memory corruption.

Just pass the session id as callback argument when the callback
is lim_post_join_set_link_state_callback.

Change-Id: I27f9127685ac7ef8d215b135f1625e8e2f225fc0
CRs-Fixed: 2287827
2018-08-13 21:37:31 -07:00
nshrivas
534cd0868d Release 5.2.0.92F
Release 5.2.0.92F

Change-Id: I6954f59554d9e87d9e63b159910f02960fed6eb2
CRs-Fixed: 774533
2018-08-13 18:12:40 -07:00
nshrivas
47c66ef668 Release 5.2.0.92E
Release 5.2.0.92E

Change-Id: I28e78c61f560989d736a71a4e47f38e61169e094
CRs-Fixed: 774533
2018-08-13 16:28:44 -07:00
nshrivas
49e73071b2 Release 5.2.0.92D
Release 5.2.0.92D

Change-Id: I5e020caf884baebecf830dfa6952535574c2d17b
CRs-Fixed: 774533
2018-08-13 14:41:55 -07:00
Varun Reddy Yeturu
a47f08f3dc qcacld-3.0: Do not attempt to delete peer when it is not created
In preassoc state, if the set link state has failed to create the
peer, then send back a failure status to the upper layers and
ensure that the set link state for failure is not called again
because this will eventually call vdev stop and lead to a vdev
stop response and then lead to a peer delete attempt which is
really not needed since the peer has not been created at all.

Change-Id: I265726000204bab51c429a2d00cdd599d8064170
CRs-Fixed: 2286684
2018-08-13 14:41:54 -07:00
Pragaspathi Thilagaraj
766c76f8db qcacld-3.0: Send DISCONNECT_DONE_IND from lim_send_sme_disassoc_ntf
When a station connected to one of the sap interface reassociates
to the other sap interface, the driver triggers internal
disconnect for that station with disassocTrigger =
eLIM_DUPLICATE_ENTRY. Once this station is deleted from firmware
we send add sta for the station lim_send_sme_disassoc_ntf on the
sap interface to which the station is to be connected. But the
first SAP interface doesn't send eWNI_SME_DISCONNECT_DONE_IND to
remove eSmeCommandWmStatusChange.

send eWNI_SME_DISCONNECT_DONE_IND from lim_send_sme_disassoc_ntf
in case eLIM_DUPLICATE_ENTRY.

Change-Id: Ibc3cc8121928fe83cc1d8cf3e98419bf5f7f7d1c
CRs-Fixed: 2286783
2018-08-13 14:41:50 -07:00
nshrivas
fba9ff69ed Release 5.2.0.92C
Release 5.2.0.92C

Change-Id: Ife5742efe7c1b90706514d706c56e5cd00382118
CRs-Fixed: 774533
2018-08-13 12:57:50 -07:00
nshrivas
5c6e604e10 Release 5.2.0.92B
Release 5.2.0.92B

Change-Id: I87a7e295490f8ec20c2c4fafde9ff8984a729034
CRs-Fixed: 774533
2018-08-11 06:18:08 -07:00
nshrivas
d89e09f4e4 Release 5.2.0.92A
Release 5.2.0.92A

Change-Id: Ib546082cb1adbd7dd499cfd268ec9ac8811c2566
CRs-Fixed: 774533
2018-08-11 00:29:26 -07:00
nshrivas
4143c3937b Release 5.2.0.92
Release 5.2.0.92

Change-Id: Iad36107b8d1fa074a91af294695fe100ed28b448
CRs-Fixed: 774533
2018-08-10 20:45:17 -07:00
nshrivas
7bab3b4886 Release 5.2.0.91Z
Release 5.2.0.91Z

Change-Id: I8546ee603ea3da8de6f06943e0864ef0532069cf
CRs-Fixed: 774533
2018-08-10 18:11:04 -07:00