Graf commitů

5095 Commity

Autor SHA1 Zpráva Datum
SaidiReddy Yenuga
699d90e4b0 qcacld-3.0: Create and Destroy bug report lock over insmod and rmmod
Logging thread creates the bug report spinlock initially.
ifconfig thread tries to create the same spinlock
again, this leads to change in spinlock magic.

Create and Destroy the same lock on insmod/rmmod only.

CRs-Fixed: 2033886
Change-Id: Iea2fe4f9bd47b0d7f4ad1a176a361bac242b9d4d
2017-05-24 12:10:11 -07:00
snandini
c90d1f2e99 Release 5.2.0.26R
Release 5.2.0.26R

Change-Id: I50ec0a83068ca27fb0f88e516e959269e84f4e9b
CRs-Fixed: 774533
2017-05-24 05:17:10 -07:00
Abhishek Singh
34c15647ed qcacld-3.0: Send VDEV STOP if host fails in vdev start resp
In Vdev start response if due to some reason host fails it doesnt
send vdev stop to firmware to mark vdev as inactive. Due to this
when delete vdev is received by firmware it crashes.

To fix this send VDEV STOP to firmware if vdev start response fails
in host.

Change-Id: I170265069d7e92b091397a63972575bfe7c9ef6d
CRs-Fixed: 2038379
2017-05-24 05:17:09 -07:00
Abhishek Singh
de410b77d3 qcacld-3.0: Use memory passed by caller in u_mac_post_ctrl_msg
Caller pass an allocated memory to u_mac_post_ctrl_msg, but memory
is again allocated in u_mac_post_ctrl_msg before passing it to message
queue.

This change remove this duplicate mem allocation and use the memory
passed by the caller.

Change-Id: I4d329c5883832bb6571d1e81f0d9b9a044ebb6d9
CRs-Fixed: 2050449
2017-05-24 05:17:08 -07:00
snandini
df56f6b563 Release 5.2.0.26Q
Release 5.2.0.26Q

Change-Id: I9c97203a5fc0c4b73d2ba586ffc3a31f793ed5c9
CRs-Fixed: 774533
2017-05-24 04:34:04 -07:00
Abhishek Singh
65d8b15b23 qcacld-3.0: Set DS params only for 2.4 Ghz channels
If QCA_WIFI_3_0_EMU DS params is set for all channels.

To fix set DS params only in 2.4 Ghz channels.

Change-Id: I859b56080f55428c27aacf3fea25223c8931c960
CRs-Fixed: 2045226
2017-05-24 04:34:03 -07:00
snandini
ad9ebe0b78 Release 5.2.0.26P
Release 5.2.0.26P

Change-Id: I2bd69f4c10e6192e34f4a470f65481c913ae3ca4
CRs-Fixed: 774533
2017-05-24 03:37:25 -07:00
Selvaraj, Sridhar
dc2ac8e2ef qcacld-3.0: mem alloc for variables instead of using stack
Currently, function variables in csr_send_join_req_msg and
csr_roam_connect uses stack and are consuming much of the stack
eventually reaching the stack end quickly.

To avoid stack consumption issue, mem alloc function variables
instead of using stack.

Change-Id: If6fecb7f7ca9a31fdda2ea12d40a110e6c238508
CRs-Fixed: 2045315
2017-05-24 03:37:24 -07:00
Hanumanth Reddy Pothula
aef3c7f03c qcacld-3.0: After disconnect, return valid RSSI value on getRSSI IOCTL
During wlan disconnect, after sending del bss indication to firmware,
host expects vdev stats indication from firmware to update rssi
value of current disconnect AP and to return same to upper-layer if
getRSSI is received after disconnect. But presently, due to invalid
condition check, Host failing update rssi value.

