Commit Graph

12586 Commits

Author SHA1 Message Date
Jeff Johnson
541943ee35 qcacld-3.0: Rename pMac in lim_process_tdls.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_process_tdls.c

Change-Id: I3b61614741453426f58b0397a577178cf7c2ecfa
CRs-Fixed: 2356087
2018-11-27 03:45:12 -08:00
Jeff Johnson
b97bdce965 qcacld-3.0: Rename pMac in lim_process_mlm_rsp_messages.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_process_mlm_rsp_messages.c

Change-Id: I2f97e79a16094dc5ddffd7b0218bad4f2acd027d
CRs-Fixed: 2356099
2018-11-27 03:45:07 -08:00
nshrivas
aafd30eb11 Release 5.2.0.108N
Release 5.2.0.108N

Change-Id: I843d83703dc79e115491afe9d5569a8aa9bfbe66
CRs-Fixed: 774533
2018-11-27 02:01:27 -08:00
Jeff Johnson
665ac9f1af qcacld-3.0: Rename pMac in parser_api
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
parser_api.c
parser_api.h

Change-Id: I199afc9488c6ef32cbc054ef59f10879da83bccc
CRs-Fixed: 2356104
2018-11-27 02:01:26 -08:00
Jeff Johnson
df2d79ed90 qcacld-3.0: Rename pMac in csr_neighbor_roam
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
csr_neighbor_roam.h
csr_neighbor_roam.c

Change-Id: I31fb8c8aa9d715a59c79cf041760e216d3032023
CRs-Fixed: 2356100
2018-11-27 02:01:22 -08:00
nshrivas
343fef21f6 Release 5.2.0.108M
Release 5.2.0.108M

Change-Id: I411b32562e1d0911046e3f41f940170e99de12d5
CRs-Fixed: 774533
2018-11-27 00:31:45 -08:00
Jeff Johnson
1e5de5a9ce qcacld-3.0: Rename pMac in lim_timer_utils.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_timer_utils.c

Change-Id: Ic36992dbbe9a672fc493b2b45bac163810d5e1e3
CRs-Fixed: 2355455
2018-11-27 00:31:45 -08:00
Jeff Johnson
5b6789c154 qcacld-3.0: Rename pMac in CFG
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
cfg_api.c
cfg_proc_msg.c
cfg_send_msg.c
cfg_api.h

Change-Id: I20ea98409b365229fb1c1f1330072118cb410dca
CRs-Fixed: 2356106
2018-11-27 00:31:41 -08:00
Jeff Johnson
1fb8d88e99 qcacld-3.0: Rename pMac in misc MAC files
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
ani_global.h
mac_trace.h

Change-Id: I4585dbda350e5e8da3970266b3809edec82c8973
CRs-Fixed: 2355462
2018-11-27 00:31:36 -08:00
nshrivas
0fb62a4882 Release 5.2.0.108L
Release 5.2.0.108L

Change-Id: I444408cbed52f534b3c5909781f4caab87b4762e
CRs-Fixed: 774533
2018-11-26 22:54:43 -08:00
Jeff Johnson
348973e7a4 qcacld-3.0: Rename pMac in misc LIM files
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_admit_control.c
lim_admit_control.h
lim_aid_mgmt.c
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_rsp_frame.c
lim_process_auth_frame.c
lim_process_cfg_updates.c
lim_process_deauth_frame.c
lim_process_disassoc_frame.c
lim_process_mlm_host_roam.c
lim_process_probe_req_frame.c
lim_prop_exts_utils.c
lim_prop_exts_utils.h
lim_reassoc_utils.c
lim_scan_result_utils.c
lim_scan_result_utils.h
lim_send_frames_host_roam.c
lim_ser_des_utils.c
lim_ser_des_utils.h
lim_session.c
lim_session.h
lim_session_utils.h
lim_sme_req_utils.c
lim_sta_hash_api.c
lim_sta_hash_api.h
lim_trace.c
lim_trace.h
lim_types.h

Change-Id: I64638afc1b6805310e7588f972d19e330deb9ff3
CRs-Fixed: 2355461
2018-11-26 22:54:42 -08:00
Jeff Johnson
5cce7a0d0f qcacld-3.0: Rename pMac in lim_process_message_queue.c
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_process_message_queue.c

Change-Id: I812dd98f764707e19a8b32b7eafdc2a6bb07f236
CRs-Fixed: 2355457
2018-11-26 22:54:39 -08:00
Jeff Johnson
c2bafb3e45 qcacld-3.0: Rename pMac in lim_security_utils
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_security_utils.c
lim_security_utils.h

