Commit Graph

6217 Commits

Author SHA1 Message Date
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
Jeff Johnson
745880cfba qcacld-3.0: Rename struct hdd_tx_rx_stats_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_tx_rx_stats_s to align with that guidance.

Change-Id: Idb6f8a6a2aa7704dedefdb78689c966babab8c42
CRs-Fixed: 2092737
2017-08-15 01:27:12 -07:00
Jeff Johnson
e962b1972a qcacld-3.0: Rename struct hdd_ap_ctx_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_ap_ctx_s to align with that guidance.

Change-Id: I68fb6fb0a2e62d1462b04d05e5232167ce423754
CRs-Fixed: 2092736
2017-08-15 01:27:10 -07:00
Jeff Johnson
82797b6d85 qcacld-3.0: Rename struct hdd_context_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_context_s to align with that guidance.

Change-Id: I590cc8751873479a098f90b501c401c4fb4010c4
CRs-Fixed: 2092735
2017-08-15 01:27:07 -07:00
Jeff Johnson
85b5c11849 qcacld-3.0: Rename struct hdd_adapter_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_adapter_s to align with that guidance.

Change-Id: I2a43671d9233f596b4e10eda4ad8641d7311fad1
CRs-Fixed: 2092733
2017-08-15 01:27:05 -07:00
snandini
973e0affba Release 5.2.0.38L
Release 5.2.0.38L

Change-Id: I19397b935fae02fb714b063f246dfbc5f6ab3f78
CRs-Fixed: 774533
2017-08-14 21:26:39 -07:00
Krunal Soni
17184269de qcacld-3.0: Send failure reassoc response up on receiving reassoc req
SAP-DUT should reject reassoc request coming from STA to avoid
IOT issue.

Change-Id: I9f8080b6882053a24ac1cb16001b2ec7ceb54c12
CRs-Fixed: 2088722
2017-08-14 21:26:39 -07:00
Dustin Brown
6f17a021d4 qcacld-3.0: Duplicate target_hw_name in HDD
Currently, HDD keeps a ponter to the HIF target_hw_name, which it gives
to userspace upon request. If HIF is closed, this memory is cleaned,
leading to a use-after-free. When the HIF target_hw_name pointer is
received by HDD, store a duplicate instead of the original string.

Change-Id: Ic27f00937cd600ed04908f3ba0f83ede54bc31eb
CRs-Fixed: 2079231
2017-08-14 21:26:36 -07:00
Deepak Dhamdhere
6adc08e0b9 qcacld-3.0: Check for invalid staId in ll stats clear operation
WMI_CLEAR_LINK_STATS_CMDID can cause firmware crash if vdev_id is invalid.
Add staId, i.e. vdev_id checks to sme_ll_stats_clear_req() and
wma_process_ll_stats_clear_req().

CRs-Fixed: 2078391
Change-Id: Ic713b17aebeb89bc0ab69c2e4040d9018d3dc095
2017-08-14 21:26:34 -07:00
snandini
c59c307b90 Release 5.2.0.38K
Release 5.2.0.38K

Change-Id: I920970596e1379bd8f51534fd5375c39858b5a25
CRs-Fixed: 774533
2017-08-14 20:07:48 -07:00
Ashish Kumar Dhanotiya
fd758ecd2f qcacld-3.0: Driver loading failure during monitor mode bring up
The API hdd_update_tgt_cfg decides whether to create a new PDEV
or use the existing one. In this case, the driver is
de-initialized/re-initialized followed by the cfg download. The
FW then generates SYS_READY and the control comes to this function.
Since there is no check for monitor mode the second PDEV is created.
FW seems to provide phy_id = 0 and expects the host to use the
corresponding pdev_id at various places during initialization.
Now here phy_id = 0 and pdev_id = 1, thus initializations fails.

To resolve this issue add a check for monitor mode in hdd_update_tgt_cfg
function and use the same pdev_id.

CRs-Fixed: 2087541
Change-Id: I9dd6449b1e81b6bb218d21c07ca0f5335067865d
2017-08-14 20:07:46 -07:00
jiad
4a7a33cad2 qcacld-3.0: Fix RX LDPC setting in VHT capabilities IE
VHT RX LDPC capability depends on both INI config and HW capabilities.
Current logic does not populate HW capability in a correct way. HW RX
LDPC capability is set as a bitmask of bit 4 instead of boolean value
while INI config is value of 0 or 1. Bitwise AND with HW cap and INI
config always creates a result of 0, which leads to wrong RX LDPC field
in VHT caps IE.

Fix is to populate HW RX LDPC cap as a boolean value and advertise VHT
RX LDPC capability when both INI config and HW capability are set to 1.

Change-Id: Iabf83f74d9bfc2bf7d958ca3a08e9e6090ac7fb8
CRs-Fixed: 2060216
2017-08-14 20:07:40 -07:00
Rajeev Kumar Sirasanagandla
686abd96f4 qcacld-3.0: Add support to randomize probe req SA and Seq number
qcacld-2.0 to qcacld-3.0 propagation

Randomize probe request's source address and sequence number to
improve user's privacy.

Change-Id: Ic367ce4578e65faf49e8092f0f8cce057eead728
CRs-Fixed: 1085995
2017-08-14 20:07:34 -07:00
snandini
0974eb0ad5 Release 5.2.0.38J
Release 5.2.0.38J

Change-Id: I9fd43d8dfc7aa7de75cfda0b5c32c78dc277ee35
CRs-Fixed: 774533
2017-08-14 19:26:32 -07:00
jiad
14fe4fbf5c qcacld-3.0: fix ipa mcc tx_desc pool size
A list of ipa tx_desc is created to have a one-to-one mapping between
tx_desc from ipa driver and tx_desc in wlan. The list pool size is now
set to IpaUcTxBufCount, which is IPA wlan FW tx comp ring size and is
more like a HW resource. But the list is used only for SW MCC TX path.

Fix is to define a new INI to set hdd_ipa_tx_desc pool size. But real
size is minumum of this INI and the global tx_desc pool size.

Change-Id: I3216a4c14ac624cc313d11226909efd4f63841d0
CRs-Fixed: 2076672
2017-08-14 19:26:31 -07:00
Rajeev Kumar
a09a5392ac qcacld-3.0: Only post target interested messages to WMA
Currently cfg update notification is posting every message to WMA.
To reduce message posting load only post target interested messages
to WMA as part of cfg update notification.

Change-Id: I054d684b671d33f2b1ea73062b82af8862de0ab2
CRs-Fixed: 2090997
2017-08-14 19:26:29 -07:00
snandini
c6b5fa37c2 Release 5.2.0.38I
Release 5.2.0.38I

Change-Id: I2f5706d8065f7fe4f5d91f191eb424a48a2c53de
CRs-Fixed: 774533
2017-08-14 11:38:30 -07:00
Amar Singhal
fe715d46b5 qcacld-3.0: Add APL2_ETSIC regulatory domain
Add APL2_ETSIC regulatory domain for Indonesia.

Change-Id: Ia092e4b7633583f2d43ba984d6eeea5ad16341c7
CRs-Fixed: 2001221
2017-08-14 11:38:29 -07:00