Commit Graph

7910 Commits

Author SHA1 Message Date
snandini
4b9e07d89b Release 5.2.0.52A
Release 5.2.0.52A

Change-Id: Ic7fb96d295b9a36f76f01ea4de9f2626b35dc3de
CRs-Fixed: 774533
2017-11-01 13:17:19 -07:00
Paul Zhang
382248f646 qcacld-3.0: control mac spoofing scan by INI
The function wlan_hdd_cfg80211_scan_randomization_init
will set mac spoofing scan feature ignore the ini
configuration on gEnableMacAddrSpoof.

CRs-fixed: 2108137
Change-Id: I8164aa15e83c6fbe1a4249efeca4c7f6474604f8
2017-11-01 13:17:18 -07:00
Krunal Soni
6de1b2173a qcacld-3.0: Move lim_del_pmf_sa_query_timer API to pe_delete_session
In some of the stress and stability testing, it has been found that
lim_del_pmf_sa_query_timer() is not getting called which results in
to memory leak.

Move lim_del_pmf_sa_query_timer() API to pe_delete_session() to make
sure that pmf timer gets deleted in all the cases.

CRs-Fixed: 2133344
Change-Id: Iefed50ad0c473deb8c3803d0bd6b2997624f2f82
2017-11-01 13:17:16 -07:00
Liangwei Dong
9fcc72168e qcacld-3.0: Fix memory leak
To fix pmo_ctx memory leak by call component_deinit in
failure path of __hdd_module_init.

Change-Id: I66ee4566e805c9510d6dec219dc397bc7191952c
CRs-Fixed: 2131441
2017-11-01 13:17:14 -07:00
snandini
0742e5c96a Release 5.2.0.52
Release 5.2.0.52

Change-Id: I139202ddc647690df19ffb5fea652c6aa464c8a4
CRs-Fixed: 774533
2017-10-31 21:37:56 -07:00
Lin Bai
aa7f8d772d qcacld-3.0: Fix build error without MSM_PLATFORM
Compiler is throwing error - undefined variable
'busBandwidthComputeInterval' after MSM_PLATFORM disabled.

Wrap the related code within MSM_PLATFORM.

CRs-Fixed: 2135338
Change-Id: Iad1b7a4deefec0d454d12c257d885f0fa256d33f
2017-10-31 21:37:56 -07:00
bings
86657feebf qcacld-3.0: Fix race condition between vendor scan and nl scan
If vendor scan and nl scan happen and abort at the same time, before
scan_block_work is scheduled, pAdapter->request may be set as vendor
scan request firstly, then scan_block_work is scheduled while at the
same time pAdapter->request may be as nl scan request by nl scan.

This causes memory leak and incorrect scan done called.

Change-Id: Id730f2d0041641099a26e76ab13ec419a48b4241
CRs-Fixed: 2134652
2017-10-31 21:37:53 -07:00
snandini
f576afd2f0 Release 5.2.0.51Z
Release 5.2.0.51Z

Change-Id: Id360fe0dc649bfc19f24ae7716e00a5998d10ab9
CRs-Fixed: 774533
2017-10-31 20:22:42 -07:00
Jeff Johnson
3d731362e1 qcacld-3.0: Rename hdd_ap_ctx wepKey field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field wepKey in struct hdd_ap_ctx.

Change-Id: I8964d07ebaf77c9ff14ec0a055c800f3923a9b55
CRs-Fixed: 2134927
2017-10-31 20:22:41 -07:00
Jeff Johnson
413c15f9f9 qcacld-3.0: Rename hdd_ap_ctx groupKey field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field groupKey in struct hdd_ap_ctx.

Change-Id: I3dcac71706cee8c97593370e7c3d0c99d56dca20
CRs-Fixed: 2134926
2017-10-31 20:22:39 -07:00
Jeff Johnson
a8e686bc37 qcacld-3.0: Rename hdd_ap_ctx ucEncryptType field
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
ucEncryptType in struct hdd_ap_ctx.