If VDEV is up and BSSID is zero, get RSSI from vdev stats indication
and update the same in HDD. So that driver can return valid rssi to
upper-layer, on receiving getRSSI indication after disconnect.
Change-Id: I0554e513535bc033ea3bfe5021b5f8ddc108ffbe
CRs-Fixed: 2047842
2017-05-24 03:37:21 -07:00
Yuanyuan Liu
81982b96cb qcacld-3.0: Add support of sending fw_log_mode to WLAN FW
Add support of sending fw_log_mode to WLAN FW for QCA6290. WLAN FW
will decide whether to push its debug log through DIAG or not based
on this value.

CRs-Fixed: 2046631
Change-Id: I6c4ec8dbd65f8fc034381770bdef7e145b1d2b6a
2017-05-24 03:37:18 -07:00
snandini
9711804b0a Release 5.2.0.26O
Release 5.2.0.26O

Change-Id: I1416f1f1b76539d89ec9b5f6c0be1517ba748d63
CRs-Fixed: 774533
2017-05-24 02:41:15 -07:00
Venkata Sharath Chandra Manchala
bcdfdb14f2 qcacld-3.0: Support for HTT Stats
1. Remove unused variable of type ol_txrx_stats_req
   passed through cdp_txrx_stats api to avoid
   compilation break.
2. Add dp_stats file to the Kbuild. This file is
   used to collect HTT Statistics for Lithium based
   chipsets.

Change-Id: I0252c996d47cc866291d25f35eb9bb9e19073a8b
CRs-Fixed: 2050798
2017-05-24 02:41:15 -07:00
snandini
c31e8a7435 Release 5.2.0.26N
Release 5.2.0.26N

Change-Id: I24e38ba29448e82ec65f174f6bb83246ef4bf7d6
CRs-Fixed: 774533
2017-05-23 23:24:52 -07:00
lifeng
907edd6246 qcacld-3.0: Export antenna diversity key parameters to userspace
qcacld-2.0 to qcacld-3.0 propagation

Export antenna diversity key parameters to userspace

Change-Id: I4241a990623b19d34c9ae5c76923b3d9d343183f
CRs-Fixed: 2020300
2017-05-23 23:24:52 -07:00
snandini
75cbaf11f0 Release 5.2.0.26M
Release 5.2.0.26M

Change-Id: I8515047a55725662da96fc9edc6c7e0d84ba1ad7
CRs-Fixed: 774533
2017-05-23 18:00:32 -07:00
Dustin Brown
f13b8c35e5 qcacld-3.0: Ensure adapter is up before ip change work
Currently, the host driver blindly configures ARP/NS offloads and other
work when it receives an IP address change notification from the kernel.
Ensure the specificed adapter is still up before processing IP address
change notification changes from the kernel to prevent extra work and
invalid access.

Change-Id: I087b72a9ffd735a0482d1c4ff9ad62cb8beb036b
CRs-Fixed: 2049976
2017-05-23 18:00:31 -07:00
snandini
83625088ff Release 5.2.0.26L
Release 5.2.0.26L

Change-Id: I289194e1d257c563063b1409534305a9d499c6b3
CRs-Fixed: 774533
2017-05-23 17:20:10 -07:00
Selvaraj, Sridhar
94be8ba8a9 qcacld-3.0: Properly update Power cap IE to FW for LFR3 roaming
Currently, driver updates FW assoc IE's to be used for LFR3 roaming
and is not checking the supported max tx power before updating the
same to FW resulting in different max tx power values in reasssoc
and assoc requests.

For Power cap IE, check and set the max tx power properly if halphy
provided max tx power exceeds the supported value, while updating
the same to FW for LFR3 roaming.

Change-Id: Idec518245963a92da8ee2ba8c509c7248a298901
CRs-Fixed: 2042674
2017-05-23 17:20:09 -07:00
Selvaraj, Sridhar
3810183ae2 qcacld-3.0: Avoid overwrite channel list in RSO command preparation
Currently, while sending RSO command, channel list is overwritten
with valid channel list from mac context even though it is already
properly updated from current channel list info (or) INI.

