Commit graph

9,197 commits

Author SHA1 Message Date
snandini
38e732a272 Release 5.2.0.67Q
Release 5.2.0.67Q

Change-Id: I839bf2ab343307c060f15e0bf8f7d2b53de70b3a
CRs-Fixed: 774533
2018-02-27 01:57:26 -08:00
jiad
af1b76efa5 qcacld-3.0: skip dma unmap for IPA owned skb
In MCC tx path, skb is owned by IPA driver, where IPA driver provides
wlan driver directly DMA mapped address. Doing dma unmap of the skb
will lead to skb dma map check failure.

Fix is to skip dma unmap for IPA owned skb and let IPA driver handle
dma unmap.

Change-Id: Ib38ca949ba915785e460c05172b70088a3564b1c
CRs-Fixed: 2189889
2018-02-27 01:57:25 -08:00
snandini
cc0e11b6ca Release 5.2.0.67P
Release 5.2.0.67P

Change-Id: I5ea4b7e6431e61794c2536be945d6021bab7b7cc
CRs-Fixed: 774533
2018-02-26 21:44:43 -08:00
Abhishek Singh
6378103e12 qcacld-3.0: Add logic to ignore PMF check for STA test mode
In testbed STA mode the RSNE may not match with APUT and thus
driver fails to filter AP from scan cache as PMF capability
mismatch.

With this change driver will ignore PMF capability check and
proceed with connection to send auth and assoc to APUT.

Change-Id: I1bf5947fb08574941eaf1845ec1e36ee9b030dd0
CRs-Fixed: 2195354
2018-02-26 21:44:43 -08:00
snandini
7a0d8730ae Release 5.2.0.67O
Release 5.2.0.67O

Change-Id: I980e43d4e25f03d249bb3f21a924ca9a34cb6c87
CRs-Fixed: 774533
2018-02-26 12:08:27 -08:00
Rajeev Kumar
64de4544a2 qcacld-3.0: Kbuild changes to compile qdf_util.c
Add Kbuild changes to compile qdf_util.c

Change-Id: I94bfaa13512c1287ff02f890348d44034b8d106e
CRs-Fixed: 2195161
2018-02-26 12:08:25 -08:00
snandini
b7a2d775a6 Release 5.2.0.67N
Release 5.2.0.67N

Change-Id: I8f6c801ecb4dd00828dfb8cd1f7bb9b6e4ec60b2
CRs-Fixed: 774533
2018-02-26 06:34:30 -08:00
Yeshwanth Sriram Guntuka
469f957cd3 qcacld-3.0: Set hw mode based on channel_select_logic_conc ini
Set hw mode to DBS or single MAC for STA+STA and STA+P2P
concurrencies based on channel_select_logic_conc ini.

Change-Id: I46ba4d5cd8f5cda71d0c00be2b612bc851eb5ba4
CRs-Fixed: 2185554
2018-02-26 06:34:27 -08:00
Yeshwanth Sriram Guntuka
db7995db23 qcacld-3.0: Add ini support for channel selection logic
Add ini to select DBS or inter-band MCC channel selection logic
for STA+STA and STA+P2P connections.

Change-Id: I7cfde9592ec210b0a8c812171d2bc6f005e17fb2
CRs-Fixed: 2185552
2018-02-26 06:34:22 -08:00
Himanshu Agarwal
1b3be70ff7 qcacld-3.0: Free ACS channel list before allocating new list
In __wlan_hdd_cfg80211_do_acs(), driver allocates memory for
ACS channel list without checking if there is already some
memory allocated for channel list or not. When SSR is triggered
before ACS completion, ACS list does not get freed and after
driver reinit, when a new do ACS comes, it allocates a new memory
without deallocating the older memory. This causes memory leak.

Free ACS channel list if already allocated before allocate a new
list.

Change-Id: Ic001c3daac518e97644da00cb82ea1d3fde4b539
CRs-Fixed: 2191839
2018-02-26 06:34:16 -08:00
snandini
db40093ed3 Release 5.2.0.67M
Release 5.2.0.67M

