Commit Graph

6334 Commits

Author SHA1 Message Date
snandini
0eb6644f54 Release 5.2.0.39F
Release 5.2.0.39F

Change-Id: I839bb09cf5051ea45143bae8d88b427e82bae74d
CRs-Fixed: 774533
2017-08-22 05:16:34 -07:00
Ashish Kumar Dhanotiya
cda57668d7 qcacld-3.0: Fix crash during con_mod_handler
During con_mod_handler, cleanup of adapter is being done first
and then wlan modules are getting closed. Because of which NAPI poll is
still posting frames to a device/adapter which has been freed as part
of mode change handler, leading to a crash.

To address this issue first stop all wlan modules and then cleanup the
adapter.

Change-Id: I2fade59d1e4a27620cecadb91f69866e79c85612
CRs-Fixed: 2092132
2017-08-22 05:16:33 -07:00
snandini
4345341b24 Release 5.2.0.39E
Release 5.2.0.39E

Change-Id: I19c69f74d6ce36088edaf04ff78ae034bd964fb9
CRs-Fixed: 774533
2017-08-21 19:26:09 -07:00
Sandeep Puligilla
0a11f8dc6f qcacld-3.0: Cleanup legacy scan code
Cleanup unused legacy scan code related
to abort scan.

Change-Id: I32c4c81b54bd464ebd5918c5a697fc57f505abc7
CRs-Fixed: 2063667
2017-08-21 19:26:08 -07:00
Ravi Joshi
9771d43a29 qcacld-3.0: Introduce ini to control NDI mac randomization
Allow disabling randomization of NDI MAC address. This will allow
faster debugging and give OEMs option of disabling this if not
required.

Change-Id: Ie4f4c1dba2014be50c997715d65e3f97e5d5980e
CRs-Fixed: 2069470
2017-08-21 18:02:09 -07:00
snandini
d6ed2c07bc Release 5.2.0.39D
Release 5.2.0.39D

Change-Id: I13ca42c87f628957334ab5d317775c6548e79dea
CRs-Fixed: 774533
2017-08-19 01:27:13 -07:00
Rajeev Kumar Sirasanagandla
aec0b08b54 qcacld-3.0: Add support to include selective scan IEs only
qcacld-2.0 to qcacld-3.0 propagation

Add support to include only selective IEs in probe requests in
order to improve user's privacy.

Change-Id: Ib874af7ec2f5453282ffe0e8fc2e50934460b745
CRs-Fixed: 1086582
2017-08-19 01:27:13 -07:00
snandini
f2a3339269 Release 5.2.0.39C
Release 5.2.0.39C

Change-Id: Ifefbfd6448381dfb50641192cfd80f1b326f5535
CRs-Fixed: 774533
2017-08-18 21:27:16 -07:00
Abhishek Singh
2d775fd638 qcacld-3.0: Post non deferable LIM msg from WMA with high priority
As beacon and probe rsp are not deferred in LIM the non-deferable
LIM msgs from WMA may get delayed due to processing of beacons and
probe responses.

To Avoid this post the non-deferable LIM msg from WMA with
high priority so that they can be processed before beacons and probes.

Change-Id: Ida7cb86be397a415893142a318b75b41c13578b5
CRs-Fixed: 2090173
2017-08-18 21:27:15 -07:00
Abhishek Singh
a91d619afc qcacld-3.0: HT STA is indicated as VHT capable to firmware
When HT STA connect to VHT SAP, the STA is indicated as VHT capable
to firmware and thus MCS8 rates are used.
The reason is that the condition to set SMPS intolerance was added in
between the "if- else if -else" condition to determine ht and VHT
capability of sta. This resulted in else condition to execute for
peer STA which set VHT and HT capability from the psession and doesn't
consider capability of peer sta.

Fix this issue by reordering the if condition to set SMPS
Intolerance to firmware.

Change-Id: I483a5c44bc4beba0d03e1a80028993b30b47b108
CRs-Fixed: 2079727
2017-08-18 21:27:13 -07:00
snandini
1e2426d51d Release 5.2.0.39B
Release 5.2.0.39B

Change-Id: Ib0d13b993d9823848458784f2d3abf17d71a5b29
CRs-Fixed: 774533
2017-08-18 19:07:31 -07:00
Jeff Johnson
1534017fd5 qcacld-3.0: Finish removing wext support for scan commands
Change "qcacld-3.0: Remove wext support for scan commands"
(I05ccc13d1b658e62b19a389e6a480707b5c446b9) removed most, but not all,
of the code that supported wext scan commands. Remove the remaining
wext scan support code.