Change-Id: Id729616f27bc944b24797786d715cd43f10efc7f
CRs-Fixed: 2134924
2017-10-31 20:22:36 -07:00
Jeff Johnson
82ceb08c9a qcacld-3.0: Rename hdd_ap_ctx apDisableIntraBssFwd field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field apDisableIntraBssFwd in struct hdd_ap_ctx.

Change-Id: If2442e605a95c8d82df8adf1395e4ed6b53bbbd5
CRs-Fixed: 2134923
2017-10-31 20:22:34 -07:00
Jeff Johnson
03653f1acb qcacld-3.0: Remove struct hdd_ap_ctx field uIsAuthenticated
Field uIsAuthenticated in struct hdd_ap_ctx is written but never read.
And when the interface is in AP mode it is the master doing the
authenticating, so this field doesn't even make sense, so remove it.

Change-Id: Ib03a4b80f61c0cb32486cf3f8a9bd6744ea5edee
CRs-Fixed: 2134922
2017-10-31 20:22:31 -07:00
Jeff Johnson
c8d94a1ad1 qcacld-3.0: Rename hdd_ap_ctx uPrivacy field
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
uPrivacy in struct hdd_ap_ctx.

Change-Id: I9e0af2e7b61b4678f28868142a0864b1d5d5db77
CRs-Fixed: 2134920
2017-10-31 20:22:29 -07:00
Jeff Johnson
e4b24877f9 qcacld-3.0: Refactor hdd_clear_all_sta()
Function hdd_clear_all_sta() is not as "clean" as it could be so
refactor it.

Change-Id: I6cba74464a8b7d9536f931c16f5100dd8072fcba
CRs-Fixed: 2134919
2017-10-31 20:22:27 -07:00
Jeff Johnson
b55bf5160a qcacld-3.0: Remove unused hdd_clear_all_sta() parameter
Currently hdd_clear_all_sta() has a usrDataForCallback parameter that
isn't actually used, so remove the parameter.

Change-Id: Ib1901564ad637a433588c9975037d3cc069ee98c
CRs-Fixed: 2134918
2017-10-31 20:22:25 -07:00
Jeff Johnson
42518cf9ce qcacld-3.0: Rename hdd_ap_ctx uBCStaId field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field uBCStaId in struct hdd_ap_ctx.

Change-Id: Id23184e2daa074016672ec69cf46261ae604f0c5
CRs-Fixed: 2134917
2017-10-31 20:22:22 -07:00
Jeff Johnson
f283c97d99 qcacld-3.0: Rename hdd_ap_ctx HostapdState field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field HostapdState in struct hdd_ap_ctx.

Change-Id: I25a7ec870f250a0062619c0025c0aa9e137a576e
CRs-Fixed: 2134916
2017-10-31 20:22:19 -07:00
Jeff Johnson
64aab0a2de qcacld-3.0: Remove hdd_multicast_addr_list isFilterApplied
Field isFilterApplied in struct hdd_multicast_addr_list is no longer
used, so remove it.

Change-Id: I3018c55a82741e7fc80e37f2ebaa08370f2411e0
CRs-Fixed: 2134915
2017-10-31 20:22:17 -07:00
Jeff Johnson
2d63a3fa5f qcacld-3.0: Remove obsolete mScanPendingCounter
Field mScanPendingCounter in struct hdd_scan_info is no longer used,
so remove it.

Change-Id: Ia118215af9ce575127b6d32f323921f4496b3721
CRs-Fixed: 2134906
2017-10-31 20:22:14 -07:00
snandini
52a3df9120 Release 5.2.0.51Y
Release 5.2.0.51Y

Change-Id: I207daa7db3fc3cf9b971784754afe53754d06781
CRs-Fixed: 774533
2017-10-31 17:38:56 -07:00
Manjunathappa Prakash
c13cb5bdb3 qcacld-3.0: Separate TcpDelAck and TcpAdvWinScale
Separate tcp-del-act and tcp-advanced-window-scaling triggers
so that these system parameters can be set separately.