Change-Id: I90e8e20148a6314ac7a53d71ce9bc5838c1d5d86
CRs-Fixed: 2355458
2018-11-26 22:54:35 -08:00
Jeff Johnson
3af63d0b31 qcacld-3.0: Rename pMac in lim_send_messages
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

For this change rename all instances of "pMac" to "mac" in:
lim_send_messages.c
lim_send_messages.h

Change-Id: I65177c603694d8d3075b015a8efae130bfefa817
CRs-Fixed: 2355459
2018-11-26 18:02:23 -08:00
nshrivas
b46da4d160 Release 5.2.0.108K
Release 5.2.0.108K

Change-Id: If81b122c131b7d57040f62d3e2103445067b4c53
CRs-Fixed: 774533
2018-11-24 00:36:05 -08:00
Nirav Shah
36332214f0 qcacld-3.0: Do not unmap mgmt buffer on tx completion for HL
Do not unmap mgmt buffer on tx completion for HL.

Change-Id: Ia3a9986a891d44a8983d5f90d7b84c15368a3328
CRs-Fixed: 2353725
2018-11-24 00:36:05 -08:00
nshrivas
cf75033d3f Release 5.2.0.108J
Release 5.2.0.108J

Change-Id: I36a6bf5abac4fc8f59185d94eb6f83768a14e4cd
CRs-Fixed: 774533
2018-11-23 18:46:38 -08:00
Jeff Johnson
1d7848841e qcacld-3.0: Replace tpPESession in parser_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in parser_api.

Change-Id: Id660547b461a3fed98cc9edfc4d0731ceac69336
CRs-Fixed: 2353401
2018-11-23 18:46:38 -08:00
Jeff Johnson
0c1a990075 qcacld-3.0: Replace tpPESession in nan_datapath
To align with the Linux coding style replace tpPESession with struct
pe_session * in nan_datapath.

Change-Id: I2837ca8190d6e8246baf2a5ad1ba9b0cca401cd6
CRs-Fixed: 2353400
2018-11-23 18:46:34 -08:00
Jeff Johnson
db3fb77102 qcacld-3.0: Replace tpPESession in cfg_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in cfg_api.

Change-Id: I185237935dcc1edf2242bafce71784fcf8b914b0
CRs-Fixed: 2353399
2018-11-23 18:46:30 -08:00
nshrivas
6aa71e422c Release 5.2.0.108I
Release 5.2.0.108I

Change-Id: I46f6cde13707070419097cc91a88d099b87a8e65
CRs-Fixed: 774533
2018-11-23 17:18:30 -08:00
Jeff Johnson
59104488cb qcacld-3.0: Replace tpPESession in sme
To align with the Linux coding style replace tpPESession with struct
pe_session * in sme.

Change-Id: I8f716b9b29fa694182c5750d40ec9bd2ddf99fd5
CRs-Fixed: 2353398
2018-11-23 17:18:29 -08:00
nshrivas
e8b847411a Release 5.2.0.108H
Release 5.2.0.108H

Change-Id: Ic1ff3c060bb772fd25f36688ac0d51b275aca6bd
CRs-Fixed: 774533
2018-11-23 15:46:20 -08:00
Abhishek Singh
d10262551e qcacld-3.0: Add Roaming consortium sel OUI support in frame parser
Adds support for Roaming consortium selection OUI
(0x50, 0x6f, 0x9a, 0x1d) in frame parser.

Change-Id: Ib17eb712a30713f1798969a5565f685333aa6bcc
CRs-Fixed: 2353999
2018-11-23 15:46:19 -08:00
nshrivas
d4e59589c9 Release 5.2.0.108G
Release 5.2.0.108G

Change-Id: I179e497e1e5f38eb5fd7a122be02963a93597eb1
CRs-Fixed: 774533
2018-11-23 13:10:36 -08:00
Ajit Pal Singh
6190ca2861 qcacld-3.0: Do not unmap mgmt_tx nbuf for HL
Do not unmap mgmt_tx nbuf for HL as the mgmt_tx nbuf is not mapped
in case of HL.

Change-Id: I1e7bf3af09dea357075d897974d3a59e0b439ae4
CRs-Fixed: 2349234
2018-11-23 13:10:35 -08:00
nshrivas
67b3174f42 Release 5.2.0.108F
Release 5.2.0.108F

Change-Id: I2efca3664983b20f5f76dad41d04895c5c92d653
CRs-Fixed: 774533
2018-11-23 05:12:32 -08:00
Abhishek Singh
0d0568a647 qcacld-3.0: Purge all active and pending cmds during SSR
During Vdev start/restart LimProcessDefdMsgs is set to false. If
start/restart timeouts, it will initiate SSR but will not send
response to LIM and thus gLimProcessDefdMsgs will not set to true.
Thus no other commands will be processed in LIM. If any command is
queued in serialization during this time it will timeout.

