Commit Graph

11431 Commits

Author SHA1 Message Date
nshrivas
14518e2388 Release 5.2.0.93Q
Release 5.2.0.93Q

Change-Id: I301cfcaa8ebc95ecacf07fffba5bb28e45b9a48d
CRs-Fixed: 774533
2018-08-24 15:15:55 -07:00
Abhinav Kumar
1a15ed2800 qcacld-3.0: Add SRD channel check in restart SAP
Currently the driver doesn't have a check to bring
up a SAP on STA SCC channel if its a SRD channel
and does force SCC on it, even if SRD master mode
is not supported.

Fix is to check the SRD ini before SAP bringup
on the STA channel

Change-Id: I17f7df9ed973ecc6669f0d36a8c390c71624019b
CRs-Fixed: 2302737
2018-08-24 15:15:55 -07:00
Rajeev Kumar Sirasanagandla
80e16bfe83 qcacld-3.0: Add null check in action oui send request
In target_if_action_oui_send_req(), there is no NULL check against
return value of GET_WMI_HDL_FROM_PSOC() which can result in NULL
pointer exception. Therefore, add NULL check.

Change-Id: Ibbc4fdf03563496b9d5dac63141921dd8bdea4fa
CRs-Fixed: 2299793
2018-08-24 07:16:45 -07:00
nshrivas
e5d42d7d18 Release 5.2.0.93P
Release 5.2.0.93P

Change-Id: Ifa5a8932b66c66652864238b0b1860b56ac0c587
CRs-Fixed: 774533
2018-08-23 15:25:35 -07:00
Arunk Khandavalli
1574505022 qcacld-3.0: Send the correct error to HDD if self peer creation fails
During the vdev attach if the self peer creation fails from the protocol
stack the correct vdev delete is sent to the firmware but the success error
is propogated back to the HDD and the wmi vdev set commands are sent
to the firmware with invalid vdev id.

Change-Id: Ida3964e5a629f53e41ffc50b53216762727fd33d
CRs-Fixed: 2299941
2018-08-23 15:25:34 -07:00
nshrivas
e031272a7c Release 5.2.0.93O
Release 5.2.0.93O

Change-Id: I85f25e7269204903f191312b6632a8bca6376bf1
CRs-Fixed: 774533
2018-08-23 13:50:15 -07:00
Bala Venkatesh
be1f59f0d2 qcacld-3.0: Initialize SAP mandatory chan list
Initialize SAP mandatory chan list.

CRs-Fixed: 2301749
Change-Id: I126d67da1bfe8426cd3a7b031e97aba907e6155a
2018-08-23 13:50:14 -07:00
nshrivas
2145a37ff5 Release 5.2.0.93N
Release 5.2.0.93N

Change-Id: I464cbbfa18b714c8d52a5fcd80fc53b5ec2628c8
CRs-Fixed: 774533
2018-08-23 09:38:35 -07:00
Krunal Soni
fa6c7f5f9e qcacld-3.0: Move set/get timestamp logic from Datapath to Control path
As part of Iab0862eda2392bd516c8ba0b913441b8e0d4c493 , timestamp of
last received frames was introduced to block excessive mgmt frames
being sent as part of Denial of service.

Move that logic to control path to remove dependency on data-path.

CRs-Fixed: 2280235
Change-Id: Idd7617782e71ee187eef7fcb3523c05b49f82094
2018-08-23 09:38:34 -07:00
nshrivas
be622fb896 Release 5.2.0.93M
Release 5.2.0.93M

Change-Id: I627ae7bf9a1447d8164930f274792980306bcacf
CRs-Fixed: 774533
2018-08-22 07:46:44 -07:00
Kai Liu
aa88d2f9c2 qcacld-3.0: Define macro WLAN_SYSFS for feature sysfs interface
Disable this feature for MOBILE_ROUTER product, since some MOBILE_ROUTER
platform will attach two wlan cards with separate wlan driver,
during second driver loading process, it will report a warning of
"cannot create duplicate filename" as node with same name has been
created after first driver was loaded.

Change-Id: I9e06439b3a6dacdf4eb5ae87898338ab1eeb8b16
CRs-Fixed: 2295391
2018-08-22 07:46:43 -07:00
nshrivas
50fdbbd9f3 Release 5.2.0.93L
Release 5.2.0.93L

Change-Id: I578cb43f5f778f635f8f183d36bb6badce8aeafa
CRs-Fixed: 774533
2018-08-22 06:08:45 -07:00
Kiran Kumar Lokere
e37c8559a1 qcacld-3.0: Update dfs region enum names
Update dfs region enum names to fix the compilation
due to name change.