Change-Id: I6151d0226d7cbed85e41d71eced6cf904390c196
CRs-Fixed: 774533
2018-02-26 04:07:11 -08:00
Sravan Kumar Kairam
c1ae71c4cd qcacld-3.0: Add ARP debug stats
Change to collect arp packet stats along with
existing hdd stats to debug arp packet related
issues.

Change-Id: Idce70799bd3698dc8a8ecd8cfc8ef7d9bf1f5764
CRs-Fixed: 2019787
2018-02-26 04:07:10 -08:00
snandini
1596296121 Release 5.2.0.67L
Release 5.2.0.67L

Change-Id: Ic2a7c5c6003fcc0c3b83e00cd81753cae86954bf
CRs-Fixed: 774533
2018-02-26 02:54:50 -08:00
Himanshu Agarwal
91c5c0f7d7 qcacld-3.0: Avoid 2.4Ghz channel in 40Mhz for SAP start
When the channel list provided from hostapd contains both
2.4Ghz and 5Ghz channels and channel width is 40Mhz, scan
happens on all the 2.4Ghz  and 5Ghz channels and ACS algo
runs on all the channels to find the best channel for
starting SAP in 40Mhz. If a 2.4Ghz is selected, an OBSS
scan happens on all the 2.4Ghz channels to check if there
is any legacy BSS present on any overlapping channel. If
any BSS is found, channel width fallbacks to 20Mhz and
SAP gets started in 20Mhz bw instead of 40Mhz. This is
generally the case with 2.4Ghz whereas there is no such
issue in 5Ghz channels.

Avoid 2.4Ghz channels for starting SAP in 40Mhz bw by
assigning max weight to all the 2.4Ghz channels if 5Ghz
channels are also present in the channel list provided
from hostapd.

Change-Id: I079d20b912282c9db5c9b51b1ed4b85a4aa9c5df
CRs-Fixed: 2186658
2018-02-26 02:54:49 -08:00
snandini
348bf81f54 Release 5.2.0.67K
Release 5.2.0.67K

Change-Id: I83a1301cf90247a8b6fa38b92a33889d04879086
CRs-Fixed: 774533
2018-02-26 00:24:14 -08:00
Ashish Kumar Dhanotiya
4be2a7b2a4 qcacld-3.0: Validate update avoid frequency channel list
qcacld-2.0 to qcacld-3.0 propagation.

Validate the avoid frequency channel list of
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY command and update the
driver's unsafe channel list with the channels received in the command.

Change-Id: I1a10e668bf6fe6dbb22f7f2f8aef929fc6e7fc65
CRs-Fixed: 2187477
2018-02-26 00:24:11 -08:00
snandini
d04cc3a105 Release 5.2.0.67J
Release 5.2.0.67J

Change-Id: I02a87f5b35e2110f54ff305f0f465fd0e454391a
CRs-Fixed: 774533
2018-02-25 21:08:43 -08:00
Mahesh Kumar Kalikot Veetil
48af32b8a2 qcacld-3.0: Fix the incremental compilation
BUILD_TAG changes in each build, which makes all files to recompile.
Notify build system that BULD_TAG is only used in wlan_hdd_main.c. This
reduces the recompile time significantly.

Change-Id: I40952e75eeb951ce8a693c8130dbc55a4a92eff5
CRs-Fixed: 2195100
2018-02-25 21:08:40 -08:00
snandini
a73a51aca2 Release 5.2.0.67I
Release 5.2.0.67I

Change-Id: I16ca4caf365b1ae5d95c6b945d044fda7cecf7d6
CRs-Fixed: 774533
2018-02-24 04:11:17 -08:00
Kiran Kumar Lokere
5cc2f0da1f qcacld-3.0: Add support to configure HE fragmentaion
Add support to configure HE fragmentation support using NL
command.