This will eventually lead to timeout of the vdev destroy command as
it won't get processed until the command in active queue timeout and
it leads to peer and vdev refcount leaks.

To fix it purge all active and pending cmds during SSR, so that vdev
destroy cmd can be processed immediately and can release vdev/peer
ref count.

Change-Id: Id5c15ccb4c27dabfdd4a9e0d7ee9b765130e03bf
CRs-Fixed: 2354899
2018-11-23 05:12:31 -08:00
nshrivas
69b9aba70d Release 5.2.0.108E
Release 5.2.0.108E

Change-Id: I98f1b994d54dced7759412c3df5a85975a6b5a4c
CRs-Fixed: 774533
2018-11-23 03:38:28 -08:00
jitiphil
b03ae08244 qcacld-3.0: Relocate HDD DP ini items
Relocate below HDD DP ini items as per convergedinfrastructure.

1. enable_dp_trace
2. gDptraceConfig
3. gEnableNUDTracking

Change-Id: I1938c3f5ab8164e792cb9b1c76e6afa79444bd6f
CRs-Fixed: 2347598
2018-11-23 03:38:27 -08:00
Vignesh Viswanathan
ecd4de72ad qcacld-3.0: Cleanup HT Related CFG/INI Items
Cleanup multiple HT related CFG/INI Items which are already moved to the
MLME component.
Also move gShortSlotTimeEnabled INI from HDD to MLME component

Change-Id: Ie8c19f508401d4d72990f35ea5dcc18d45f0f16b
CRs-Fixed: 2354687
2018-11-23 03:38:24 -08:00
jitiphil
8e15ea6d1e qcacld-3.0: Relocate legacy DP INI items
Relocate below legacy  DP ini items as per
converged infrastructure.

1. maxMSDUsPerRxInd
2. gEnableTxSchedWrrVO
3. gEnableTxSchedWrrVI
4. gEnableTxSchedWrrBE
5. gEnableTxSchedWrrBK

Change-Id: Iebded11869c55c1797f0521af05585284f46f544
CRs-Fixed: 2351663
2018-11-23 03:38:20 -08:00
nshrivas
9de928ccfc Release 5.2.0.108D
Release 5.2.0.108D

Change-Id: I808aecbd3c64bbbb55f671fa4a22ffdf08b6ebc3
CRs-Fixed: 774533
2018-11-23 02:00:07 -08:00
Yu Ouyang
58648a57f3 qcacld-3.0: fix wlan driver reload issue without CNSS module
Currently, driver without CNSS module can't be unloaded when firmware
crashed. Without CNSS module, driver should set recovery in progress
flag to false when fw dump finished or failed. Driver should add ramdump
memory address and length too.

Change-Id: I672c50bd90ada7ff47ddff64ff3b313a75faff13
CRs-Fixed: 2343124
2018-11-23 02:00:06 -08:00
Jeff Johnson
9c5b3cf83c qcacld-3.0: Replace tpPESession in lim_process_fils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_fils.

Change-Id: I319b7663f878fe4344e40a2ead793cc0eae6e804
CRs-Fixed: 2354283
2018-11-23 02:00:02 -08:00
Jeff Johnson
4a07a9b195 qcacld-3.0: Replace typedef tComebackTimerInfo
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.
One instance is the following field in typedef tComebackTimerInfo:
-       tpAniSirGlobal pMac;

In order to meet the needs of the campaign all that is really needed
is to rename this field and modify all accesses to this field. However
note that the Linux coding style also objects to typedefs except in a
few cases, and the use case for tComebackTimerInfo does not apply.
Therefore to address the larger problem replace the tComebackTimerInfo
typedef with an appropriately named struct with appropriately named
fields.

Change-Id: I397af122fdf8a2b15fc829411698150ae8b7ef94
CRs-Fixed: 2354998
2018-11-22 20:05:53 -08:00
nshrivas
8e3314ada6 Release 5.2.0.108C
Release 5.2.0.108C

Change-Id: Ia6835f7b5a5f9e43217b26f35b2b2e59aabd5043
CRs-Fixed: 774533
2018-11-22 19:53:23 -08:00
Jeff Johnson
6fee48b212 qcacld-3.0: Replace typedef tCsrTimerInfo
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged." One identifier
used extensively throughout the driver that violates both of these
tenants is "pMac." In order to be compliant with the Linux coding
style there is a campaign to rename all instances of this identifier.

One instance is the following field in typedef tCsrTimerInfo:
-       tpAniSirGlobal pMac;

