Wykres commitów

3447 Commity

Autor SHA1 Wiadomość Data
Nitesh Shah
a5ba4e1445 qcacld-3.0: Call cdp_update_mac_id after hw_mode change in fw
When MAC0 is in 2.4G and new connection is coming in 5G, then MAC0
connection is shifted to MAC1, and new connection comes in MAC0.
But in this process, cdp_update_mac_id() is not called while
shifting from MAC0 to MAC1.

Fix is to call cdp_update_mac_id() after hw_mode change occurs
in the firmware, thus updating mac_id and corresponding vdev_id for
the interface whose mac_id or vdev_id get shifted.

Change-Id: I294c26f7d5054e42cdc116e8ae878954904056b5
CRs-Fixed: 1109511
2017-01-21 04:18:54 -08:00
qcabuildsw
159c0d5391 Release 5.2.0.6Q
Release 5.2.0.6Q

Change-Id: I339691477bb7d9994dfddfec38a8d8dd531a5a7c
CRs-Fixed: 688141
2017-01-20 23:47:45 -08:00
Nishank Aggarwal
2f55b3747b qcacld-3.0: Avoid calling skb_put twice
The change in commit If578d66eada17784eef7daafa7351df95fc74f5a
is removing skb_put from switch case which missed during
propagation. Currently in function “wlan_hdd_send_svc_nlink_msg”
skb_put is calling twice in single code flow is leading to skb_tail
overflow crash.

Fix is to remove skb_put in switch case.

Change-Id: Icea19d92b5f7625d6a39f734bbb2fa01fa1ce2cf
CRs-Fixed: 1112350
2017-01-20 23:47:44 -08:00
qcabuildsw
3a58786135 Release 5.2.0.6P
Release 5.2.0.6P

Change-Id: Ia521386b19ef9780327cb965025b507eadedfa83
CRs-Fixed: 688141
2017-01-20 20:37:24 -08:00
Himanshu Agarwal
bb226bc822 qcacld-3.0: Use local variable to avoid race condition in packetdump
Race condiiton is observed as deregistration of 32 tx/rx packetdump
feature and packetdump callback call is happening at the same time
causing NULL pointer dereference.

Use local variable to store packetdump callback to avoid this race
condition.

Change-Id: Id4246d85e3816c0a3b8d0d0c1ef21e5ff053b608
CRs-Fixed: 1112126
2017-01-20 20:37:23 -08:00
qcabuildsw
9dada4165c Release 5.2.0.6O
Release 5.2.0.6O

Change-Id: I1cb660ee6c7459fae61a1c4b1a14620252b0bcbe
CRs-Fixed: 688141
2017-01-20 18:45:51 -08:00
Nitesh Shah
82c5281393 qcacld-3.0: Logging enhancements for TDLS feature
Add logging enhancements for TDLS feature.

Change-Id: I972fedb60384b9eac87342238d7addd9f5d61290
CRs-Fixed: 1105462
2017-01-20 18:45:50 -08:00
qcabuildsw
2aab7ee99c Release 5.2.0.6N
Release 5.2.0.6N

Change-Id: Id47259105c2746d31304e72f685348c3f996687d
CRs-Fixed: 688141
2017-01-20 18:10:20 -08:00
Nitesh Shah
f8ed55e27f qcacld-3.0: Cleanup stale TDLS functions
Remove stale TDLS functions.

Change-Id: Ibf345baf36f5faeba44eca292895c7bb35015ec0
CRs-Fixed: 1105485
2017-01-20 18:10:18 -08:00
qcabuildsw
86615da5ef Release 5.2.0.6M
Release 5.2.0.6M

Change-Id: Ibab2c20dfb7328778abb4089a577ec1bbb07c919
CRs-Fixed: 688141
2017-01-20 17:41:24 -08:00
Nitesh Shah
9ed1a9f8de qcacld-3.0: TDLS to queue scan req with source during scan reject
When TDLS module reject scan, it will queue the scan request but
does not store the source information, and pass NL_80211 as the
scan source. Thus, if the scan is started by vendor command, still
the scan done callback is given to cfg80211.

Fix is to store the scan source information and queue the scan
request along with scan source information.

Change-Id: Id438f29de0176b1ac73603a1fe0a1a6e231c5278
CRs-Fixed: 1107919
2017-01-20 17:41:22 -08:00
qcabuildsw
cea2897ead Release 5.2.0.6L
Release 5.2.0.6L