Change-Id: If2f869243152e698409e8a38459f5fabe44f35cb
CRs-Fixed: 1115614
2017-10-31 17:38:55 -07:00
Yue Ma
85761e64ca qcacld-3.0: Add device pointer in PLD PCIe APIs
Add device pointer in all PLD PCIe APIs in order to support
numerous WLAN devices.

Change-Id: Id9b2fb14ef3de715f6127ac2301d7ad87d493c14
CRs-fixed: 2134245
2017-10-31 17:38:53 -07:00
Yue Ma
5ff417c273 qcacld-3.0: Remove deprecated PLD APIs
These APIs are used with legacy platform driver for PCIe bus based
targets which are no longer needed for new platform driver.

Change-Id: I6e01ea632e902f2c0a3a7cde07c85dfa835b84d3
CRs-fixed: 2134245
2017-10-31 17:38:51 -07:00
snandini
35392ea6b8 Release 5.2.0.51X
Release 5.2.0.51X

Change-Id: Ifeab5fedb0d444558109a0b0e224023f346bd4b9
CRs-Fixed: 774533
2017-10-31 14:37:03 -07:00
jiad
fec2e90286 qcacld-3.0: Fix HE caps IE stack overflow
one octet of ElementIDExtenstion is added in HE caps IE.
In lim_send_he_caps_ie(), he_caps buffer does not take extra
ElementIDExtenstion into account, which leads to stack overflow.

Fix is to entend he_caps buffer by one octet to account for
ElementIDExtenstion in HE caps IE.

Change-Id: Ib1bc3c65a0e3c5c2ce33085c1e71430acbd67d65
CRs-Fixed: 2134692
2017-10-31 14:36:37 -07:00
CNSS_WLAN Service
a30b89e710 Merge changes If8367e9f,I5e07910d,Ia23aa9c8,Ib58b93e8,I3eb313db,I0fdcffd7,Idbd8b23d,I65a3734d,I8c9f8216,Id1b1101c,I6da8dd27,Idc8f7443,Ibca109e6,I6b4912bf,Ibbc997f3,I0dac8282,I9c5c701f,I92a2b9db,I5b581142,I244bfe9f,I8f517011,I5089db5f,I0cc344d8,I7fe97473,I85474d4f,I857ffce4,Ib5cf2c53,I6fc16706,I92b63c7e,I0a47c363,Iec0e3581,Ief8bf662,I9f74418b,I7b928b15,Id6c3d559,I9a1424ec into wlan-cld3.driver.lnx.2.0-dev
* changes:
  Release 5.2.0.51W
  qcacld-3.0: Code cleanup in Vendor ACS support code
  Release 5.2.0.51V
  qcacld-3.0: Add iwpriv support to set HE bss color
  Release 5.2.0.51U
  qcacld-3.0: Fix 80211 frame subtype value in DoS attacks check
  Release 5.2.0.51T
  qcacld-3.0: Add knobs to configure the scan paramters
  Release 5.2.0.51S
  qcacld-3.0: Add "static" to fix compilation error for HL bus
  Release 5.2.0.51R
  qcacld-3.0: Fixed wrong warning log for no return issue
  Release 5.2.0.51Q
  qcacld-3.0: Fix incorrect length of encrypted auth frame
  qcacld-3.0: Fix build error in LRO without MSM_PLATFORM
  Release 5.2.0.51P
  qcacld-3.0: Set CPU floor freq on high throughput
  Release 5.2.0.51O
  qcacld-3.0: Restrict AP switching to DFS channel
  Release 5.2.0.51N
  qcacld-3.0: Rework HDD IPA stats
  qcacld-3.0: Add warning log for IPA session control critical code path
  qcacld-3.0: Check firmware MAWC capability
  qcacld-3.0: Check vdev status before sending vdev up
  Release 5.2.0.51M
  qcacld-3.0: Return failure from cds_open for all failure paths
  qcacld-3.0: Allow recovery during firmware down
  Release 5.2.0.51L
  qcacld-3.0: Cleanup ACS channels in stop adapter
  Release 5.2.0.51K
  qcacld-3.0: Adding the missed p2p_listen_defer_interval
  Release 5.2.0.51J
  qcacld-3.0: Enable/Disable LRO for low throughput based on rx packet count
  Release 5.2.0.51I
  qcacld-3.0: add device pointer in pld snoc API
  Release 5.2.0.51H