In order to meet the needs of the campaign all that is really needed
is to rename this field and modify all accesses to this field. However
note that the Linux coding style also objects to typedefs except in a
few cases, and the use case for tCsrTimerInfo does not apply.
Therefore to address the larger problem replace the tCsrTimerInfo
typedef with an appropriately named struct with appropriately named
fields.

Change-Id: I0bddcbe1057611d4c6e586358f64a29fb4049776
CRs-Fixed: 2354421
2018-11-22 19:53:22 -08:00
nshrivas
f89fa6e0c1 Release 5.2.0.108B
Release 5.2.0.108B

Change-Id: Icfcd95a2c897d238afe89fcd54194387bb3f4c50
CRs-Fixed: 774533
2018-11-22 18:18:05 -08:00
Vignesh Viswanathan
ed7041d20e qcacld-3.0: Remove Unused gEnableSSR INI
Removed Unused gEnableSSR INI and related code

Change-Id: Ie768c44b4c2fbfdaff798ab3043c7391b2fb8b40
CRs-Fixed: 2354839
2018-11-22 18:18:05 -08:00
Bala Venkatesh
3d786ebe08 qcacld-3.0: Refactor SAP ini items
Refactor ini items gSapForce11NFor11AC and gGoForce11NFor11AC
into new mlme component.

Change-Id: I85e2f7f9ae14a23c322572290b095aae0f29b0ec
CRs-Fixed: 2354940
2018-11-22 18:18:01 -08:00
Jeff Johnson
4fc88ce543 qcacld-3.0: Remove csr_get_disassoc_rsp_status_code()
Function csr_get_disassoc_rsp_status_code() is unused, so remove it.

Change-Id: Ifda76e7916eca8bc6ee6da41d972bf621ef4be38
CRs-Fixed: 2353537
2018-11-22 18:17:57 -08:00
Jeff Johnson
47c9837f6d qcacld-3.0: Replace tpPESession in ani_global.h
To align with the Linux coding style replace tpPESession with struct
pe_session * in ani_global.h.

Change-Id: I201febaf023f3c5c04761a16a3d6b149d3172957
CRs-Fixed: 2353397
2018-11-22 18:17:54 -08:00
nshrivas
7c2014a684 Release 5.2.0.108A
Release 5.2.0.108A

Change-Id: I38cee11ea82db6a32138cb4b9f0fa579a1b039c9
CRs-Fixed: 774533
2018-11-22 16:38:32 -08:00
jitiphil
ebf3a9204f qcacld-3.0: New HTT H2T msg support
Current HTT_H2T messages from host driver does not have
consistency in message length set by host driver. Some
message types include HTC header length also within the
message length, while other types have message length
itself only.

Fix the same by sending same message format based on
firmware capability.

Change-Id: I885a21530a2d8f852387ae54cf7ee0751aad2516
CRs-Fixed: 2145560
2018-11-22 16:38:32 -08:00
nshrivas
b5333945b8 Release 5.2.0.108
Release 5.2.0.108

Change-Id: I47dc68fa86c4106f97823eb7a6d1be7c0bbfe9e4
CRs-Fixed: 774533
2018-11-22 13:27:46 -08:00
Vignesh Viswanathan
793328d6c7 qcacld-3.0: Set last beacon report indication for last report in last frame
Currently all the reports in the last beacon report frame has the
last beacon report indication field set to 1.

Set the last beacon report indication field to 1 only for the last
report in the last frame.

Change-Id: I7c824fc2ba0d26eae906c53b7ebd7c6111fc2379
CRs-Fixed: 2343956
2018-11-22 13:27:45 -08:00
Vignesh Viswanathan
23bec9819c qcacld-3.0: Set last beacon report indication support based on request
Set the last beacon report indication support in the beacon response
based on the last beacon report indication sub element in the beacon
report request received from the AP.

Change-Id: Ibe190e23379b56af9272368b96cf912e1512f650
CRs-Fixed: 2342697
2018-11-22 13:27:41 -08:00
Vignesh Viswanathan
09bd8f46dd qcacld-3.0: Fix Reported Frame Body Frag ID and last beacon report
Add changes to implement the correct Reported Frame Body Frag ID and
last beacon report indication sub-elements for beacon report action
frame

Change-Id: I3776a239c2e0b04d35c2adb58598016b927154c6
CRs-Fixed: 2342678
2018-11-22 13:27:36 -08:00
nshrivas
d26c67aa00 Release 5.2.0.107Z
Release 5.2.0.107Z

Change-Id: Ic1f51de84ee2929dad507000e176b7895c16376f
CRs-Fixed: 774533
2018-11-22 11:56:09 -08:00