Change-Id: Ib8aee5b3ac2ab0ef7f92d7937baa650256750fbb
CRs-Fixed: 688141
2017-01-20 17:13:13 -08:00
Nitesh Shah
57752487c0 qcacld-3.0: Teardown TDLS peer when p2p scan is started
When TDLS is in progress and p2p scan is started, then
TDLS peer is not removed, but TDLS is disabled.Thus,
wlan_hdd_tdls_scan_callback() will reject the scan.

The fix is to remove TDLS peer while disabling TDLS when
p2p scan is started.

Change-Id: Ib457243258eaab4ba1af22993f689aab02c3b3d9
CRs-Fixed: 1106995
2017-01-20 17:13:12 -08:00
qcabuildsw
2849a4d949 Release 5.2.0.6K
Release 5.2.0.6K

Change-Id: Ib08a9549a49e0771ea9f0372e3c6bcf71468435f
CRs-Fixed: 688141
2017-01-20 16:46:41 -08:00
Jeff Johnson
6f9aa5691b qcacld-3.0: Add WAR for ol_txrx.c -Wmissing-prototypes
Currently ol_txrx.c generates warnings when compiled with the GCC
-Wmissing-prototypes switch because it does not include a header file
which exports a prototype for the following functions:
	ol_txrx_set_curchan()
	ol_txrx_get_vdev_struct_mac_addr()
	ol_txrx_get_pdev_from_vdev()
	ol_txrx_print_level_set()
	ol_txrx_fw_stats_cfg()
	ol_txrx_aggr_cfg()

What is interesting about these functions is that they currently are
unused. An "issue report" has been opened for each of these functions
so that the proper disposition can be determined by the Data Path
team. As a WAR so that the -Wmissing-prototypes switch can be enabled
until such time as the issues are correctly resolved, enclose each
function in conditional compilation which will exclude the functions
from the build.

Change-Id: I6220c5ff2c6c3cd40ad33d13bc5c504c75c52018
CRs-Fixed: 1113082
2017-01-20 16:46:40 -08:00
Jeff Johnson
bd6ebd2a05 qcacld-3.0: Add WAR for ol_rx_err -Wmissing-prototypes
Currently wma_data.c generates a warning when compiled with the GCC
-Wmissing-prototypes switch because it does not include a header file
which exports a prototype for ol_rx_err(). The definition and
placement of this API is strange, and an "issue report" has been
opened to correctly address this issue.  As a WAR until the issue is
correctly resolved, define the prototype internal to wma_data.c itself
so that the -Wmissing-prototypes switch can be enabled.

Change-Id: Ibd519b802b75c7110fe96d9ccd96ab1f9ba785d0
CRs-Fixed: 1113083
2017-01-20 16:46:38 -08:00
Jeff Johnson
2338e1aac5 qcacld-3.0: Properly export ol_txrx.c APIs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in ol_txrx.c which is generating warnings
because not all public APIs have prototypes defined. Define the
missing prototypes for all public functions, and make static all
functions which are only referenced internally to ol_txrx.c.

Change-Id: I0acb51d0d9b5f76ef9754ab9cdc0b9fa8fa70097
CRs-Fixed: 1113061
2017-01-20 16:46:36 -08:00
Jeff Johnson
02c37b463b qcacld-3.0: Add WAR for ol_txrx_soc_attach -Wmissing-prototypes
Currently ol_txrx.c generates warnings when compiled with the GCC
-Wmissing-prototypes switch because it does not include a header file
which exports a prototype for ol_txrx_soc_attach(). Currently the "dp
soc attach" APIs are defined in a strange manner, and there is not a
prototype which dp_main.c can include. So as a WAR define the
prototype internal to ol_txrx.c itself.

Of course the whole point of -Wmissing-prototypes is to prevent
mismatches between callers of an interface and the implementation of
an interface, and this WAR explicitly bypasses that protection. This
WAR should be superceded in the future by a proper registration
mechanism where the architecture-specific DP implementation attaches
to the Converged Data Path (CDP).

Change-Id: I5d090a6cd54be7808ffb9f542c135edcfe9d0b42
CRs-Fixed: 1110919
2017-01-20 16:46:34 -08:00
qcabuildsw
61c34fe689 Release 5.2.0.6J
Release 5.2.0.6J