Change-Id: Ib48c61956be1e90f981369083a910dba1bb5b77e
CRs-Fixed: 2093342
2017-08-18 19:07:30 -07:00
Jeff Johnson
c51cac9d1d qcacld-3.0: Rename struct hdd_hostapd_state_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_hostapd_state_s to align with that
guidance.

Change-Id: Ic520ecd0c6ba64428533aae6eef92bcb4d8daeaa
CRs-Fixed: 2093282
2017-08-18 19:07:28 -07:00
Jeff Johnson
3e8d37760e qcacld-3.0: Rename struct hdd_cfg80211_state_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_cfg80211_state_s to align with that
guidance.

Change-Id: I10342551370e1b81d49df734cf81a44501cb0bf7
CRs-Fixed: 2093281
2017-08-18 19:07:26 -07:00
snandini
08190c6dc4 Release 5.2.0.39A
Release 5.2.0.39A

Change-Id: Ic03f041b4a3d5c2ff5ef7f9eb7b3b75e9f59e3db
CRs-Fixed: 774533
2017-08-18 18:27:46 -07:00
Jeff Johnson
a49c0ac465 qcacld-3.0: Replace typedef hdd_pmf_stats_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_pmf_stats_t typedef does
not meet any of those criteria, so replace it with a well named
struct.

Change-Id: I6e1f205f36ca35d58f5f8846d95d76976266a8bd
CRs-Fixed: 2093258
2017-08-18 18:27:45 -07:00
Krunal Soni
ca50b456ab qcacld-3.0: Update supported band from service ready extension
Current driver is updating supported bands from service ready event
but in new platform service ready extension is carrying the updated
supported bands.
Overwrite supported bands which have been given through service ready
extension event.

Change-Id: I128133c494e3831a0994d79fa8cb9b46d4f1788a
CRs-Fixed: 2090909
2017-08-18 18:27:43 -07:00
snandini
0307aa2e92 Release 5.2.0.39
Release 5.2.0.39

Change-Id: I6ccf289961347db14e6f29c41afffbbd76fa364a
CRs-Fixed: 774533
2017-08-18 17:46:53 -07:00
Rajeev Kumar
5cb007fbfa qcacld-3.0: Define HDD rate limit loggign API
Define HDD rate limit loggign API such that logs
can be rate limited on need basis.

Change-Id: If8dcf48ad9381b5b10df064cfe189bcb932f924c
CRs-Fixed: 2083919
2017-08-18 17:46:52 -07:00
Ravi Kumar Bokka
7a4034e3a1 qcacld-3.0: modify ini value for MCBC active apf param
modify ini max value to 1 for mcbc active apf.

Change-Id: Ief648ea879feacba4812ccf4427dfe1fde1a76f5
CRs-Fixed: 2072916
2017-08-18 17:46:49 -07:00
snandini
6e11712e03 Release 5.2.0.38Z
Release 5.2.0.38Z

Change-Id: Ic58c6619e99f864ef9ea3a8a5905e7d93731909a
CRs-Fixed: 774533
2017-08-18 05:37:36 -07:00
Poddar, Siddarth
2fb98079a9 qcacld-3.0: Add missing qdf_spinlock_destroy() to free debug cookie
Add missing qdf_spinlock_destroy() to destroy spin lock debug cookie
for SLUB build. For normal builds, qdf_spinlock_destroy() is a NO-OP
function.

Change-Id: Idccdc9f7acaea785a600e14304368f53ff7e17d7
CRs-Fixed: 2077964
2017-08-18 05:37:35 -07:00
snandini
42868660dc Release 5.2.0.38Y
Release 5.2.0.38Y

Change-Id: I745b24728563cba0f65b2640c9665798f7095925
CRs-Fixed: 774533
2017-08-17 03:27:00 -07:00
tfyu
350d9f7552 qcacld-3.0: Add macro protection for HIF CE
Add macro protection for HIF CE, it shouldn't include the ce head file
when the module is usb or sdio.

Change-Id: I426d10fdb4fd7e479f0bc683d857feab8d4d80d8
CRs-Fixed: 2090621
2017-08-17 03:26:59 -07:00
snandini
35fc911663 Release 5.2.0.38X
Release 5.2.0.38X