Change-Id: I49b81df96a9c8199a1cc5994762aeba0ed9676b0
CRs-Fixed: 2166782
2018-02-24 04:11:17 -08:00
snandini
1d94aca1d9 Release 5.2.0.67H
Release 5.2.0.67H

Change-Id: I457529341c6091adc922fb06cd9a1e4c071084cb
CRs-Fixed: 774533
2018-02-23 20:01:10 -08:00
Dustin Brown
7bd76330b1 qcacld-3.0: Disable Packet Filter by default
The Android Packet Filter (APF) is the preferred method for filtering
packets, but the legacy Packet Filter may also be used. In order to
encourage the use of APF over Packet Filter, disable Packet Filter by
default. Customers may still enable Packet Filter via setting
gDisablePacketFilter=0 via ini configuration.

Change-Id: I581a4001167571efbc7c1c1738c5585e4bde0611
CRs-Fixed: 2195111
2018-02-23 13:26:05 -08:00
snandini
4d6d6425a6 Release 5.2.0.67G
Release 5.2.0.67G

Change-Id: I905b803bf77015551905e11fe9e74205c76cceb6
CRs-Fixed: 774533
2018-02-22 23:30:49 -08:00
Tushnim Bhattacharyya
087bff3a13 qcacld-3.0: Trim ACS channel list based on the concurrent connections
If force SCC is enabled and there is a STA connection, trim the
ACS channel list on the band on which STA connection is present.

Change-Id: Ibd580a7afdcdfc5fb4398ada547565e229d59c70
CRs-Fixed: 2191792
2018-02-22 23:30:48 -08:00
snandini
428897d9a5 Release 5.2.0.67F
Release 5.2.0.67F

Change-Id: I2d96905bfc53819ea0d5a1df7074756ad83be543
CRs-Fixed: 774533
2018-02-22 17:46:20 -08:00
Rajeev Kumar
69ddd852e5 qcacld-3.0: Free nested set link state response msg buffer in PE
PE is not freeing the second level of allocated memory during MC
thread message queue flush logic and hence leaking the memory.
Free second level of allocated memory in pe_free_message such
that message posted from WMA is still freed even if MC thread is
shutdown during driver unload/SSR.

Change-Id: I6a88d3b331c29496bc7c1d9e451c97206a2b85cf
CRs-Fixed: 2192884
2018-02-22 17:46:20 -08:00
snandini
e87a2f2ae5 Release 5.2.0.67E
Release 5.2.0.67E

Change-Id: If570eb39936d37b031455ad4e0ff96f0e7c29b39
CRs-Fixed: 774533
2018-02-22 14:05:23 -08:00
Hanumanth Reddy Pothula
3862ca9efa qcacld-3.0: Flush scan results on interface down
After successful connection, if interface down(STA) happens on DUT
and if AP changes data rates before interface up happens, there
is a possibility of STA to send packets at older data rates, because
of holding older scan results in SME scan cache. This results in using
stale scan result even after wifi turn off and on. If stale scan result
is used and if AP has updated some params like rates DUT will not be
using those supported rates for tx which is an issue.

To mitigate this issue, flush scan results on STA interface down.
Also, make sure there are no other STA interfaces before flushing
scan results.

Change-Id: I3505c128276fa8e5e05ea5d9110eb75275a746e9
CRs-Fixed: 2171523
2018-02-22 14:05:22 -08:00
snandini
5241871c2f Release 5.2.0.67D
Release 5.2.0.67D

Change-Id: I9b4ec401b24d2f448c03167e738f11e8a647f12c
CRs-Fixed: 774533
2018-02-22 12:38:41 -08:00
Yun Park
f1684eced9 qcacld-3.0: Add BUG_ON when uC ready failed
When uC ready fails while WDI init, get a dump for uC debugging.

Change-Id: I87b635bf4644b54d47bee65307d7484c9e328885
CRs-Fixed: 2194383
2018-02-22 12:38:40 -08:00
snandini
02421a0f38 Release 5.2.0.67C
Release 5.2.0.67C

