Commit Graph

11807 Commits

Author SHA1 Message Date
Jianmin Zhu
d0ab26143d qcacld-3.0: Use converged cmd types for STA and SAP
For STA connect/disconnect, SAP start/stop relative cmds, just
use following serialization command types:
Converged cmd types:
	WLAN_SER_CMD_VDEV_START_BSS
	WLAN_SER_CMD_VDEV_STOP_BSS
	WLAN_SER_CMD_VDEV_CONNECT
	WLAN_SER_CMD_VDEV_DISCONNECT
	WLAN_SER_CMD_VDEV_RESTART

Change-Id: I533f650e1f69048d6861751ab74f75d8d5f18c83
CRs-Fixed: 2318545
2018-11-30 02:22:51 -08:00
nshrivas
53d445288d Release 5.2.0.109B
Release 5.2.0.109B

Change-Id: Ie0aa3130ed6899e06496bb4964cdb2cb16473836
CRs-Fixed: 774533
2018-11-29 23:33:21 -08:00
Dustin Brown
7d038e52b4 qcacld-3.0: Use vtable for unit test ioctl
Convert the current hard-coded list of unit-test callbacks in
hdd_we_unit_test() to a vtable. This streamlines future additions.

Change-Id: I216bbb6699ae50eaa96ac559999cb42ba080867c
CRs-Fixed: 2358606
2018-11-29 23:33:20 -08:00
nshrivas
9f383bfc0b Release 5.2.0.109A
Release 5.2.0.109A

Change-Id: I15597d178279c05e61aeeede1341d052d899cb6c
CRs-Fixed: 774533
2018-11-29 18:12:02 -08:00
Rachit Kankane
b763144737 qcacld-3.0: Enable legacy MC/BC filtering
Compile MC/BC filtering feature without WLAN_FEATURE_PACKET_FILTERING
feature

Change-Id: I783e3a04c148dab493f762f9cf2d55e4975e2b02
CRs-Fixed: 2328317
2018-11-29 18:12:01 -08:00
Mohit Khanna
4079b4b464 qcacld-3.0: Remove un-initialized lock from DP thread
DP RX thread is using an un-initialized lock during suspend/resume
routine. This lock is not needed as the code is executed only by a
single execution context.

Remove usage of un-initialized lock.

CRs-Fixed: 2351010
Change-Id: I656562fe3ca73a5044163008a44ffae416a6a7fa
2018-11-29 18:11:58 -08:00
Arif Hussain
178f35f013 qcacld-3.0: Refactor TWT cfg
Refactor following TWT cfg items.
CFG_BCAST_TWT
CFG_ENABLE_TWT
CFG_TWT_RESPONDER
CFG_TWT_REQUESTOR
CFG_TWT_CONGESTION_TIMEOUT

Change-Id: Iad0c2ed0893513cc98bf12ec39d111b78c6e9d1f
CRs-Fixed: 2349558
2018-11-29 18:11:55 -08:00
Manjunathappa Prakash
31973145c8 qcacld-3.0: Takecare to stop and down vdev in monitor mode
In monitor mode there is no disconnect, so vdev stop and down is
not handled. Make sure to stop and down the vdev before vdev delete.

Change-Id: I25f5a0e01deda8f2e16e102113b10f32e89b3e38
CRs-Fixed: 2357047
2018-11-29 18:11:51 -08:00
Wu Gao
51a6356b60 qcacld-3.0: Apply second part of LFR INIs changes
Since refined second part of LFR INIs, apply these changes in
SME/MAC/WMA layer.

Change-Id: I7994a9038d5bd094ce23bcd525ef8f5282974bfc
CRs-Fixed: 2346790
2018-11-29 18:11:48 -08:00
Wu Gao
1ab0558127 qcacld-3.0: Apply second part of LFR INIs changes in HDD layer
Since refined second part of LFR INIs, apply these changes in HDD
layer. Delete related legacy codes in HDD layer.

Change-Id: Id39629e33e87ffe6ed58f375609a55e324618693
CRs-Fixed: 2346787
2018-11-29 18:11:42 -08:00
Wu Gao
4f8938a510 qcacld-3.0: Refactor one mlme sta INI
Based on new cfg component, refactor CFG_TX_POWER_CTRL_NAME and clean
up related legacy codes.