Change-Id: Ia5fc941e6005ba395c5d938fa552567b4a53a236
CRs-Fixed: 688141
2017-01-20 01:43:09 -08:00
Selvaraj, Sridhar
d761f25331 qcacld-3.0: Add ref/unref peer calls to be in sync with the peer ref design
Currently, ref/unref peer calls are not in align with the object manager
reference count design.
1 - invoke ref peer on peer create
2 - do unref peer on find peer
3 - do unref peer on peer delete

Add ref/unref peer calls to be in sync with current peer ref count design

Change-Id: Ifc0e6cf95e0a1acb62dbf7858c57044baedf51c6
CRs-Fixed: 1113468
2017-01-20 01:43:08 -08:00
qcabuildsw
f426bdc6b0 Release 5.2.0.6I
Release 5.2.0.6I

Change-Id: Ifa2c7f5a233794626afdee99b1ea046487bcb7f4
CRs-Fixed: 688141
2017-01-19 20:20:11 -08:00
Krishna Kumaar Natarajan
f6c9630097 qcacld-3.0: Send probe response template before VDEV up
Send probe response template before VDEV up. Currently probe response
template is being sent after VDEV up which is resulting in probe
response offload handler to be not registered correctly.

Change-Id: I00b4043aa7ed63a15e83a3762c242c300d310ebf
CRs-Fixed: 1107174
2017-01-19 20:15:19 -08:00
qcabuildsw
28ebcce74e Release 5.2.0.6H
Release 5.2.0.6H

Change-Id: I23b4391082427e13c56d03ee7005e76de8d9c770
CRs-Fixed: 688141
2017-01-19 14:11:26 -08:00
Dustin Brown
2ed603650b qcacld-3.0: Fix bandwidth timer restart condition
A previous change introduced a regression that prevents the bandwidth
timer from restarting correctly. Fix said regression by inverting the
conditional at the end of the timer callback.

Change-Id: I84db7df6af55dccd447ba04a32aeada27e7a6f3b
CRs-Fixed: 1112498
2017-01-19 14:11:25 -08:00
Dustin Brown
fce08d1a4a qcacld-3.0: Fix race condition for bandwidth timer start/restart
The MC thread uses a timer to measure bandwidth usage in station and
soft AP modes. This timer restarts itself periodically, which can
race with the MC thread during a stop/start cycle. Fix this race
condition by introducing a spinlock that protects the timer during
start and restart.

Change-Id: I0e86687d28fb07a0a41c9475b89f5f170e72bf77
CRs-Fixed: 1112498
2017-01-19 14:11:23 -08:00
qcabuildsw
371750573f Release 5.2.0.6G
Release 5.2.0.6G

Change-Id: Ia8ebfe279f96961faf9db05416ba579688b6a8aa
CRs-Fixed: 688141
2017-01-19 13:41:55 -08:00
Naveen Rawat
67d60b3827 qcacld-3.0: Update mgmt_param.pdata when frame is re-allocated
In function wma_tx_packet, update mgmt_param.pdata when frame's nbug  is
re-allocated to accommodate MMIE or CCMP header.

Change-Id: Ib83457ee52f8c9b52eb9d8b4bc472ed48689ede3
CRs-Fixed: 1109668
2017-01-19 13:41:54 -08:00
qcabuildsw
2370588d37 Release 5.2.0.6F
Release 5.2.0.6F

Change-Id: I55ac8f511115cb5e58ca8110ab237e10616115fb
CRs-Fixed: 688141
2017-01-19 12:10:23 -08:00
Krishna Kumaar Natarajan
48a6b4cfcd qcacld-3.0: Add support to handle block ack action frames
Add support to handle block ack(BA) action frames. Due to change in
architecture, reception of ADDBA request and DELBA request ack action frames
are now handled in the host and transmission of ADDBA response is also done
by the host driver.

Change-Id: I9bbc26da19fbea051eda950443d2cbc459b865b9
CRs-Fixed: 1112700
2017-01-19 12:10:22 -08:00
qcabuildsw
1029b63e30 Release 5.2.0.6E
Release 5.2.0.6E

Change-Id: I5f343f2d341e99220f79164f6438b721e1f515c2
CRs-Fixed: 688141
2017-01-19 02:42:09 -08:00
Abhishek Singh
562aad6cf8 qcacld-3.0: Enhance 5/10 MHz feature logging
Add logs to enhance 5/10 MHz feature logging