Change-Id: Ib2d0c54a55db7dca7673d8d97ac29e7f8be65a3d
CRs-Fixed: 774533
2017-08-17 00:06:55 -07:00
Jeff Johnson
07f9474753 qcacld-3.0: Replace typedef hdd_stats_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_stats_t typedef does not
meet any of those criteria, so replace it with a well named struct.

Change-Id: Ie4340278dc449f7d0bd65be726a8d573506e4f1a
CRs-Fixed: 2092843
2017-08-17 00:06:54 -07:00
Jeff Johnson
41a6496ffe qcacld-3.0: Replace typedef roaming_info_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The roaming_info_t typedef does not
meet any of those criteria, so replace it with a well named struct. In
the process remove the unused roamingEvent that it contains.

Change-Id: I0bf974fcbe0a591973610eef27acc3da07071a57
CRs-Fixed: 2092842
2017-08-17 00:06:52 -07:00
snandini
991e1ded93 Release 5.2.0.38W
Release 5.2.0.38W

Change-Id: I59c9676163ed21a51cc874cbf906c3bacd9f0b08
CRs-Fixed: 774533
2017-08-16 23:27:00 -07:00
Ashish Kumar Dhanotiya
9cd0d7c74f qcacld-3.0: Buffer overflow in setrmcenable, setrmcactionperiod
There is a buffer overflow while using sscanf in setrmcenable
and setrmcactionperiod APIs.
To resolve this, use sscanf according to buffer length.

Change-Id: I91b0c36cb8c67d45afb0b95ac944f9e87187f85a
CRs-Fixed: 2086337
2017-08-16 23:27:00 -07:00
snandini
df295ba6b3 Release 5.2.0.38V
Release 5.2.0.38V

Change-Id: Ib702af7ed44839075888d14ec2e8ba25eb43e254
CRs-Fixed: 774533
2017-08-16 17:37:01 -07:00
Varun Reddy Yeturu
168134f94e qcacld-3.0: Introduce lookup_threshold_5g_offset INI item
Introduce lookup_threshold_5g_offset in WCNSS_qcom_cfg.ini
which will let the user to configure separate threshold for
5G band using this offset

Change-Id: I4975f74095a5fec0657666ba864ee436cbaed604
CRs-Fixed: 2093368
2017-08-16 17:37:01 -07:00
Govind Singh
c701c4d9d2 qcacld-3.0: Add mb before updating the write index of remote ring
When replenishing Rx buffers driver updates the address of the
buffer and the index of rx buffer in rx ring to the firmware.

Make sure alloc index write is reflected in the memory before
FW polls the remote ring write index as compiler can reorder
the instructions based on optimizations.

Disable compile time reorder by adding a write memory barrier.

Change-Id: Icb37598e6c36b4a128b1bcd91bfb9d643bf083e2
CRs-Fixed: 2084210
2017-08-16 17:36:59 -07:00
snandini
c8343ab6b2 Release 5.2.0.38U
Release 5.2.0.38U

Change-Id: Ie3fcab081d03f3541f5b6d4055a093fd2d826486
CRs-Fixed: 774533
2017-08-16 11:57:25 -07:00
Kapil Gupta
ffa260296f qcacld-3.0: Changes to fix compilation warnings
Add changes to fix compilation warning related to
frame-larger-than flag. Value of this flag is set by
CONFIG_FRAME_WARN in kernel config.

Change-Id: I0d4d55c141572c9da3a459e79073b99fc5d6ea67
CRs-Fixed: 2035710
2017-08-16 11:57:24 -07:00
snandini
1205e81aa1 Release 5.2.0.38T
Release 5.2.0.38T

Change-Id: I7465c2f250bd38dfebc9e2b366436dc6caf376a8
CRs-Fixed: 774533
2017-08-16 03:27:41 -07:00
bings
37bd58f57a qcacld-3.0: Fix connection information deleting and restoring
Currently only one connection information corresponding to the
provided mode is deleted and restored, which causes channel
selecting failure in DFS testing with AP+AP concurrency mode.
When radar is found in AP+AP concurrency mode, a new valid channel
should be selected. Before selecting the channel, all existing
connection information of SAP mode should be deleted, otherwise
no valid channel can be selected.

All the connection information corresponding to the provided mode
should be deleted and restored.

Change-Id: Id363dbb2c31485fefcd6915696060923063079bb
CRs-Fixed: 2078021
2017-08-16 03:27:39 -07:00
snandini
c626f85fd4 Release 5.2.0.38S
Release 5.2.0.38S