2017-10-30 10:16:22 -07:00
snandini
87086b58e3 Release 5.2.0.51W
Release 5.2.0.51W

Change-Id: If8367e9f28adc9edc29a786026bb04ba651dd453
CRs-Fixed: 774533
2017-10-30 01:39:14 -07:00
Himanshu Agarwal
dfc4dcac67 qcacld-3.0: Code cleanup in Vendor ACS support code
1. Add modularity to the vendor acs logic
2. Add error conditions, return values and their handling.
3. Add appropriate kernel doc.

Change-Id: I5e07910d243686f77a8abbed373ea7970992b6d0
CRs-Fixed: 2100804
2017-10-30 01:39:13 -07:00
snandini
9b89a2681d Release 5.2.0.51V
Release 5.2.0.51V

Change-Id: Ia23aa9c8726e64e2323bd5fb0e766aa8b92836cf
CRs-Fixed: 774533
2017-10-28 03:37:28 -07:00
Kiran Kumar Lokere
e6476b2c02 qcacld-3.0: Add iwpriv support to set HE bss color
Add iwpriv support to set HE bss color in SAP 11AX mode operation

Change-Id: Ib58b93e8a66d9154024e61581885c4a10d737631
CRs-Fixed: 2130322
2017-10-28 03:37:27 -07:00
CNSS_WLAN Service
1b331e3755 Merge "qcacld-3.0: Check sme session opened flag for opened interfaces" into wlan-cld3.driver.lnx.2.0-dev 2017-10-27 20:27:38 -07:00
snandini
006ea7f34e Release 5.2.0.51U
Release 5.2.0.51U

Change-Id: I3eb313dbd2600cad4b65a4239fa930835d0da635
CRs-Fixed: 774533
2017-10-27 17:40:16 -07:00
Zhang Qian
d9bb45657e qcacld-3.0: Fix 80211 frame subtype value in DoS attacks check
Propagation from qcacld-2.0 to qcacld-3.0

The subtype values used in the Dos attacks check are not correct.
No MGMT frame will be dropped in a DoS attack.

Change-Id: I0fdcffd7151a78abf21bb0f4223aaba3e86a46ab
CRs-Fixed: 2103880
2017-10-27 17:40:16 -07:00
snandini
52a4b1564f Release 5.2.0.51T
Release 5.2.0.51T

Change-Id: Idbd8b23d0ba07c9ab830dc7f6b69f5bc018fbe67
CRs-Fixed: 774533
2017-10-27 13:33:08 -07:00
Kiran Kumar Lokere
a2dfefe6f8 qcacld-3.0: Add knobs to configure the scan paramters
Add user configuration parameters to configure the number of
probes in scan request and probe repeate time during scan.

Change-Id: I65a3734d8080d8adfe3e9ffa26905e6adc196197
CRs-Fixed: 2071697
2017-10-27 13:33:07 -07:00
snandini
5850c8cf13 Release 5.2.0.51S
Release 5.2.0.51S

Change-Id: I8c9f821605cb4fb42dd4154068b43a763c62d7dc
CRs-Fixed: 774533
2017-10-27 11:53:32 -07:00
Yingying Tang
84e0d5f2a8 qcacld-3.0: Add "static" to fix compilation error for HL bus
Add "static" before some functions which only be used in 1 file to
resolve compilation error.

Change-Id: Id1b1101c3bb04910ad1e3639887f74e44d5b7c36
CRs-Fixed: 2010227
2017-10-27 11:53:32 -07:00
snandini
d7cbe08653 Release 5.2.0.51R
Release 5.2.0.51R

Change-Id: I6da8dd2718714ca2dce55a6e934bb72d441014eb
CRs-Fixed: 774533
2017-10-27 07:56:52 -07:00
Zhu Jianmin
b639e9beaf qcacld-3.0: Fixed wrong warning log for no return issue
warning log: Bug report already in progress - dropping! type
if caller check return value, have potential issues