Change-Id: Ied2489185721e3c547ee392a9c46b5a3d733ad74
CRs-Fixed: 1108818
2017-01-19 02:42:07 -08:00
Abhishek Singh
44d3e486c7 qcacld-3.0: Reset uOsRequestedHandoff when reassoc fails
qcacld-2.0 to qcacld-3.0 propagation

uOsRequestedHandoff is not reset in many scenarios after reassoc
fails/timeout. Due to this if the next connect request initiate
scan for ssid to find the AP in local cache, the scan for ssid
complete handler think that OS requested handoff is in progress
and returns without initiating the connect or connect failure.
Thus the HDD remains in connecting state and after that scans
fails.

To fix this reset uOsRequestedHandoff whenever reassoc fails

Change-Id: Ife9ee885cc1638f2bc4e02fd91b000c6e00f0689
CRs-Fixed: 1101706
2017-01-19 02:42:04 -08:00
Abhishek Singh
49b654e9a9 qcacld-3.0: Add INI and IOCTL template for IBSS feature
Add INI and IOCTL template for IBSS feature for documentation.

Change-Id: Iaefaa697f1cfa4b2f5c9acc77f307160df591dd3
CRs-Fixed: 1097316
2017-01-19 02:42:02 -08:00
Abhishek Singh
b5e38ef48a qcacld-3.0: Use cfg80211_roamed_bss API to indicate the roaming
qcacld-2.0 to qcacld-3.0 propagation

After disconnect request, the driver sends disconnect
indication to the kernel and it schedules a workqueue to
process this disconnect event. Now if this workqueue is
delayed and connect request is received before its
scheduled, the disconnect event workqueue reset the
ssid_len of the wdev.

Now as the ssid_len does not match with bss ssid length the
get bss returns NULL and thus roam indication is not sent
to supplicant.

To fix this use cfg80211_roamed_bss to indicate the roaming
and use the ssid and ssid len from driver to get the bss.

Change-Id: I5b88ce41951cb61582ee801be124ca0b5b6b825b
CRs-Fixed: 1098150
2017-01-19 02:42:00 -08:00
Abhishek Singh
3c50701eeb qcacld-3.0: Add IOCTL template for ECSA feature
Add IOCTL template for ECSA feature for documentation.

Change-Id: I89fd08382a62c13c635c7b50cabcafee33790561
CRs-Fixed: 1097315
2017-01-19 02:41:58 -08:00
Abhishek Singh
2f8104969f qcacld-3.0: Add IOCTL and INI template for PMF/11w feature
Add IOCTL and INI template for PMF/11w feature for documentation.

Change-Id: I91383117ec7dd5f80e71fa6c84293e97b9511596
CRs-Fixed: 1097317
2017-01-19 02:41:56 -08:00
Abhishek Singh
76587c3b70 qcacld-3.0: Add INI template for 5/10 Mhz bandwidth feature
Add INI template for 5/10 Mhz bandwidth feature for documentation.

Change-Id: I1fa460acfdd01a5ea8439d857358efb47d5755c4
CRs-Fixed: 1097318
2017-01-19 02:41:54 -08:00
Abhishek Singh
0bc46d1881 qcacld-3.0: Avoid decrementing no of connected peer twice on failure
In case rate set of the peer in assoc req doesn't match the number
of connected peers is decremented and sta is deleted. Now as part
of send del sta again the number of connected peers is decremented.
This sets the number of peer connected to 255 when last peer departs.
And thus new peer always fails to join as the no of connected peer
is always more than the allowed limit.

In this case the sta is not yet added and thus there is no need
to call del sta.

To fix this set delete_sta false while calling lim_reject_association
and thus avoid calling del sta. Also clean up the sta_ds from
hash table.

Change-Id: Ia7d837cfbbf9ddc15230aaeeca1a72acf48ac232
CRs-Fixed: 1108820
2017-01-19 02:41:52 -08:00
Abhishek Singh
3c9910e266 qcacld-3.0: Prioritize the bssid_hint and if fails try with other BSS
qcacld-2.0 to qcacld-3.0 propagation

If connect request has bssid_hint the behaviour is same as
when connect request has bssid present. So driver only try
to connect to BSSID present in the bssid_hint.