Change-Id: I6dd317d5065c4111b71a9fe94d9b9af1f7d3d664
CRs-Fixed: 2355918
2018-11-29 18:11:38 -08:00
Jeff Johnson
c8baa90f9e qcacld-3.0: Replace tpPESession in lim_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_utils.

Change-Id: Icdc8a2de69a676aa54d7f13b3373dc872ccb8889
CRs-Fixed: 2354269
2018-11-29 18:11:35 -08:00
Jeff Johnson
a14b0b39d1 qcacld-3.0: Replace tpPESession in lim_ft
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ft.

Change-Id: I3e4409755a53e31d2a39410ad5afd477cf80322a
CRs-Fixed: 2354282
2018-11-29 18:11:32 -08:00
Jeff Johnson
46593eaf3a qcacld-3.0: Replace tpPESession in lim_send_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_messages.

Change-Id: Ib5154a8e0b9d1496aeac8bf5b5afa81e977e3940
CRs-Fixed: 2354273
2018-11-29 18:11:28 -08:00
Jeff Johnson
32ce2ff108 qcacld-3.0: Replace tpPESession in lim_prop_exts_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_prop_exts_utils.

Change-Id: I9600beefca0c83f22d7d10f2c7d2f7d3a5c185a0
CRs-Fixed: 2354274
2018-11-29 18:11:25 -08:00
Jeff Johnson
1f90b7d211 qcacld-3.0: Replace tpPESession in lim_admit_control
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_admit_control.

Change-Id: Ie033e25175d52c8b2bf19f2fa2266990580c9db1
CRs-Fixed: 2354272
2018-11-29 18:11:22 -08:00
Jeff Johnson
d7035a3c41 qcacld-3.0: Replace tpPESession in lim_send_sme_rsp_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_sme_rsp_messages.

Change-Id: I2b55ab412988dedd8d4edacb82f7008dcf90a6fe
CRs-Fixed: 2354271
2018-11-29 18:11:19 -08:00
Jeff Johnson
2b0d20fe2b qcacld-3.0: Replace tpPESession in lim_types
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_types.

Change-Id: Ida4a6fe462ae1fbb9e244e3d142b28db125f9261
CRs-Fixed: 2354270
2018-11-29 18:11:16 -08:00
Bala Venkatesh
02d5235a7c qcacld-3.0: Use htcap_cmn_ie as in structure sSirTdlsAddStaReq
Currently, in struct sSirTdlsAddStaReq, unpacked member
sSirHtCap is used. But, in the similar TDLS component
structure tdls_add_sta_req, packed struct
htcap_cmn_ie is used. While typecasting there is possibility
of padding of some bytes which results in wrong values.

Change-Id: Ic7a561d82640dac72c3c973e51ba97b90e211fa5
CRs-Fixed: 2343375
2018-11-29 18:11:13 -08:00
hangtian
9c47aafee3 qcacld-3.0: Stop tsf sync before hdd_wlan_exit and hdd_wlan_shutdown
Stop tsf sync before hdd_wlan_exit and hdd_wlan_shutdown

Change-Id: Icda5ea64eea9957cd878e7999a041d6b12082ce8
CRs-Fixed: 2354768
2018-11-29 18:11:09 -08:00
hangtian
b95e63b5a1 qcacld-3.0: Extend max psk_pmk size to 48, avoid overflow issue
Extend max psk_pmk size to 48, avoid overflow issue. For
WPA-EAP-SUITE-B-192 key_mgmt AP, pmk_len is up to 48 bytes.

Change-Id: I41397283e9ef2d452b7d9d40e9ddffbfb8a676ac
CRs-Fixed: 2353860
2018-11-29 18:11:07 -08:00
hangtian
e52fa917b9 qcacld-3.0: Fix uninitialized issue while BMI failed
Initialize gp_cds_context->cfg_ctx before any error case happened and
goto err_wma_close. Otherwise, in wma_wmi_service_close, it's trying to
free uninitialized gp_cds_context->cfg_ctx.