Avoid overwrite channel list in RSO command if it is already
updated properly.

Change-Id: Iee1875e378270530b29540b379d68b2b0fd7ac2d
CRs-Fixed: 2045067
2017-05-23 17:20:08 -07:00
Selvaraj, Sridhar
1c48756d78 qcacld-3.0: Reset roaming_in_progress flag after SSR
After SSR, scan request is dropped at HDD if roaming_in_progress
flag is set. roaming_in_progress is set when host receives ROAM_START
from fw and reset when as part of ROAM_SYNCH_COMPLETE event. If SSR
happens between these two events, roaming_in_progress is not reset
which leads scan request drop in HDD after SSR.

Reset roaming_in_progress flag after SSR

Change-Id: I25516c288034a1de23ebc5417a4b5bb483216ebc
CRs-Fixed: 2035411
2017-05-23 17:20:07 -07:00
snandini
c49be7c4ce Release 5.2.0.26K
Release 5.2.0.26K

Change-Id: Ib362dda45d13e2572ce8b0de9effbcc21a44625c
CRs-Fixed: 774533
2017-05-22 16:20:40 -07:00
Dustin Brown
9a9437f4ee qcacld-3.0: Adjust default EGAP ini values
Adjust the default EGAP ini values.

Change-Id: I53eecf0b09864c82396197511ec20a7ac0dc9a55
CRs-Fixed: 2048773
2017-05-22 16:20:40 -07:00
snandini
3794c40059 Release 5.2.0.26J
Release 5.2.0.26J

Change-Id: I5098792487118f9a72c1a6ce9503e7071f911989
CRs-Fixed: 774533
2017-05-21 23:55:49 -07:00
yeshwanth sriram guntuka
7f4cb34431 qcacld-3.0: Fix connect failure due to scan stuck
Peer sta kickout ind was received from fw nine times
which resulted in queuing nine scan commands as part
of csr_scan_request_lost_link1 without checking for
max allowed scans. The ninth scan cmd is not released
as fw did not send completion event resulting in
subsequent connect to fail.

Fix is to
1) check for max allowed scans before
queuing scan command.
2) check for lim sme state to avoid invoking tear
down link with ap multiple times on receiving
multiple peer sta kickout ind from fw.
3) don't invoke csr_scan_request_lost_link1 as part
of csr_roam_lost_link as supplicant will issue scan
after successful disconnection.

Change-Id: I850fd336fc73e4b2c2362dfd11db433b68ccd1fb
CRs-Fixed: 2031342
2017-05-21 23:55:48 -07:00
snandini
1e83ab9856 Release 5.2.0.26I
Release 5.2.0.26I

Change-Id: I26f624b14076743259bc2355960b66bf9d671258
CRs-Fixed: 774533
2017-05-19 23:58:27 -07:00
Sandeep Puligilla
f4810705cf qcacld-3.0: Don't process disassoc in disconnecting state
-If disconnection is in progress then don't process the
new disassoc frame.
-Limit the number of logs message related to disassoc
frame dropping.

Change-Id: Ia4d612ec67d4a6b80991a6e0e6393bc59ba76617
CRs-Fixed: 2035813
2017-05-19 23:58:26 -07:00
snandini
352ce8358e Release 5.2.0.26H
Release 5.2.0.26H

Change-Id: I7f795df345f7752ac1e6dda28f789915d0f3f37d
CRs-Fixed: 774533
2017-05-19 15:57:48 -07:00
Krunal Soni
b7f2043b99 qcacld-3.0: Handle bss color change IE coming from AP
If AP changes its color code for 11AX mode then it will announce
through bss color change IE. Connected STA needs to honor that IE
and update its internal table.
Along with color change IE, he ops can also be changed by AP.
STA needs to honor that as well.

CRs-Fixed: 2039284
Change-Id: I4f6767d0a6a814f56448dc6d647e045c852e2750
2017-05-19 15:57:47 -07:00
Peng Xu
6363ec64ef qcacld-3.0: Add support for 11AX BSS color change
Add support for handling BSS color collision and select new BSS
color. Update beacon template and set new BSS color to FW.

