Commit Graph

5400 Commits

Author SHA1 Message Date
Ashish Kumar Dhanotiya
bfe639fc93 qcacld-3.0: Buffer overflow while parsing setrmcrate command
There is a buffer overflow while using sscanf.
To resolve this, use sscanf according to buffer length.

Change-Id: Ida2444b42ef6b73ea6f55735166df941158a6e50
CRs-Fixed: 2059779
2017-06-16 00:41:34 -07:00
snandini
6b4e49fe1f Release 5.2.0.29Z
Release 5.2.0.29Z

Change-Id: Iaf055f25044807bf596f4a0ebe7a2b7a864aeb77
CRs-Fixed: 774533
2017-06-15 17:18:50 -07:00
Arif Hussain
7631afa88d qcacld-3.0: Refactor code use to search vdev using MAC address
In LIM, move functionality to find session for a given MAC address in
separate function so that this code can be reused by other functions
if needed.

In HDD, remove logic added to find adaptor for a given MAC, instead use
existing function hdd_get_adapter_by_macaddr.

Change-Id: I989f09ffcbee3a717c22c267a01dafd1b404da64
CRs-Fixed: 2004223
2017-06-15 17:18:49 -07:00
snandini
45912ad723 Release 5.2.0.29Y
Release 5.2.0.29Y

Change-Id: Ia65e184378f89ebaa3b6ee5533de277b546b075f
CRs-Fixed: 774533
2017-06-15 12:56:03 -07:00
Kiran Kumar Lokere
26d0548b73 qcacld-3.0: Disable MU beamformee in master mode operation
Do not advertise MU beamformee capability in SAP, P2P GO and IBSS
operating modes.

Change-Id: Iee6ecaaddef374c9954c5144107bcce9da48c001
CRs-Fixed: 2048653
2017-06-15 12:56:03 -07:00
snandini
f44b062804 Release 5.2.0.29X
Release 5.2.0.29X

Change-Id: Icc6f5c45f68c68342ce634d5e8a1c463968ae6e9
CRs-Fixed: 774533
2017-06-14 23:21:37 -07:00
Nitesh Shah
e410b80979 qcacld-3.0: Release mutex properly when TDLS peer not found
Mutex is not released properly in the loop when the TDLS
peer is not found in the function wlan_hdd_tdls_disable_
offchan_and_teardown_links(), that can cause crash.

This change releases the mutex properly in the function
wlan_hdd_tdls_disable_offchan_and_teardown_links() when
TDLS peer is not found, and going for the next loop.

Change-Id: Ia226c71e91e0e5995dd86557e0135508f32d8bef
CRs-Fixed: 2058784
2017-06-14 23:21:36 -07:00
snandini
28b297c547 Release 5.2.0.29W
Release 5.2.0.29W

Change-Id: I4704dcd03af3f18f1d528c98b2d3d6699b5fb7e0
CRs-Fixed: 774533
2017-06-14 19:26:43 -07:00
Manikandan Mohan
3dad1a4869 qcacld-3.0: Fix mem leak in SAP SSR
Fix a memory leak observed if SAP restart fails after SSR.

Change-Id: I868b20972e4b78b6f6c89a26fc41ad10161c239c
CRs-fixed: 2060614
2017-06-14 19:26:43 -07:00
Dustin Brown
ab482ac2b4 qcacld-3.0: Print build timestamp with driver version
As part of driver init, the version string gets printed. To help in
debugging, also print a timestamp from when the driver was compiled.

Change-Id: Icf064af6a0d84434d239b54603092bf2276df596
CRs-Fixed: 2059303
2017-06-14 19:26:41 -07:00
snandini
f2600fb70b Release 5.2.0.29V
Release 5.2.0.29V

Change-Id: I686cf60817891811990c089ab120f37e2d644881
CRs-Fixed: 774533
2017-06-14 15:53:46 -07:00
Sandeep Puligilla
f587adff92 qcacld-3.0: Serialize IPA stats command in low priority queue
Currently IPA stats command request gets scheduled at every
100ms and posts message to WMA queue which can cause MC
thread to prioritize these request messages over other
messages in pe queue. This can cause delayed processing of
association related messages in pe queue in noisy environement.