Change-Id: If3ed7c5d2eb9ce855f62df98301196395e7febf9
CRs-Fixed: 2300595
2018-08-22 06:08:45 -07:00
nshrivas
16796952eb Release 5.2.0.93K
Release 5.2.0.93K

Change-Id: I8857d3d427f4345ea1e9648b5ea49089c821d466
CRs-Fixed: 774533
2018-08-22 03:52:41 -07:00
Varun Reddy Yeturu
692eed125d qcacld-3.0: Check for WMA context before sending TWT command
Check for WMA context before sending the TWT enable
command to the firmware.

Change-Id: I27c131773506c89fc7ba3e95fa58daa1258733fc
CRs-Fixed: 2299786
2018-08-22 03:52:41 -07:00
nshrivas
c7a369d642 Release 5.2.0.93J
Release 5.2.0.93J

Change-Id: I0a7a451ba8f76cc2358834c3e2b87e67f5618b9d
CRs-Fixed: 774533
2018-08-21 20:51:04 -07:00
Dustin Brown
ffd584f1c2 qcacld-3.0: Check recovery enabled before unloading
In cds_trigger_recovery(), we avoid recovery if the wlan driver is
unloading. While this is ideal for production devices, we would like to
panic in debug builds for offline analysis. Move the check to see if the
wlan driver is unloading to immediately after the check to see if we
should panic or not.

Change-Id: I07cc624295416ca555eb4d847f709cf30e6672bb
CRs-Fixed: 2299903
2018-08-21 20:51:03 -07:00
nshrivas
c98e9b8f1d Release 5.2.0.93I
Release 5.2.0.93I

Change-Id: I053ff0778b5166a2624021d993dd9f5550557eec
CRs-Fixed: 774533
2018-08-21 14:16:27 -07:00
Dustin Brown
3111677bb2 qcacld-3.0: Reduce SNR monitoring log
Reduce an SNR monitoring log in HDD to prevent spamming dmesg.

Change-Id: If2779ef469894f1c7982cda7e7b48ddc1c0e5b7c
CRs-Fixed: 2297425
2018-08-21 14:16:27 -07:00
nshrivas
54e5106397 Release 5.2.0.93H
Release 5.2.0.93H

Change-Id: I9cd9a80721118463887ff504d97784c40db7ab45
CRs-Fixed: 774533
2018-08-21 01:51:19 -07:00
Vignesh Viswanathan
a03a58e9f5 qcacld-3.0: Drop Probe Requests on Scan Queue if queue is full
Drop Probe request frames before posting on Scan Queue if the queue
is already having too many beacon/probe frames to process.

Change-Id: Iaad3d3ea0b50edf7ae7a9c5437ac5c210fe6a97f
CRs-Fixed: 2298581
2018-08-21 01:51:19 -07:00
nshrivas
91ad4c374b Release 5.2.0.93G
Release 5.2.0.93G

Change-Id: Ifb112df1d60adcca00af9f8edbdfdb762b5f5b92
CRs-Fixed: 774533
2018-08-21 00:17:11 -07:00
Jeff Johnson
83144ce3f3 qcacld-3.0: Remove fMiracastSessionPresent from MAC context
The MAC context fMiracastSessionPresent flag is only referenced by
macro IS_MIRACAST_SESSION_PRESENT(), and this macro is unused. Since
the fMiracastSessionPresent flag is obsolete, remove it and the macro.

Change-Id: I5ad6e5b56bd0476e7894c431b56b9ad5730923d4
CRs-Fixed: 2300050
2018-08-21 00:17:11 -07:00
nshrivas
52f2b8e737 Release 5.2.0.93F
Release 5.2.0.93F

Change-Id: I5eebbbee9900b2e7c4f1402081380182ef7b1253
CRs-Fixed: 774533
2018-08-20 22:32:28 -07:00
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
Jeff Johnson
bacb4804c4 qcacld-3.0: Fix mac_handle test in hdd_set_dwell_time()
Recently change "qcacld-3.0: Use mac_handle_t in wlan_hdd_ioctl"
updated the nomenclature used in HDD. During the implementation of
this change a NULL check of mac_handle in hdd_set_dwell_time() had a
"!" removed, incorrectly changing the logic. Restore the correct logic
for NULL-checking mac_handle.