Change-Id: I822ecf77676b9d638c414afb544fdb41d7b1d146
CRs-Fixed: 2355042
2018-11-29 18:11:04 -08:00
Abhishek Singh
ea9e8bcf92 qcacld-3.0: Fix NULL SSID filled in connected roam profile
Connected roam profile's SSID is used to get the BSS entry from kernel
and indicate the same to kernel in cfg80211_connect_bss. If the
roam profile's SSID is NULL, the BSS entry indicated to kernel is
with NULL SSID and this result in disconnect from supplicant as
it assume that SSID of AP changed.

Fix is to fill the SSID in connected roam profile from roam profile
if SSID is NULL in beacon.

Change-Id: Ie42eceb50b6af551ac1f4ca7d37b73eff107dfbd
CRs-Fixed: 2349572
2018-11-29 18:11:01 -08:00
Will Huang
3f7cb65660 qcacld-3.0: Take count PACKET_FILTER_MATCH into wakeup stats
Currently WOW_REASON_PACKET_FILTER_MATCH is not taken count into wakeup
stats, we can add this wakeup reason to unicast/multicast stats like
Pattern Bitmap Match.

Change-Id: I801e1dcd5a75c694f138cb01f588e2c4ea16502a
CRs-Fixed: 2350437
2018-11-29 18:10:58 -08:00
jiad
391c528b3e qcacld-3.0: Properly featurize mobile router
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of mobile router, so fix the
featurization.

Change-Id: Ic9e1f608bc631409fbb5bcf84fc3f4520d69a7c9
CRs-Fixed: 2355786
2018-11-29 18:10:55 -08:00
Jeff Johnson
982fe968a5 qcacld-3.0: Rename pMac within documentation
A recent set of changes renamed all instances of the identifier "pMac"
in the driver. However some instances inside documentation comments
were missed, so rename those as well.

Change-Id: Ib06da00102c1e37ed9a058ab8d90646586b1f487
CRs-Fixed: 2357850
2018-11-29 18:10:51 -08:00
jiad
ff1ac139a2 qcacld-3.0: Properly featurize NAN
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of NAN, so fix the featurization.

Change-Id: Ib5cd54b2d443ced73c9b99218ce28d3eb0ba8786
CRs-Fixed: 2355789
2018-11-29 18:10:48 -08:00
nshrivas
9f09dc4051 Release 5.2.0.109
Release 5.2.0.109

Change-Id: I0882dc60aef02caa3ecb89d07c74ba3e7b2d934d
CRs-Fixed: 774533
2018-11-29 12:35:16 -08:00
Jeff Johnson
0d6c3c8077 qcacld-3.0: Replace tpPESession in sch_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in sch_api.

Change-Id: I416e6d8d72bc54e5a2e5754a51c35c70ec77a47d
CRs-Fixed: 2354268
2018-11-29 12:35:16 -08:00
Jeff Johnson
3a30273af1 qcacld-3.0: Remove limCheckAndQuietBSS() prototype
LIM exports a prototype for limCheckAndQuietBSS(), but that function
no longer exists in the driver, so remove the prototype.

Change-Id: I4aa4638309af402b005fe98ed1795e3ac4414e83
CRs-Fixed: 2357633
2018-11-29 12:35:12 -08:00
Jeff Johnson
66845caf2e qcacld-3.0: Replace tpPESession in rrm_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in rrm_api.

Change-Id: I5de1d79b0a14b9cd36d119b2fd1390b2cc9ee635
CRs-Fixed: 2354267
2018-11-29 12:35:08 -08:00
nshrivas
5df62c1a47 Release 5.2.0.108Z
Release 5.2.0.108Z

Change-Id: I947cb3a02d700a48cee8797828e69efd996b656f
CRs-Fixed: 774533
2018-11-28 14:35:01 -08:00
Pragaspathi Thilagaraj
4b5c0601a2 qcacld-3.0: Add the MLME CFG items to new MLME component
Add the following mlme cfg items:
CFG_AP_PROTECTION_MODE_NAME
CFG_AP_OBSS_PROTECTION_MODE_NAME
CFG_AP_STA_SECURITY_SEPERATION_NAME
CFG_ENABLE_BT_CHAIN_SEPARATION
CFG_AP_QOS_UAPSD_MODE_NAME

Change-Id: Iabdfb7c2492c234cfc3e8f71f33801f0034e578d
CRs-Fixed: 2350626
2018-11-28 14:35:01 -08:00
nshrivas
85a6badcd3 Release 5.2.0.108Y
Release 5.2.0.108Y