To avoid this serialize IPA stats cmd to lower priority SME queue.

Change-Id: I1f8257b869dacd65a61e52e34f001ee24c108c4a
CRs-Fixed: 2040579
2017-06-14 15:53:45 -07:00
Dustin Brown
ceed67eebf qcacld-3.0: Hold wake lock for connection attempt
Hold a short wake lock when a connection attempt is made to help ensure
the device does not power collapse in the middle.

Change-Id: Ia9e20df5481340224fa4c272b58152eec27790a9
CRs-Fixed: 2053126
2017-06-14 15:53:44 -07:00
snandini
3c5b58c412 Release 5.2.0.29U
Release 5.2.0.29U

Change-Id: I3f451281f47587a540f51ec5dc1b00bef03e50ad
CRs-Fixed: 774533
2017-06-14 13:01:19 -07:00
Dustin Brown
498b11a4a1 qcacld-3.0: Specify policy for txpower_scale_decr_db
__wlan_hdd_cfg80211_txpower_scale_decr_db() calls nla_parse without
specifying a policy. Specify an nla policy with the expected attribute
information when calling nla_parse in
__wlan_hdd_cfg80211_txpower_scale_decr_db().

Change-Id: I219190726ccb19cb8849177888bca859da1c76db
CRs-Fixed: 2054752
2017-06-14 13:01:18 -07:00
snandini
f2dbc2e5eb Release 5.2.0.29T
Release 5.2.0.29T

Change-Id: Ic0488423bc9d5f3a33048e0f910a99becfa8a82d
CRs-Fixed: 774533
2017-06-14 11:56:37 -07:00
lifeng
e9245fcedb qcacld-3.0: Update the supported rates when channel switching
qcacld-2.0 to qcacld-3.0 propagation

Fix the regression issue introduced by
commit 329c3375edfcf5c434ed57fdec5dd27229611d8a.
The supported rates are populated by hostapd per the pre-defined
hw_mode in conf file.
Obviously the supported rates won't update althought cross-band
switching from 2G to 5G, then the sap will reject any sta who
intends to join the bss.

The Fix now is to populate the intersection of rates generated by
hostapd and driver itself.

Change-Id: Ica336398865a8b5e16297e4555dbb7de5e79567e
CRs-fixed: 1109564
2017-06-14 11:56:36 -07:00
snandini
be6f24ed87 Release 5.2.0.29S
Release 5.2.0.29S

Change-Id: Ifb8b1c4467b9e7fc5cc6bb0a3a8f955e92e19c04
CRs-Fixed: 774533
2017-06-14 08:25:25 -07:00
Yun Park
641304c513 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_internal.h
Fix Datapath kernel checkpatch warnings in ol_txrx_internal.h

Change-Id: I4be2823e6179322bcbf26f1c2f1120a238434c06
CRs-Fixed: 2032874
2017-06-14 08:25:24 -07:00
Yun Park
4a2be57d53 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_types.h
Fix Datapath kernel checkpatch warnings in ol_txrx_types.h

Change-Id: Ia18c899500f5162ad4a6e283db161350d5faea16
CRs-Fixed: 2032874
2017-06-14 08:25:23 -07:00
Yun Park
eaea863f3f qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx.c
Fix Datapath kernel checkpatch warnings in ol_txrx.c

Change-Id: I9a11c8a61524e91d9df6357cf0994b261dcc3d04
CRs-Fixed: 2032874
2017-06-14 08:25:21 -07:00
Yun Park
ba9b617e9c qcacld-3.0: Fix Datapath kernel checkpatch warnings in ipv6_defs.h
Fix Datapath kernel checkpatch warnings in ipv6_defs.h

Change-Id: Id64667f9b7d80104187f715a8ede6095ee69ef88
CRs-Fixed: 2032874
2017-06-14 08:25:19 -07:00
Yun Park
0b3741c555 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_fwd.h
Fix Datapath kernel checkpatch warnings in ol_rx_fwd.h