Change-Id: Idc8f74437e979880e1d0e4209359c96fcfdba4d9
CRs-Fixed: 2133211
2017-10-27 07:56:51 -07:00
snandini
b217491a2b Release 5.2.0.51Q
Release 5.2.0.51Q

Change-Id: Ibca109e66abdc30ec0c0a3eff1c8a33a5c909ee7
CRs-Fixed: 774533
2017-10-27 03:49:59 -07:00
Arif Hussain
dbea6e1204 qcacld-3.0: Fix incorrect length of encrypted auth frame
Change id “I684dbc89945ba3aef3186c872e5e1f7564d7e44c”
and  “I5ba5748c9ae00b61743883862ca884ac1134da15”
fixes merged in reverse order, there by reverting second fix.

Correcting the same.

Change-Id: I6b4912bf3717a0cc68b4184e4e2a8482766d4ad8
CRs-Fixed: 2128343
2017-10-27 03:49:59 -07:00
jiad
cdaf9bd6be qcacld-3.0: Fix build error in LRO without MSM_PLATFORM
When compiling without MSM_PLATFORM, error is seen like
'struct hdd_context has no member named cur_rx_level'.
cur_rx_level is defined in struct hdd_context only when
MSM_PLATFORM is defined.

Fix is to define a new API to send throughput indication
within MSM_PLATFORM.

Change-Id: Ibbc997f3bda806d0c3f78d3d90cbbc1a20f06015
CRs-Fixed: 2132918
2017-10-27 03:49:57 -07:00
snandini
d9dbfb26c3 Release 5.2.0.51P
Release 5.2.0.51P

Change-Id: I0dac828242d95a6704e0c402ed7fd1946af2727c
CRs-Fixed: 774533
2017-10-27 01:58:03 -07:00
Orhan K AKYILDIZ
e7445a2e75 qcacld-3.0: Set CPU floor freq on high throughput
On high throughput mode, send a message to perfd, through
cnss-daemon, to set the min freq for perf cluster to 700 KHz,
and release it on transition to low throughput.

Goes with corresponding changes on cnss-daemon (1834087).

Change-Id: I9c5c701fa33992e44fc3bad5e58599da0b45cbd7
CRs-Fixed: 1115614
2017-10-27 01:58:03 -07:00
snandini
af469ebe46 Release 5.2.0.51O
Release 5.2.0.51O

Change-Id: I92a2b9db1f7fed8fcd465351f19972e73d57e442
CRs-Fixed: 774533
2017-10-26 23:48:13 -07:00
Jayachandran Sreekumaran
9f18042578 qcacld-3.0: Restrict AP switching to DFS channel
Restrict AP switching to DFS channel to enforce SCC
in AP+STA+AP case

Change-Id: I5b581142abb02a9209200ee21fb6a2e1fbc18795
CRs-Fixed: 2133126
2017-10-26 23:48:13 -07:00
snandini
19fb9579fc Release 5.2.0.51N
Release 5.2.0.51N

Change-Id: I244bfe9fe2a0bd8525da216543b99c5d79ee79b8
CRs-Fixed: 774533
2017-10-26 21:49:26 -07:00
Yun Park
4625568612 qcacld-3.0: Rework HDD IPA stats
Rework WLAN IPA uC stats:
-IPA resource info
-IPA session info
-HDD IPA TX/RX stats
-WLAN FW WDI stats
-IPA WDI stats
Update HDD IPA private data dump
Remove deprecated stats in qcacld-3.0

Change-Id: I8f5170116156b48530ebb3f04f0a9f377972860c
CRs-Fixed: 2124144
2017-10-26 21:49:26 -07:00
Yun Park
199c2ed245 qcacld-3.0: Add warning log for IPA session control critical code path
Add warning log at the critical code path of IPA session transition
for the race condition detection
Set INFO log level to enter/exit logs for IPA session transition
code path.

Change-Id: I5089db5f53d13e5f78093171672ad86f7bd1cdc2
CRs-Fixed: 2124144
2017-10-26 21:49:24 -07:00