Change-Id: Ifdc2d7e5da6198a2baaef8cba95d15f9f0d0f7af
CRs-Fixed: 774533
2017-08-16 01:07:17 -07:00
Poddar, Siddarth
05febac9b1 qcacld-3.0: Take wakelock only in authenticated state for rx packet processing
Take wake_lock for rx packet processing in hdd_rx_packet_cbk
only in authenticated state to avoid taking lock for sta cached_bufq
for which the wake_lock is acquired for all packets one by one
till entire flush duration.

Change-Id: Ia69381a7406a5a475ed07f73f3ea0edf4b3715be
CRs-Fixed: 2081963
2017-08-16 01:07:15 -07:00
snandini
d17af14c63 Release 5.2.0.38R
Release 5.2.0.38R

Change-Id: Id05e23f5ddc1a6e088004f18a725fd7b3e5ffb2a
CRs-Fixed: 774533
2017-08-15 21:37:34 -07:00
Varun Reddy Yeturu
69d44b28f6 qcacld-3.0: Reset bg_scan_client_bitmap after disconnection
Reset bg_scan_client_bitmap after disconnection so that the
roaming module does not keep getting the scan notifications
for other scans after disconnection

Change-Id: Ief8333f9802868d63c22977640bea49a2c69f4a8
CRs-Fixed: 2093219
2017-08-15 21:37:31 -07:00
snandini
1ebc19a34a Release 5.2.0.38Q
Release 5.2.0.38Q

Change-Id: I8e8a51b7fec1ea2db06774d5a048d1e22396c894
CRs-Fixed: 774533
2017-08-15 19:27:45 -07:00
Ravi Joshi
8eb65f97bd qcacld-3.0: Enable sending HT/VHT parameters for NDI
Enable sending HT/VHT self capabilities for NDI.

CRs-Fixed: 2080124
Change-Id: I4b01bef970f3f851fdbb052dc7eadf2420bcafb2
2017-08-15 19:27:44 -07:00
snandini
696cef2c4f Release 5.2.0.38P
Release 5.2.0.38P

Change-Id: I8cc0746433a6cb5c997658c6ed6eb96ee602c93f
CRs-Fixed: 774533
2017-08-15 18:25:58 -07:00
Mahesh Kumar Kalikot Veetil
b85cefd1a6 qcacld-3.0: Fix early qdf prints
Fix the error print: 'qdf_trace_msg_cmn: Invalid index - -1'. Move the
qdf print registration to early in driver initialization.

Change-Id: I338e6615d7f76110df762d725f535fb7493cb1cd
CRs-Fixed: 2092806
2017-08-15 18:25:57 -07:00
snandini
32af0202db Release 5.2.0.38O
Release 5.2.0.38O

Change-Id: I4aba67220d4204d6bb8f5a20130dcae40585a7bf
CRs-Fixed: 774533
2017-08-15 16:28:00 -07:00
Dustin Brown
48efd5be0a qcacld-3.0: Enable Green AP by default
Currently Green AP is controlled by CONFIG_MOBILE_ROUTER and other
feature flags. Instead, enable Green AP by default in Kbuild.

Change-Id: I2570076f1dd2663f57630aa9808fbcb33b9b0dd2
CRs-Fixed: 2081715
2017-08-15 16:27:59 -07:00
snandini
a276dc3121 Release 5.2.0.38N
Release 5.2.0.38N

Change-Id: Ie2f6c64cad572feda6e5501f5853c2cbb1e11682
CRs-Fixed: 774533
2017-08-15 13:27:12 -07:00
Prashanth Bhatta
87b6dc0a9f qcacld-3.0: Change semantics of Runtime Lock APIs
QDF Runtime PM lock APIs semantics are changed. Incorporate the
changes done in QDF for all the Runtime PM lock APIs.

CRs-fixed: 1116549
Change-Id: Ia701378031b7e9c01583eaef403e1219fdce47e3
2017-08-15 13:27:12 -07:00
snandini
d77b5f094f Release 5.2.0.38M
Release 5.2.0.38M

Change-Id: I110f1fbb287a73a14fe6bfded4b510a342b1cb83
CRs-Fixed: 774533
2017-08-15 01:27:16 -07:00
Jeff Johnson
e4bad25921 qcacld-3.0: Replace typedef connection_info_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The connection_info_t typedef does
not meet any of those criteria, so replace it with a well named
struct.

Change-Id: I414f8d1949807f1bc0cda72971fab5696d1d1860
CRs-Fixed: 2092786
2017-08-15 01:27:15 -07:00