Change-Id: I50e2a892ae70143a393bdefe409d9bfbc2d48e79
CRs-Fixed: 2032874
2017-06-14 08:25:17 -07:00
Yun Park
f9677156d7 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_send.c
Fix Datapath kernel checkpatch warnings in ol_tx_send.c

Change-Id: I94b3e093eac8d51524a689151028ef296cc4da82
CRs-Fixed: 2032874
2017-06-14 08:25:15 -07:00
Yun Park
34adb051ad qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx.h
Fix Datapath kernel checkpatch warnings in ol_rx.h

Change-Id: I3a83d4ed95a004fee57af674c385c8eb2d519d23
CRs-Fixed: 2032874
2017-06-14 08:25:13 -07:00
Yun Park
a13ef65af1 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder.h
Fix Datapath kernel checkpatch warnings in ol_rx_reorder.h

Change-Id: I0a7b214a2a81c3f8d4db7efa8c47d8ab97878db6
CRs-Fixed: 2032874
2017-06-14 08:25:12 -07:00
Yun Park
02355f4da8 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx.c
Fix Datapath kernel checkpatch warnings in ol_rx.c

Change-Id: I75477a2ed36394fd0d1cbdc6b6cbbd96e044a9b3
CRs-Fixed: 2032874
2017-06-14 08:25:10 -07:00
Yun Park
512f3a145d qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.c
Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.c

Change-Id: Ie0416390bfd4c1f6a50c70747a9fc5b87daa7959
CRs-Fixed: 2032874
2017-06-14 08:25:09 -07:00
Yun Park
863014df56 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx.h
Fix Datapath kernel checkpatch warnings in ol_txrx.h

Change-Id: I8123dc787b9e26882fbe01aada3b9dcc698d86ed
CRs-Fixed: 2032874
2017-06-14 08:25:06 -07:00
Yun Park
a7217756a3 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.h
Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.h

Change-Id: Ia21408c855a8cc729a9075b36eed4ce753f8cece
CRs-Fixed: 2032874
2017-06-14 08:25:05 -07:00
Yun Park
28e92985a9 qcacld-3.0: Fix Datapath kernel checkpatch warnings in wdi_event_api.h
Fix Datapath kernel checkpatch warnings in wdi_event_api.h

Change-Id: Iec1119b62d0aa9efbc55121b84afc7e93ad98ee1
CRs-Fixed: 2032874
2017-06-14 08:25:03 -07:00
Yun Park
577335799a qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_queue.c
Fix Datapath kernel checkpatch warnings in ol_tx_queue.c

Change-Id: Icc186d67922d810b84ca11049a6282ad952c5da8
CRs-Fixed: 2032874
2017-06-14 08:25:02 -07:00
Yun Park
1239b22f93 qcacld-3.0: Fix Datapath kernel checkpatch warnings in txrx.h
Fix Datapath kernel checkpatch warnings in txrx.h

Change-Id: Ia58e1014120fcdf314927d0d3680ca27d16621f3
CRs-Fixed: 2032874
2017-06-14 08:25:00 -07:00
Yun Park
196641d7b9 qcacld-3.0: Fix Datapath kernel checkpatch warnings in wdi_event.h
Fix Datapath kernel checkpatch warnings in wdi_event.h

Change-Id: I15295af3c6711b5b477739ec5741ba2b4e36b6d3
CRs-Fixed: 2032874
2017-06-14 08:24:59 -07:00
Yun Park
cb0bb18ba3 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_desc.h
Fix Datapath kernel checkpatch warnings in ol_tx_desc.h

Change-Id: I00647231116da840dd3e49e54fee6c1c5826982d
CRs-Fixed: 2032874
2017-06-14 08:24:57 -07:00
Yun Park
d79331a15f qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_queue.h
Fix Datapath kernel checkpatch warnings in ol_tx_queue.h