Change-Id: I2d38380de19afaddc8a30adc0e7c1f4e3375ebea
CRs-Fixed: 774533
2018-02-22 07:25:52 -08:00
Abhishek Singh
221cf99fdf qcacld-3.0: Cleanup unused scan code
Cleanup the unused legacy scan code.

Change-Id: Ia664f815759142e7f4ad8e648a469c63ddd003f5
CRs-Fixed: 2193917
2018-02-22 07:25:52 -08:00
snandini
0781b178fb Release 5.2.0.67B
Release 5.2.0.67B

Change-Id: I900548626a55931a34620fcf7746aca1e524a368
CRs-Fixed: 774533
2018-02-22 06:01:23 -08:00
Abhishek Singh
edb7360d92 qcacld-3.0: Match all encryption type in case of testbed STA
If force rsne is set i.e testbed STA mode, the auth type and
encryption type set in RSNE provided, may not match with the AP.
In this case driver will not find the AP in filtered scan result
using the encryption and auth type provided in RSNE.

Thus no Assoc req is sent to AP and the test case fails.

As part of the fix set all authtype and RSN encryptions in filter
so that driver is able to find the AP and send Assoc request.

Change-Id: If99df221b10c5276f902df2f0a52b87e4df1be2c
CRs-Fixed: 2192174
2018-02-22 06:01:22 -08:00
snandini
eaf915d1e0 Release 5.2.0.67A
Release 5.2.0.67A

Change-Id: I655925546f715a9097f148b9c1d070feb2fe604e
CRs-Fixed: 774533
2018-02-22 04:04:01 -08:00
Ashish Kumar Dhanotiya
191d164636 qcacld-3.0: Add ini parameter for chain selection optimization
Add ini support to Enable/Disable chain selection optimization
for one chain dtim.

Change-Id: I95999a4204f2d978abc9951688332400b9670f0e
CRs-Fixed: 2189150
2018-02-22 04:04:00 -08:00
snandini
659acb30da Release 5.2.0.67
Release 5.2.0.67

Change-Id: Iaf45ce1cea97b087c61c6a8a21ec2e9cf7032008
CRs-Fixed: 774533
2018-02-22 02:15:09 -08:00
Abhishek Singh
f723e3d31a qcacld-3.0: Cleanup the legacy scan code
Cleanup the unused legacy scan code.

Change-Id: Ia45cf0310c506d3cf6b897b31f9d28b4fac3197c
CRs-Fixed: 2193917
2018-02-22 09:57:12 +05:30
snandini
658b2c74e4 Release 5.2.0.66Z
Release 5.2.0.66Z

Change-Id: Id8707e1e3313485ad96feb07a8c12e589c276201
CRs-Fixed: 774533
2018-02-21 19:27:40 -08:00
Kiran Kumar Lokere
a934561748 qcacld-3.0: Add support to configure BA operating mode
Add support to configure BA operating mode using nl command

Change-Id: Ibc566d7e090b5f54636b8029e0e8eef9d26c9ad8
CRs-Fixed: 2181889
2018-02-21 19:27:40 -08:00
snandini
e98e97774b Release 5.2.0.66Y
Release 5.2.0.66Y

Change-Id: I50e32e73e377cf83658e74b5971dc24c592319b4
CRs-Fixed: 774533
2018-02-21 17:12:23 -08:00
Kabilan Kannan
b867c313fe qcacld-3.0: Fix TDLS memory leak in SSR and driver unload
In SSR or driver unloading case, directly exit may cause obj
leak. Free the objects in those cases, regardless of
sme_close_session status

Change-Id: Iaf0500aca23917f84c37848cd3abade66b7d7456
CRs-Fixed: 2187579
2018-02-21 17:12:22 -08:00
snandini
567e109c81 Release 5.2.0.66X
Release 5.2.0.66X