Change-Id: I662f82a0e8ff4f5b82c41c23bf4aba2ce4d109f9
CRs-Fixed: 774533
2018-11-28 12:54:03 -08:00
Jeff Johnson
95f5a5ea4e qcacld-3.0: Replace tpPESession in lim_process_cfg_updates
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_cfg_updates.

Change-Id: I137c38a1891f22e83a6dbc05d0be223984becd37
CRs-Fixed: 2354305
2018-11-28 10:54:39 -08:00
Jeff Johnson
04881ad814 qcacld-3.0: Replace tpPESession in lim_process_deauth_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_deauth_frame.

Change-Id: Ic411507e99c5444b5590b261745124dacf9f2f88
CRs-Fixed: 2354303
2018-11-28 10:54:39 -08:00
Jeff Johnson
9bbc99fceb qcacld-3.0: Replace tpPESession in lim_process_beacon_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_beacon_frame.

Change-Id: Ib788d9bc8a299911f4158a21ba769784601d8bef
CRs-Fixed: 2354304
2018-11-28 10:54:39 -08:00
Jeff Johnson
a5f24426bc qcacld-3.0: Replace tpPESession in lim_link_monitoring_algo
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_link_monitoring_algo.

Change-Id: Iee20069f2d11cd40d8f8dd48bb68d899666e2cdc
CRs-Fixed: 2354300
2018-11-28 10:54:39 -08:00
Jeff Johnson
a8a2f0c41c qcacld-3.0: Replace tpPESession in lim_process_disassoc_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_disassoc_frame.

Change-Id: I38cb80046e74732e0f7631f2f278ece9742bd92c
CRs-Fixed: 2354301
2018-11-28 10:54:39 -08:00
Jeff Johnson
b5b235f842 qcacld-3.0: Replace tpPESession in lim_process_message_queue
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_message_queue.

Change-Id: Iec676555f82963301d3eca469a0b439ea30a80d8
CRs-Fixed: 2354299
2018-11-28 10:54:39 -08:00
Jeff Johnson
a18307131c qcacld-3.0: Replace tpPESession in lim_aid_mgmt
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_aid_mgmt.

Change-Id: Iacef1a336b058b86595d1fa43dc63af4c6f416f4
CRs-Fixed: 2354298
2018-11-28 10:54:39 -08:00
Jeff Johnson
82e779ee89 qcacld-3.0: Replace tpPESession in lim_process_assoc_rsp_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_rsp_frame.

Change-Id: Ibba43c49b6d2f614e1eb63088a9d780200b4a7a7
CRs-Fixed: 2354294
2018-11-28 10:54:38 -08:00
Jeff Johnson
32a9ef43b5 qcacld-3.0: Replace tpPESession in lim_process_mlm_host_roam
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_host_roam.

Change-Id: I7dd0f7dd45a593fc0e5e7e7bb836c0e0a97e267f
CRs-Fixed: 2354297
2018-11-28 10:54:38 -08:00
Jeff Johnson
c520011d3e qcacld-3.0: Replace tpPESession in lim_process_probe_rsp_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_probe_rsp_frame.

Change-Id: I788bb969b21dc31d615d0d274a87bc62541fdf5e
CRs-Fixed: 2354291
2018-11-28 10:54:38 -08:00
Jeff Johnson
f19e3f1536 qcacld-3.0: Replace tpPESession in lim_reassoc_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_reassoc_utils.

Change-Id: I912b8c11cb482cb715151706974ceba46d82cd03
CRs-Fixed: 2354292
2018-11-28 10:54:38 -08:00
Jeff Johnson
653e4b0c3b qcacld-3.0: Replace tpPESession in lim_send_frames_host_roam
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_frames_host_roam.

Change-Id: Ifde373ed37e42a937542bb90fd9a0be833592b36
CRs-Fixed: 2354287
2018-11-28 10:54:38 -08:00
Jeff Johnson
202e328b97 qcacld-3.0: Replace tpPESession in lim_process_probe_req_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_probe_req_frame.

Change-Id: I2af971007a8095eec5a1d4d7874411ccfe82230a
CRs-Fixed: 2354286
2018-11-28 10:54:38 -08:00
Jeff Johnson
94b1aba6d7 qcacld-3.0: Replace tpPESession in lim_sta_hash_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_sta_hash_api.