Change-Id: If441990916753bdcf4daaded031e16f0460a0e8f
CRs-Fixed: 2039284
2017-05-19 15:57:45 -07:00
Krishna Kumaar Natarajan
0baebf8813 qcacld-3.0: Add new IEs related to 11ax
Add new IEs related to 11ax. Following IEs are added as part of
this MU EDCA Parameter Set and BSS Color Change Announcement.

Change-Id: I5b31f026e3a9625a89bda027599493248fee760a
CRs-Fixed: 2039284
2017-05-19 15:57:43 -07:00
Dustin Brown
36e2e5ce73 qcacld-3.0: Use qdf_print_set_category_verbose()
qdf_trace_set_value() is depreciated. Use
qdf_print_set_category_verbose() instead.

Change-Id: I37a2af5c0e08bfd8e8c6e0ce0e503889e6e0c782
CRs-Fixed: 2048109
2017-05-19 15:57:39 -07:00
snandini
f46d772f5a Release 5.2.0.26G
Release 5.2.0.26G

Change-Id: Iad9a8b7dd22a46ff7f0e384ef3b58d4dca894b60
CRs-Fixed: 774533
2017-05-19 14:50:38 -07:00
Manjunathappa Prakash
bab70f024f qcacld-3.0: Reduce failure log level of OL_TX_SEND
Reduce the excessive failure logging of OL_TX_SEND. Make it as debug log
so that it will not hog the console. OL layer tx flow control stats will
catch the dropped packets.

Change-Id: I57feee9b4eeb7bf6c6c0c239c2a30041936fa758
CRs-Fixed: 2047953
2017-05-19 14:50:38 -07:00
snandini
ca05437d9a Release 5.2.0.26F
Release 5.2.0.26F

Change-Id: I595c714e2d71baa86a4594fa690e82a661b70062
CRs-Fixed: 774533
2017-05-19 13:51:49 -07:00
Selvaraj, Sridhar
4c7411ea7e qcacld-3.0: Update proper status for disable roam cmd
Currently, for disable roam from supplicant, if STA is in
not connected state, driver wont send any commands to FW
as it is unnecessary. However, for this case, driver updates
fail status to supplicant.

Update success status for disable roam cmd when STA is in
not connected state.

Change-Id: I076d1b5389868b5d136e5adce730f6b3ec41e6f8
CRs-Fixed: 2042596
2017-05-19 13:51:48 -07:00
Selvaraj, Sridhar
5b5a06598f qcacld-3.0: Update ignore_assoc_disallowed while creating PE session
For MBO[Multi-Band Operations], supplicant configures driver to ignore
assocition disallowed even if assoc disallowed attribute is present
in MBO IE of target BSS. Currently driver is updating this config
in PE session and fails if PE session doesnot exist at the instance.

Save ignore_assoc_disallowed config to mac context and update the same
to PE session while creating it.

Change-Id: I0379c756f6150533723ba4306f9780e345c3f61f
CRs-Fixed: 2042550
2017-05-19 13:51:46 -07:00
snandini
62ba9bf960 Release 5.2.0.26E
Release 5.2.0.26E

Change-Id: Ia30bae4d02fcd787169088bb63ac6fcc3d50010b
CRs-Fixed: 774533
2017-05-19 11:51:09 -07:00
Dhanashri Atre
f067b5887a qcacld-3.0: Hardware Header File Update for Napier (E6)
Compilation change to include the E6 hardware header files.

CRs-Fixed: 2033542
Change-Id: I8ef090873a9e41a7309dacade7bce635a303dc2c
2017-05-19 11:51:08 -07:00
snandini
324eaed6c3 Release 5.2.0.26D
Release 5.2.0.26D