Change-Id: I2bb8393d5adb3156795b3b722d839812419e4995
CRs-Fixed: 2299812
2018-08-20 22:32:23 -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
Dustin Brown
485bbad241 qcacld-3.0: Fix cds_trigger_recovery PERF build issue
QDF_DEBUG_PANIC() is stubbed out for PERF builds, leading to a warning
in cds_trigger_recovery() because @call_info is unused. Extract the
trigger recovery handling into its own function with proper types
instead of void*, and make cds_trigger_recovery_work() a thin wrapper
over this to do the type conversion. This will address the unused
variable warning, and provide stronger type checks via the compiler.

Change-Id: Idf712bdf30d2c6c338219a0327221fe6a0b0b27a
CRs-Fixed: 2299813
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
Vignesh Viswanathan
c6812821f7 qcacld-3.0: Add support for wildcard OUI in Action OUI framework
Add support for wildcard OUI 0xFFFFFF in action OUI framework.
When the OUI FFFFFF is defined for some action OUI ini and bit 0
of info_presence bit is set to 0 then the check for vendor OUI
in vendor specific IEs and the vendor IE data checks are skipped
and other checks like MAC, Capabilities are done during connection.

Change-Id: I6e996c5d79f4f7bd91e11134b1b8ba69a1ff0253
CRs-Fixed: 2293167
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
Will Huang
7049baea18 qcacld-3.0: Fix ACS delayed worker running after adapter stopped
While ACS delayed worker scheduled and is running the function
wlan_hdd_cfg80211_start_acs(), ACS_PENDING has already been cleared by
wlan_hdd_cfg80211_start_pending_acs() before it, so the later coming
stop sap event can't cancel the running delayed worker and free the
sap context which need access by delayed worker.

Fix by clear ACS_PENDING after wlan_hdd_cfg80211_start_acs(), and move
cancel ACS delayed worker before cancel any scan, it can cancel ACS
scan invoke by delayed worker and avoid race condition.

CRs-Fixed: 2289364
Change-Id: Ibd771fc199a0778ac1d8f1f04ba22b49014437de
2018-08-20 10:16:41 -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
Abhishek Singh
f06214b902 qcacld-3.0: Remove vdev stop during hidden ssid restart
During ssid restart currently driver send vdev stop and then
restart. There is no need to send vdev stop in this scenario and
direct vdev start is enough to set hidden ssid.

Thus remove vdev stop during hidden ssid restart.

Change-Id: Ide6826f73ecd51bbafa875ed547efeff4a410397
CRs-Fixed: 2298636
2018-08-20 03:12:35 -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
Vignesh Viswanathan
74f6fc1d31 qcacld-3.0: Force cleanup vdev for FW down case in vdev_detach
Currently VDEV Force cleanup happens only if FW is in recovery state
and not if target_ready is set to false. However, since FW down flag
is set for recovery case also, even during SSR, the VDEV Force clean up
is not triggered.

Force cleanup vdev for FW down case also in wma_vdev_detach.

Change-Id: I3ba6dc92c1c5ea1090f9f5dc9062775de6db1954
CRs-Fixed: 2298278
2018-08-17 19:17:16 -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
Dustin Brown
a7bb6ae8f1 qcacld-3.0: Reduce excessive HDD logs
Several HDD logs have been identified as being excessive. Reduce the
logging level of these logs to avoid spamming dmesg.

Change-Id: I49e0f91c5d66051f9e6ffd991d86505a11faa346
CRs-Fixed: 2298385
2018-08-17 17:44:49 -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
Dustin Brown
2a24d7c1d9 qcacld-3.0: Add caller/line info to recovery log
To speed up recovery trigger debugging, pass the caller's function name
and line number, such that the group needing to do the initial triage
can be easily identified via the panic message.

Change-Id: Ibac141a62a990adf7a781d7ef64544d92ff4e31b
CRs-Fixed: 2298194
2018-08-17 16:13:13 -07:00
Pragaspathi Thilagaraj
ab5cc6ec92 qcacld-3.0: Enable compile time flag WLAN_OBJMGR_REF_ID_DEBUG
Ref id debug support adds an array of atomic_t to peer object
which significantly increases peer object size. Move this debug
support under the compile time flag WLAN_OBJMGR_REF_ID_DEBUG to
save memory.

Enable the compile time flag WLAN_OBJMGR_REF_ID_DEBUG for mcl.

Change-Id: Ie618bd049270d23def6ca37542f1e2948b6d32b5
CRs-Fixed: 2297976
2018-08-17 16:13:09 -07:00
Manjunathappa Prakash
1bc742d65e qcacld-3.0: Do not log DP info logs on the console
Reduce the log level so that logs appear on cnss-diag log instead on
console.

Change-Id: I66ba3a941b9c6be9ec4fb04af39f9362822787d2
CRs-Fixed: 2296841
2018-08-17 16:13:06 -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