Change-Id: Ie39876d289a2e3ebde74e0f69d9e0bcfeff10d74
CRs-Fixed: 2354278
2018-11-28 10:54:38 -08:00
Jeff Johnson
396299ab7b qcacld-3.0: Replace tpPESession in lim_timer_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_timer_utils.

Change-Id: Ie5a41f3d155bc0827234d9c10b80b1d06fe8f98a
CRs-Fixed: 2354277
2018-11-28 10:54:38 -08:00
Jeff Johnson
80a93f9b0d qcacld-3.0: Replace tpPESession in lim_sme_req_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_sme_req_utils.

Change-Id: I714e1716a1cea8e7cecd44eb9089a7dc8ec02493
CRs-Fixed: 2354276
2018-11-28 10:54:38 -08:00
Jeff Johnson
f1cc32e6dc qcacld-3.0: Replace tpPESession in lim_security_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_security_utils.

Change-Id: I5617e1d327b2761aab7c5c3c72f54b26fea014ab
CRs-Fixed: 2354275
2018-11-28 10:54:38 -08:00
nshrivas
2eb162e1b1 Release 5.2.0.108X
Release 5.2.0.108X

Change-Id: Ie092a82a75db619d2ab3abcea9d39133e5ebc30e
CRs-Fixed: 774533
2018-11-28 09:35:07 -08:00
Ashish Kumar Dhanotiya
68ee2e4c50 qcacld-3.0: Reset wow pattern on vdev destroy
Currently if a vdev is destroyed, wow patterns are not
getting cleared for that vdev, so when a new vdev is
created, host tries to configure new wow patterns for
this new vdev but due to FW limitations on number of
wow patterns that can be maintained at FW, FW is not
able to act on this filter and will not maintain this
new wow filter.

To resolve this issue, clear the wow patterns for the
vdev before it gets destroyed.

Change-Id: Iae7ad8b683c95d8eaf11355bc0e36b91cece2202
CRs-Fixed: 2344337
2018-11-28 09:35:06 -08:00
nshrivas
976559c951 Release 5.2.0.108W
Release 5.2.0.108W

Change-Id: I3e947f494c2fec99f28823cdf43ef9ed6822ee94
CRs-Fixed: 774533
2018-11-28 07:39:34 -08:00
Vignesh Viswanathan
5a3c8bebec qcacld-3.0: Include "wlan_tgt_def_config_hl.h" under CONFIG_HL_SUPPORT
In hdd_config.h file, wlan_tgt_def_config_hl.h is included without checking
for the flag CONFIG_HL_SUPPORT which could lead to compilation issues if
CONFIG_HL_SUPPORT is not defined for a PL.

Include wlan_tgt_def_config_hl.h under the correct CONFIG_HL_SUPPORT
flag.

Change-Id: Ia01b79e47b9ea504a93c96575599068218ef8671
CRs-Fixed: 2357292
2018-11-28 07:39:33 -08:00
Wu Gao
fc81ecf914 qcacld-3.0: Refactor one INI about obss ht40
Based on new cfg component, refactor INI CFG_OVERRIDE_HT40_20_24GHZ_NAME
and remove legacy codes.

Change-Id: I5b4ed96a4930a9358bd93ee809bf5cddb2787fb4
CRs-Fixed: 2354476
2018-11-28 07:39:29 -08:00
nshrivas
e9c82f679e Release 5.2.0.108V
Release 5.2.0.108V

Change-Id: Id5df85e24600e807be8b91e59ed27653d2f44041
CRs-Fixed: 774533
2018-11-28 05:29:30 -08:00
Jeff Johnson
35c58a8a1a qcacld-3.0: Rename pMac in lim_send_sme_rsp_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_sme_rsp_messages.c
lim_send_sme_rsp_messages.h

Change-Id: I4857d648327a2568ef0177718c9f1ac703ab2fdd
CRs-Fixed: 2355454
2018-11-28 05:29:30 -08:00
nshrivas
da897053bd Release 5.2.0.108U
Release 5.2.0.108U