Change-Id: Icb241b161d79c7d5d96eed87f3d0b196d2d203ac
CRs-Fixed: 774533
2017-05-19 11:06:35 -07:00
Naveen Rawat
8021e459e1 qcacld-3.0: Fix memory leak in restart bss path
Function sapconvert_to_csr_profile is allocating memory for
pRSNReqIE without checking if it is already populated. This
will leak memory if this function is getting called for sap
restart. Fix this by first freeing memory if already allocated.

Change-Id: I562b1dabb330057b4f1b934b0edad692330aab70
CRs-Fixed: 2046608
2017-05-19 11:06:34 -07:00
snandini
0c0ae02833 Release 5.2.0.26C
Release 5.2.0.26C

Change-Id: I4bf54618ea918375886d6734390a0a8d11399405
CRs-Fixed: 774533
2017-05-19 06:32:04 -07:00
Naveen Rawat
2b6e3c9d51 qcacld-3.0: ini param support for disconnect threshold
This is qcacld-2.0 to qcacld-3.0 propagation.

This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.

Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
2017-05-19 06:32:03 -07:00
snandini
989ea669cb Release 5.2.0.26B
Release 5.2.0.26B

Change-Id: I55681e2f687e1170e6df3fafe52a58ea7b68090a
CRs-Fixed: 774533
2017-05-19 05:27:29 -07:00
Nitesh Shah
50a3de1447 qcacld-3.0: Add ini item used in DBS Scan selection policy
Add ini item gdbs_scan_selection for DBS Scan selection policy.

Change-Id: If71df05afac7139d4ceccd190e8196c7476445b5
CRs-Fixed: 2028112
2017-05-19 05:27:29 -07:00
Krunal Soni
d3676732ef qcacld-3.0: Remove serialization from set key req and rsp messages
Serialization is not required to deliver the set key request coming
from upper layer as well as set key response coming from lower layer.

Take the set key request coming through IOCTL thread, and directly
post the request to protocol layer. Similarly take the set key response
coming through worker thread, and post the request to protocol layer.

Change-Id: Idcd0047f6e323d982e3159f7ef376e6eeb201395
CRs-Fixed: 2046036
2017-05-19 05:27:27 -07:00
Abhishek Singh
d7bc91391a qcacld-3.0: Fix PMF regression for SAP
In PMF SAP case iface->rmfEnabled is not set and thus even
unprotected frames are received by driver and processed.

To fix this set iface->rmfEnabled while adding station.

Change-Id: I3cbe5d7d64ee0d38f64f9cf256ce338163edd302
CRs-Fixed: 2048364
2017-05-19 05:27:25 -07:00
Dustin Brown
edce4a571e qcacld-3.0: Fix WoW Pattern mem leak on unload
WoW patterns are maintained in an internal cache that is not cleaned
when the WLAN module is unloaded. Free the WoW pattern cache as part
of the WLAN module unload.

Change-Id: I1ebd1876555d01551542f7029f53a72af6773dbc
CRs-Fixed: 2044774
2017-05-19 05:27:23 -07:00
snandini
8e354f029d Release 5.2.0.26A
Release 5.2.0.26A

Change-Id: I76b3d75b06f0251d0ee095f976195c8bb1e3fcc4
CRs-Fixed: 774533
2017-05-18 13:42:33 -07:00
Yue Ma
6dbbb183a9 qcacld-3.0: Add PLD APIs to support athdiag read/write
Add PLD APIs to support athdiag read/write though QMI messages.

Change-Id: I4887065fa390c7e3374a7297103bd93d3d35c429
CRs-fixed: 2043584
2017-05-18 13:42:32 -07:00
Amar Singhal
6f8592b71c qcacld-3.0: Propagate dynamic channel list
When channel list changes dynamically; it needs to be
propagated to kernel and firmware. Do the propagation in
the callback registered by hdd.

Change-Id: I2c9fb92a9abf1c26a8c57ee8be65bd5556bb84a1
CRs-Fixed: 2012415
2017-05-18 13:42:31 -07:00