Change-Id: I2b44744e7021b877554dd08d9f5a01e611ff457d
CRs-Fixed: 2032874
2017-06-14 08:24:55 -07:00
Yun Park
89f62d6c3a qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_encap.c
Fix Datapath kernel checkpatch warnings in ol_txrx_encap.c

Change-Id: Ib1af9f38ab4fb13fa11b1fcc8c21d1b6bb8a614d
CRs-Fixed: 2032874
2017-06-14 08:24:54 -07:00
Yun Park
b539ea38bf qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_pn.c
Fix Datapath kernel checkpatch warnings in ol_rx_pn.c

Change-Id: I68d52e0dfcf2521b34e4a396528b9bfb8a0058fb
CRs-Fixed: 2032874
2017-06-14 08:24:52 -07:00
Yun Park
63018127e4 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_defrag.c
Fix Datapath kernel checkpatch warnings in ol_rx_defrag.c

Change-Id: Iacf91e53cedf7908daa4d86525acc4d4f80969b0
CRs-Fixed: 2032874
2017-06-14 08:24:51 -07:00
Yun Park
5cc476218b qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_defrag.h
Fix Datapath kernel checkpatch warnings in ol_rx_defrag.h.

Change-Id: Iea74ad576793b34fbf8bbdbafa9b2f831b1f108d
CRs-Fixed: 2032874
2017-06-14 08:24:48 -07:00
Yun Park
07be5536d0 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.h
Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.h

Change-Id: I878b51abc716768e9c52ab58b4e0387c6544f368
CRs-Fixed: 2032874
2017-06-14 08:24:47 -07:00
Yun Park
42e0bef5fe qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c
Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c

Change-Id: Ia8fc0a14b34876eb648d1c22a0e96e733cc317c4
CRs-Fixed: 2032874
2017-06-14 08:24:45 -07:00
Yun Park
3453282718 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx.c
Fix Datapath kernel checkpatch warnings in ol_tx.c

Change-Id: I538bf59ab717dfac6cd5d88273dc938b1f76b6d2
CRs-Fixed: 2032874
2017-06-14 08:24:44 -07:00
Yun Park
4afce45d11 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_desc.c
Fix Datapath kernel checkpatch warnings in ol_tx_desc.c

Change-Id: Iec012ad960057d27ccf063ff35607fecefe74cc3
CRs-Fixed: 2032874
2017-06-14 08:24:42 -07:00
Yun Park
d541465b3b qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_send.h
Fix Datapath kernel checkpatch warnings in ol_tx_send.h

Change-Id: I4a4abea0913eaba7bab8b50faa6330f930f1981a
CRs-Fixed: 2032874
2017-06-14 08:24:41 -07:00
Yun Park
57b82634ee qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.h
Fix Datapath kernel checkpatch warnings in ol_tx_sched.h

Change-Id: I123d2197294be6ae19174a4a40d02dd8047091e1
CRs-Fixed: 2032874
2017-06-14 08:24:39 -07:00
Yun Park
d1b045edcf qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_cfg.c
Fix Datapath kernel checkpatch warnings in ol_cfg.c

Change-Id: I42f9d34fb38ec1f990988d434965673401236ef4
CRs-Fixed: 2032874
2017-06-14 08:24:38 -07:00
Yun Park
1edc871c44 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c
Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c

Change-Id: Iaf14e45dac4fd3d7293379798976162d92ae58fb
CRs-Fixed: 2032874
2017-06-14 08:24:36 -07:00
Yun Park
04097e8e92 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_classify.c
Fix Datapath kernel checkpatch warnings in ol_tx_classify.c

Change-Id: Ic409ee871bff01669c6f042e44c6d71ce6e63a65
CRs-Fixed: 2032874
2017-06-14 08:24:35 -07:00
Yun Park
202403b5db qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.c
Fix Datapath kernel checkpatch warnings in ol_tx_sched.c

Change-Id: I1ea7dd958cee18b00bfee7dbac962fcd7cbf3e06
CRs-Fixed: 2032874
2017-06-14 08:24:33 -07:00