Change-Id: I6ed7f8df63c9f530cfb7c5f13d4c139e842fcc97
CRs-Fixed: 774533
2018-11-28 03:57:06 -08:00
Krunal Soni
bcd09fce48 qcacld-3.0: Initialize the PN and plumb it to DP
Initialize the PN with value, which has been given by upper layer
and plumb it to DP

Change-Id: If6b14d2b9b92e4571a85cb20dc445608d5f56961
CRs-Fixed: 2350950
2018-11-28 03:57:06 -08:00
Nachiket Kukade
d29b6c8430 qcacld-3.0: Rate limit error logs in NAN and NDP cmd handlers
If NAN or NDP support is disabled through INI, repeated NAN/NDP
requests from upper layers flood console logs. Convert these
error prints to rate limited prints to avoid excessive logging.

Rate limit error logs in NAN and NDP cmd handlers.

Change-Id: Ie3e7fce9e829c64d3d21d856a72a957365a04aa8
CRs-Fixed: 2355727
2018-11-28 03:57:02 -08:00
gaurank kathpalia
cbf1212230 qcacld-3.0: Verify the nss config with rf chains supported
The driver fills the nss chains params in the vdev during
vdev create. The nss and chain params are filled by the user
in the ini file, but it may happen that the user filled the
nss param for that particular vdev as 2, and the number of
supported rf chains are 1, which is sent to the driver by FW,
so that would result in nss as 2, and chains as 1, which cannot
be supported.

Fix is to downgrade the nss to the number of chains supported by
the FW.

Change-Id: Ifa3ee74dbe5b8d19c6dc11ff64e42dbffadaa018
CRs-Fixed: 2354205
2018-11-28 03:56:58 -08:00
nshrivas
f70523abed Release 5.2.0.108T
Release 5.2.0.108T

Change-Id: Icffb7b2164fd4ea7a4ef2d42b255d367e519a5d4
CRs-Fixed: 774533
2018-11-28 01:36:55 -08:00
Jeff Johnson
9feb23e10c qcacld-3.0: Rename pMac in lim_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:
lim_api.c
lim_api.h

Change-Id: I4e328d8a8f8205219fe3fefd693ba437b0ce1086
CRs-Fixed: 2356082
2018-11-28 01:36:55 -08:00
Jeff Johnson
b65d256a46 qcacld-3.0: Rename pMac in lim_ibss_peer_mgmt
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_ibss_peer_mgmt.c
lim_ibss_peer_mgmt.h

Change-Id: Iab83a116228c668ed6dcaea0fae69f27917e5aeb
CRs-Fixed: 2356088
2018-11-28 01:36:51 -08:00
Jeff Johnson
fe8dc69c7a qcacld-3.0: Rename pMac in WMA
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:
wma_api.h
wma_if.h
wma_internal.h
wma_types.h
wlan_qct_wma_legacy.c
wma_data.c
wma_dev_if.c
wma_main.c
wma_scan_roam.c
wma_utils.c

Change-Id: I6967ecb60bbd97d1b66ecd273a4490be65fe02f4
CRs-Fixed: 2356095
2018-11-28 01:36:46 -08:00
Lin Bai
6abb0f08e5 qcacld-3.0: Typecast DMA address properly when printing
Change Icdcfcdd10400aa2fad64441aa863087cc1c3766e use %llx to print
qdf_dma_addr_t. While qdf_dma_addr_t defined as 'unsigned long',
if without definition from kernel header.
Typecast DMA address to 'unsigned long long', before using %llx to
print DMA address directly.

Change-Id: Ic9527b494ac1aa2d47567a7dab5f0786913f4921
CRs-Fixed: 2355624
2018-11-28 01:36:43 -08:00
nshrivas
84cff826d5 Release 5.2.0.108S
Release 5.2.0.108S

Change-Id: I4cb505b164ef7ec56c576e8ee4e806545f66e112
CRs-Fixed: 774533
2018-11-27 23:54:41 -08:00
Vignesh Viswanathan
a0358ff55b qcacld-3.0: Move multiple INIs to HDD component INIs
Move the following INIs definition from current definition to new
HDD component model INI definitions in hdd_config.h.

gOperatingChannel
gNumVdevs
gEnableConcurrentSTA
gdbs_scan_selection