Change-Id: I9ded909060f9b327a14f334f0471d9cc2aa661a8
CRs-Fixed: 774533
2018-02-21 15:24:24 -08:00
Yeshwanth Sriram Guntuka
273889e7cc qcacld-3.0: Update bss count based on channel offset only for same band
In sap_update_rssi_bsscount, bss count for channels is
incremented based on offset only and does not consider
if channel on which scan result is received and the
offset channel belong to same band. This could result
in incorrect increment of bss count for some channels
when channels from both bands are present.

Fix is to increment bss count based on channel offset
only if both channels belong to same band and also
choose channel with lower bss count among the channels
having least weight.

Change-Id: Icee978fc40047782c79fe36cba29e3feed3c90aa
CRs-Fixed: 2191324
2018-02-21 15:24:23 -08:00
Vignesh Viswanathan
a842b94f04 qcacld-3.0: Free LIM Deauth/Disassoc requests during lim cleanup
If Deauth/Disassoc timer is currently running when lim_cleanup
happens due to SSR, the memory allocated for Disassoc/Deauth Req in
mac context is not freed leading to memory leak.

Free Deauth/Disassoc Requests stored in mac context in lim_cleanup
Also check for existing Deauth/Disassoc Request pointers stored in
mac context and free it before assigning it to point to the
current request.

Change-Id: Id7e221bd9d5061ecaa9b73a4fe1dc0f465f68aa9
CRs-Fixed: 2191131
2018-02-21 15:24:21 -08:00
Vignesh Viswanathan
08ad8a0a34 qcacld-3.0: Add vdev_id sanity check in wma_vdev_stop_resp_handler
In function wma_vdev_stop_resp_handler, resp_event->vdev_id is
received from the FW and is used to access the interfaces array in
wma_handle. This could lead to OOB read/write if the vdev_id
received from the FW is greater than or equal to max_bssid.

Add check to return failure if resp_event->vdev_id is greater than
or equal to max_bssid in wma_vdev_stop_resp_handler

Change-Id: I1af5312e6c45db3b9ba03fbf45de3d3c2a7fab20
CRs-Fixed: 2185477
2018-02-21 15:24:18 -08:00
snandini
e2e29b170f Release 5.2.0.66W
Release 5.2.0.66W

Change-Id: I629bf73393d560579a9dff5d8265f40a53d32938
CRs-Fixed: 774533
2018-02-20 21:47:55 -08:00
Arunk Khandavalli
2859fa1f8b qcacld-3.0: Add fw down check to validate context
Is firmware down check is added explicity in some api's and insome
northbound interfaces it is not added resulting in waiting for
firmware response even when the firmware is down.

Move firmware down check to validate context umbrella where
other driver states are validated.

Change-Id: I42a520f8a573825fde55a40dd03bb942f8a34b9c
CRs-Fixed: 2188938
2018-02-20 21:47:55 -08:00
snandini
64a17137ca Release 5.2.0.66V
Release 5.2.0.66V

Change-Id: I519db774a9b61c46ef85f3df9d373573ad2b5355
CRs-Fixed: 774533
2018-02-20 17:54:57 -08:00
Sachin Ahuja
16904db4ef qcacld-3.0: Avoid reinitialization of wlan_start_comp event
Currently in case of static driver, wififtmd which writes into the
bootwlan and wifi-service which writes into the state_ctrl_param
executes in parallel. The handler of boot_wlan and state_ctrl_param
in driver intialize this wlan_start_comp variable and wait for its
completion. If one handler is already waiting on this event and other
handler reinitalize the event then it leads to the instability.

To mitigate this issue
1) set the driver loaded state to true and then complete the
wlan_start_comp event.
2) create the state_ctrl_param fs only once the boot_wlan handler
wait is completed for probe.

CRs-Fixed: 2158126
Change-Id: Ia51811a0dd2c5b52f7eee781c4d4620174de3649
2018-02-20 17:54:57 -08:00