With this change if bssid_hint is provided in connect request
driver will prioritize connection to the BSSID provided and if it
fails to connect to bssid_hint, driver will try to connect to
other APs with same profile.

Change-Id: Ie7fd29cdfb2013aca1d4944272da6b3c29a16ab3
CRs-Fixed: 1107816
2017-01-19 02:41:50 -08:00
qcabuildsw
73bc2bbd6c Release 5.2.0.6D
Release 5.2.0.6D

Change-Id: I57baa5b55886c49657d30d240d8aacd2f020a3b2
CRs-Fixed: 688141
2017-01-18 20:05:46 -08:00
Venkata Sharath Chandra Manchala
5d714d821c qcacld-3.0: Added CONFIG_LITHIUM check for Hal and DP files
Added CONFIG_LITHIUM checks to selectively compile Hal and DP
files only for lithium based chipsets. Also added
QCA_WIFI_QCA6290 define for conditional compilation in
ce_main.c

Change-Id: I9e9aac0070aaf4b8292e9f3a6b0ceb8738d0e696
CRs-Fixed: 1103135
2017-01-18 20:05:45 -08:00
Dhanashri Atre
06c7e365f0 qcacld-3.0: Change due to R102 hardware headers for QCA6290
Changes needed for compiling Napier with the new header files.

Change-Id: I8089c66a3485de04ac4134c10bd5874f2491cc44
CRs-Fixed: 1105853
2017-01-18 20:05:43 -08:00
Debashis Dutt
237c6149c9 qcacld-3.0: Add .c files for REO CMD/STATUS ring processing
Add dp_reo.c & hal_reo.c for REO CMD/STATUS ring processing
dp_reo.c implements the logic & hal_reo.c implements the
HW abstractions.

Change-Id: I1150b66d3505101645430a1e64403a20716d1d59
CRs-Fixed: 1103135
2017-01-18 20:05:41 -08:00
qcabuildsw
c9f477016a Release 5.2.0.6C
Release 5.2.0.6C

Change-Id: I672f3d42c584e97703f9c1e9bc2e393779954f93
CRs-Fixed: 688141
2017-01-18 19:25:16 -08:00
Krishna Kumaar Natarajan
5554cec78d qcacld-3.0: Fix peer_state transition in IBSS network
Fix peer_state transition in case of IBSS network. Currently
when IBSS peer is created, it is updated to Authenticated state
even before set key is complete. This is putting hardware into
bad state.

Add check in hdd_hard_start_xmit to check if peer is in authenticated
state before transmitting any packet.

Change-Id: Id89fac911cd757e2df368bb7e15a3cf476b2d90f
CRs-Fixed: 1111977
2017-01-18 19:25:14 -08:00
qcabuildsw
abc0b49149 Release 5.2.0.6B
Release 5.2.0.6B

Change-Id: Icdae46ec77772b35de8dd541e60beb3a74aeeef7
CRs-Fixed: 688141
2017-01-18 18:48:57 -08:00
Rajeev Kumar
8e24513cfb Revert "qcacld-3.0: Add NULL check in hdd shutdown API"
Commit I979fd09fadb347585ae5a044277d3855d76f94ca introduced
invalid null pointer check for HIF handle because of which
WLAN shutdown is failing, hence revert this change.

Change-Id: Ibd5a3c23f18f316386b2fbd5cf38926bad4de5d7
CRs-Fixed: 1112571
2017-01-18 18:48:55 -08:00
qcabuildsw
1850426c10 Release 5.2.0.6A
Release 5.2.0.6A

Change-Id: I84fc907031f5995965e817c76b939e8970e2c68c
CRs-Fixed: 688141
2017-01-18 17:43:06 -08:00
Arif Hussain
5f0e109c7d qcacld-3.0: Fix max tx power allowed in link measurement response
Change Max Tx Power from 30 to 22 dbm and report tx power based this max
power.

Change-Id: I90aa4b9b3036534acc17343c1d99782d6177da12
CRs-Fixed: 1111079
2017-01-18 17:43:04 -08:00
qcabuildsw
7bc7fef34c Release 5.2.0.6
Release 5.2.0.6

Change-Id: Iffb2ebc1ef4cebf50684be89f2e6847364040d7b
CRs-Fixed: 688141
2017-01-18 17:07:03 -08:00