Change-Id: Id65ca1ff1954af2d220e7221bfc5181e04b3c63d
CRs-Fixed: 2354920
2018-11-27 23:54:41 -08:00
nshrivas
96201f2cdd Release 5.2.0.108R
Release 5.2.0.108R

Change-Id: I2e719f31f5aa86554248446acaaaf8d303955531
CRs-Fixed: 774533
2018-11-27 20:10:39 -08:00
Jeff Johnson
d20cc49fa5 qcacld-3.0: Rename pMac in DPH
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:
dph_hash_table.c
dph_hash_table.h

Change-Id: Ibb61fe72dfb83dbed6cd7344cf9c978888016169
CRs-Fixed: 2355460
2018-11-27 20:10:38 -08:00
Jeff Johnson
01f2c23bf6 qcacld-3.0: Rename pMac in sme_api.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:
sme_api.c

Change-Id: If45f33b93230d1085ee1a3c4dbf35e1f4bfcab27
CRs-Fixed: 2356102
2018-11-27 20:10:34 -08:00
Pragaspathi Thilagaraj
4e36fbef21 qcacld-3.0: Send roam scan offload config after roam sync complete
When host driver receives roam sync complete event, the
disable_hi_rssi to false if band is 2G and the high rssi
threshold delta needs to be sent to the firmware to take effect.
But presently the csr_roam_scan_offload exits with failure as
the driver issues start again.

Call csr_roam_scan_offload with ROAM_SCAN_OFFLOAD_UPDATE_CFG
command.

Change-Id: Ic3c9a729c290accbe9822948bc2363154db4c83f
CRs-Fixed: 2355359
2018-11-27 20:10:30 -08:00
Jeff Johnson
0a0f42a414 qcacld-3.0: Rename pMac in lim_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_utils.c
lim_utils.h

Change-Id: Idd2b9ec3224c99e813df2c00d9504d2ff036b709
CRs-Fixed: 2356083
2018-11-27 20:10:27 -08:00
nshrivas
c3f02578a3 Release 5.2.0.108Q
Release 5.2.0.108Q

Change-Id: I48cd43978f99db4e041f4f31479660e0824fdb1c
CRs-Fixed: 774533
2018-11-27 18:30:59 -08:00
Jeff Johnson
ad9fc724cf qcacld-3.0: Rename pMac in csr_internal.h
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_internal.h

Change-Id: I136277d79765b63f83c4079c49a6dcc830f21e69
CRs-Fixed: 2356093
2018-11-27 18:30:59 -08:00
Jeff Johnson
462e304582 qcacld-3.0: Rename pMac in SYS
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:
sys_entry_func.c
sys_wrapper.c
sys_wrapper.h
utils_parser.c
wlan_qct_sys.c

Change-Id: Ib07f50ea0aa67eef7b04470054014146bf1ca3fc
CRs-Fixed: 2355453
2018-11-27 18:30:55 -08:00
Jeff Johnson
72021f787a qcacld-3.0: Rename pMac in misc SME 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:
sme_api.h
sme_ft_api.c
sme_ft_api.h
sme_inside.h
sme_internal.h
sme_qos_internal.h
sme_trace.c
sme_trace.h

Change-Id: I24ae034a06051d2e61d6f02283b3d2ecbe376bf9
CRs-Fixed: 2355452
2018-11-27 18:30:50 -08:00
Jeff Johnson
b9794442c6 qcacld-3.0: Rename pMac in misc SAP 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:
sap_ch_select.c
sap_fsm.c
sap_module.c

Change-Id: Iaf300b458fb89550d2e3a90f98ed6aabecd98024
CRs-Fixed: 2355451
2018-11-27 18:30:46 -08:00
Jeff Johnson
86a9a35478 qcacld-3.0: Rename pMac in PE & SME RRM 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:
rrm_api.h
rrm_api.c
sme_rrm_api.h
sme_rrm.c

Change-Id: I7eb6e7bf6f5d921b7a8f1f4c98d6a120e104a4ea
CRs-Fixed: 2355450
2018-11-27 18:30:42 -08:00
Jeff Johnson
9aedc72f08 qcacld-3.0: Rename pMac in csr misc 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:
csr_api.h
csr_support.h
csr_host_scan_roam.c
csr_roam_preauth.c

Change-Id: I941c87e308f47162e9eddd111498cf072dbcdf81
CRs-Fixed: 2355449
2018-11-27 18:30:38 -08:00
Jeff Johnson
c44820dfff qcacld-3.0: Rename pMac in csr_api_scan.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:
csr_api_scan.c

Change-Id: Ib55b211e4fdab427aff8c04c8ac99e1af56c6edc
CRs-Fixed: 2355448
2018-11-27 18:30:34 -08:00
Jeff Johnson
7af81a1934 qcacld-3.0: Rename pMac in csr_inside_api.h
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_inside_api.h

Change-Id: I18ba91ddf615e5c3ff8a025049c56587ee967289
CRs-Fixed: 2355447
2018-11-27 18:30:30 -08:00
Jeff Johnson
ab322b9ee0 qcacld-3.0: Rename pMac in lim_assoc_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_assoc_utils.c
lim_assoc_utils.h

Change-Id: I08af0ce1a4d9e7a509782530a49529f93b5dc213
CRs-Fixed: 2355446
2018-11-27 18:30:25 -08:00
Jeff Johnson
99f2504cdc qcacld-3.0: Rename pMac in lim_send_management_frames.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_send_management_frames.c

Change-Id: I738a19602eca080f8fdd8d302cc9c17878a0a929
CRs-Fixed: 2355444
2018-11-27 18:30:21 -08:00
Jeff Johnson
bf34cdb376 qcacld-3.0: Rename pMac in csr_api_roam.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:
csr_api_roam.c

Change-Id: Ibed3be53fb911f9ccaed375ee84aa7ebdd8f5e40
CRs-Fixed: 2356080
2018-11-27 18:30:17 -08:00
Jeff Johnson
0bb3316ba6 qcacld-3.0: Replace tpPESession in lim_session
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_session.

Change-Id: I2286a89f606c19091bbf7c410f20b6e1368680ae
CRs-Fixed: 2354281
2018-11-27 18:30:13 -08:00
Jeff Johnson
b3b2de219b qcacld-3.0: Rename pMac in lim_process_sme_req_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_sme_req_messages.c

Change-Id: Iccc2c1b6d2fbe50819a9820bb0deb088a13faab3
CRs-Fixed: 2356085
2018-11-27 18:30:09 -08:00
nshrivas
766eaf7f45 Release 5.2.0.108P
Release 5.2.0.108P

Change-Id: I2988bc5a69ade61d5552eb2267c5910a2ebac5d1
CRs-Fixed: 774533
2018-11-27 11:20:13 -08:00
Jeff Johnson
85f6142d45 qcacld-3.0: Rename pMac in sme_qos.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:
sme_qos.c

Change-Id: I0cf98781992a08be0dddaa121c600ac0950c448b
CRs-Fixed: 2356084
2018-11-27 11:20:13 -08:00
Jeff Johnson
ea478b344d qcacld-3.0: Rename pMac in csr_util.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:
csr_util.c

Change-Id: I29e9232fb275730a79f5cd2758086ea740ca8593
CRs-Fixed: 2356091
2018-11-27 11:20:09 -08:00
Jeff Johnson
8f70952a51 qcacld-3.0: Replace tpPESession in lim_api
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_api.

Change-Id: I47a937c360e8333525846ea4deef1fc769bc8988
CRs-Fixed: 2354284
2018-11-27 06:54:59 -08:00
nshrivas
3e1e439feb Release 5.2.0.108O
Release 5.2.0.108O

Change-Id: Ibf83159ff8952f3d83cfe7e0afa57e6738299b3f
CRs-Fixed: 774533
2018-11-27 03:45:22 -08:00
Jeff Johnson
6cfac7891a qcacld-3.0: Rename pMac in SCH
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:
sch_api.c
sch_api.h
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c

Change-Id: Ia78ee079ca3a2cff85ad3e7ac0d0e1355397b4ab
CRs-Fixed: 2356096
2018-11-27 03:45:21 -08:00
Jeff Johnson
35592fc1ff qcacld-3.0: Rename pMac in LIM FT
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_ft.h
lim_ft.c
lim_ft_preauth.c

Change-Id: Ifd5571c96d6c9ec51b54af25b0153f94f1b6d9e1
CRs-Fixed: 2356098
2018-11-27 03:45:16 -08:00
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