Commit Graph

12084 Commits

Author SHA1 Message Date
nshrivas
500bd72fc3 Release 5.2.0.111B
Release 5.2.0.111B

Change-Id: Ic02c48816edde4c5054ee0e665d13a9425085338
CRs-Fixed: 774533
2018-12-10 15:12:25 -08:00
Amar Singhal
b5bdce6069 qcacld-3.0: Ignore user regulatory hint conditionally
Ignore user regulatory hint conditionally if it does not have sub-type
NL80211_USER_REG_HINT_CELL_BASE. For mobile devices, do not accept user
configuration from other sub-types.

Change-Id: I5990e8f4a80eebb56760e0034e397529ef77eefb
CRs-Fixed: 2362693
2018-12-10 15:12:24 -08:00
Amar Singhal
05b103ff39 qcacld-3.0: Validate hostapd country code
Hostapd is expected to use country code already programmed in the driver.
Therefore, validate the country code sent by hostapd. Enable SAP 11d only
if country code from hostapd is same as driver country code.

Change-Id: I88d6603f4e696c86ffb85b798221d750f71b741b
CRs-Fixed: 2359333
2018-12-10 15:12:21 -08:00
nshrivas
60ae163d3e Release 5.2.0.111A
Release 5.2.0.111A

Change-Id: Ic60d4c5ee7eb97ce32a6b4439d0ab593ac6a5fbb
CRs-Fixed: 774533
2018-12-10 12:49:57 -08:00
gaurank kathpalia
379e05c97a qcacld-3.0: Update the sap channel only after sap start event
In the case of SAP restart due to a RADAR, or force SCC
due to STA vdev formed, in the SAP restart path
the driver updates the SAP channel in the global
AP context, and then sends the command to change the channel
to south bound layers to process, which may reject or accept
the command.
If the command has been accepted, the channel in the
global config would be the same as the channel configured
in the restart path, but for a case where the command was rejected
by the south bound, due to a concurrency check, or other reasons
the SAP remains on the previous channel in SCC, or MCC, with the
STA interface, but the channel in the global config is same as that
given in the restart path, so the real operating channel, and the
config channel are different.
Because of this if a fresh bringup of some vdev is to be done
according to the channel of the SAP, that would fail in some cases
( SAP on DFS channel, and STA coming, so the driver would reject MCC,
and SCC) which could be avoided if the channel of the SAP wouldnt be
configured in the restart path, and would be configured in the callback
of SAP.
Also the secondary channel of the SAP was configured as the secondary
channel configured at time of fresh SAP bringup, hence the sec channel
isn't updated after every restart of SAP.

Fix is to configure the channel of in the global AP context
only when the SAP START or CHANNEL CHANGE event comes for
the SAP. Also update the secondary channel after the CSA.

Change-Id: I6cbc31cae4958c0d7da79d4640e5ad8b1ce98338
CRs-Fixed: 2355420
2018-12-10 12:49:57 -08:00
nshrivas
4c8e6be021 Release 5.2.0.111
Release 5.2.0.111

Change-Id: I13721a5e81832b93fb6d28af5a7eac53ac26e87c
CRs-Fixed: 774533
2018-12-10 07:23:14 -08:00
Yeshwanth Sriram Guntuka
334aa8de95 qcacld-3.0: Add MLME CFG items of FE_WLM and FE_RRM
Add the following WLM and RRM ini configs to MLME
cfg:
CFG_LATENCY_ENABLE
CFG_LATENCY_LEVEL
CFG_LATENCY_FLAGS_NORMAL
CFG_LATENCY_FLAGS_MOD
CFG_LATENCY_FLAGS_LOW
CFG_LATENCY_FLAGS_ULTLOW
CFG_RRM_ENABLE
CFG_RRM_MEAS_RAND_INTVL
CFG_RM_CAPABILITY

Change-Id: I714aca1e9bc6d3c330934753364d7f58d93a28d7
CRs-Fixed: 2353103
2018-12-10 07:23:13 -08:00
nshrivas
3babed5263 Release 5.2.0.110Z
Release 5.2.0.110Z

Change-Id: I15cdb13526aacfb941ffb64c8f59b95d0413179a
CRs-Fixed: 774533
2018-12-10 05:36:45 -08:00
Rakshith Suresh Patkar
0f6375c2b7 qcacld-3.0: Enable use of new htt header format
If FW supports new htt format include only payload length in
the header length.

Change-Id: Ia668d73dcae3eb4adc1a4cfb0498b34d8c38f522
CRs-Fixed: 2361564
2018-12-10 05:36:45 -08:00
nshrivas
dd94289325 Release 5.2.0.110Y
Release 5.2.0.110Y

Change-Id: Ibfb3871cea0d5a19febe5bbac7e99a209c21e83d
CRs-Fixed: 774533
2018-12-10 02:07:02 -08:00
Jeff Johnson
6606fe5561 qcacld-3.0: Remove unused DP CFG from struct cds_config_info
Previously change If7ad0e02c65e04ea13a308e680c9ba3b3d84ae25,
("qcacld-3.0: Add legacy DP CFG items and APIs") relocated support for
some datapath INI items from HDD to the legacy data path. As part of
this change some fields in struct cds_config_info are no longer being
used, so remove those fields.

Change-Id: I2ebcb5bd3964af7847b55d3d7300efd4823dc198
CRs-Fixed: 2363230
2018-12-10 02:07:01 -08:00
Jeff Johnson
10c50c4f99 qcacld-3.0: Remove CDS fw_state handling
Previous change I8331367dd41dd0cedfa65c63f1bb3ffcb535e1c9
("qcacld-3.0: Call icnss API to check if WLAN FW is down") relocated
the source of firmware status from the wlan driver to the platform
driver. The legacy fw_state handling in CDS is no longer used, so
remove it.

Change-Id: Id8de0bd9441ecf7bb7e5931c503e16b62cbcfbf8
CRs-Fixed: 2363229
2018-12-10 02:06:57 -08:00
Jeff Johnson
56bc912552 qcacld-3.0: Remove struct cds_sme_cbacks
The functionality previously provided by struct cds_sme_cbacks has
been incorporated into the policy manager, and the struct is now
unused, so remove it.

Change-Id: Ia30cc18b5338073b9c96a29ca12b1383d31b4990
CRs-Fixed: 2363228
2018-12-10 02:06:53 -08:00
Jeff Johnson
c8cf0be658 qcacld-3.0: Remove assorted tBA typedefs
The current generation of the driver has never used typedefs
tBADirection, tBAEnable, tBAPolicy, or tBAPolicyType. Since these are
obsolete remnants, remove them.

Change-Id: I27645a6d4a1d9f472fbe204aea96f3ec9539a7c2
CRs-Fixed: 2363227
2018-12-10 02:06:49 -08:00
Jeff Johnson
11daeffc6e qcacld-3.0: Remove typedef tSirMacPropIE
The current generation of the driver has never used typedef
tSirMacPropIE. Since it is an obsolete remnant, remove it.

Change-Id: I120162ffc62be87d7f4616abd0cb265799aeaf06
CRs-Fixed: 2363226
2018-12-10 02:06:45 -08:00
Jeff Johnson
e2f016ef82 qcacld-3.0: Remove typedef tPacketType
The current generation of the driver has never used typedef
tPacketType. Since it is an obsolete remnant, remove it.

Change-Id: If59f5bd145895c6821635a7e4099090f2db096c2
CRs-Fixed: 2363225
2018-12-10 02:06:41 -08:00
Jeff Johnson
8d2b7e6955 qcacld-3.0: Remove typedef tSirSmeTkipCntrMeasReq
Previously change I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
("qcacld-3.0: Remove obsolete eWNI_SME_TKIP_CNTR_MEAS_REQ") removed
the only reference to typedef tSirSmeTkipCntrMeasReq, so remove it as
well.

Change-Id: I10ef269ae5e551c4a7b7dfb80418bb3d372a7437
CRs-Fixed: 2363224
2018-12-10 02:06:37 -08:00
Jeff Johnson
572da56447 qcacld-3.0: Remove typedef tAni64BitCounters
Previous change I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
("qcacld-3.0: Remove typedef tAniSecurityStat") removed the last
references to typedef tAni64BitCounters, so remove it as well.

Change-Id: I9327c3654acd10ed6e535748f322546578f14afc
CRs-Fixed: 2363223
2018-12-10 02:06:33 -08:00
Jeff Johnson
2a606293b5 qcacld-3.0: Remove typedef tAniSecurityStat
Previous change I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
("qcacld-3.0: Remove typedef tAniSecStats") removed the only
references to typedef tAniSecurityStat, so remove it as well.

Change-Id: I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
CRs-Fixed: 2363222
2018-12-10 02:06:29 -08:00
Jeff Johnson
2c69df696c qcacld-3.0: Remove typedef tAniSecStats
Previous change I57c06c4506bfbd57dd283c03c4bd78c34727672b
("qcacld-3.0: Remove typedef tAniStaStatStruct") removed the only
references to typedef tAniSecStats, so remove it as well.

Change-Id: I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
CRs-Fixed: 2363221
2018-12-10 02:06:25 -08:00
Jeff Johnson
585f17cbc9 qcacld-3.0: Remove typedef tAniTxRxStats
Previous change I57c06c4506bfbd57dd283c03c4bd78c34727672b
("qcacld-3.0: Remove typedef tAniStaStatStruct") removed the only
references to typedef tAniTxRxStats, so remove it as well.

Change-Id: I812d5db78d8058937d0de86ab98e5933374cf495
CRs-Fixed: 2363220
2018-12-10 02:06:21 -08:00
Jeff Johnson
986e19bb44 qcacld-3.0: Remove typedef tAniStaStatStruct
Previous change Id38087da738a2ee8bb16d4dff297420231476986
("qcacld-3.0: Remove tSirSmeDisassoc* perStaStats field") removed the
only references to typedef tAniStaStatStruct, so remove it as well.

Change-Id: I57c06c4506bfbd57dd283c03c4bd78c34727672b
CRs-Fixed: 2363219
2018-12-10 02:06:17 -08:00
Jeff Johnson
f902cfb899 qcacld-3.0: Remove tSirSmeDisassoc* perStaStats field
Both tSirSmeDisassocRsp and tSirSmeDisassocInd contain a perStaStats
field that isn't used, so remove it from both structs.

Note that these perStaStats fields were the only places that
tAniStaStatStruct was used, so remove that as well.

Change-Id: Id38087da738a2ee8bb16d4dff297420231476986
CRs-Fixed: 2363218
2018-12-10 02:06:14 -08:00
Jeff Johnson
8d4fa056ae qcacld-3.0: Remove obsolete WEXT macros
The following macros are no longer used, so remove them:
- HDD_FINISH_ULA_TIME_OUT
- HDD_SET_MCBC_FILTERS_TO_FW
- HDD_DELETE_MCBC_FILTERS_FROM_FW

Change-Id: I6d7b3ee1c1d6fce5c19d8a3b7dd2034c220a98e4
CRs-Fixed: 2363217
2018-12-10 02:06:09 -08:00
Jeff Johnson
b6b815eccf qcacld-3.0: Remove hdd_unregister_hostapd() prototype
Previously change Ib22dfa375217a48448c5a7872a9a2ed154dd862f
("qcacld-3.0: Refactor & fix the SAP HDD APIs to maintain symmetry")
removed the implementation of hdd_unregister_hostapd() but it failed
to remove the prototype, so remove it now.

Change-Id: I5ee4bebc85395833e667b182e6a2858f0814d883
CRs-Fixed: 2363215
2018-12-10 02:06:05 -08:00
Jeff Johnson
1e780687e4 qcacld-3.0: Remove obsolete hdd_green_ap_update_config() stub
Previously change I2cfee273ffbcefcd3294cc1a18fb58549166c55b
("qcacld-3.0: Green ap CFG convergence") removed the implementation of
hdd_green_ap_update_config(), but it failed to remove the inline stub
implementation for use when WLAN_SUPPORT_GREEN_AP was not enabled, so
remove it now.

Change-Id: I08bee34b1a42de0147c0e3701162b70ff5a21f21
CRs-Fixed: 2363214
2018-12-10 02:06:02 -08:00
nshrivas
7a0ef3dd5d Release 5.2.0.110X
Release 5.2.0.110X

Change-Id: I05b9fc0c0d64993b8b5836fbb26e3105389907a6
CRs-Fixed: 774533
2018-12-10 00:20:34 -08:00
Sourav Mohapatra
a094392f11 qcacld-3.0: Do not register frames in FTM mode after SSR
During driver re init after SSR, all the previous adapters that were up
get re-initialized. In the case when SSR was triggered in FTM mode with
an interface up, the re_init path tries to register management frames.
As in FTM mode the message processor is not invoked, the memory
allocated by the register frames method is not freed in any context.
This leads to memory leak during the next call to
hdd_wlan_stop_modules.

Add a check in wlan_hdd_cfg80211_register_frames so as not to continue
with the registration if the driver mode if FTM.

Change-Id: I3cb8aa14d5298c0a76c0f30ca7cf1f0e7ad88dde
CRs-Fixed: 2351672
2018-12-10 00:20:34 -08:00
nshrivas
9cf6e9891f Release 5.2.0.110W
Release 5.2.0.110W

Change-Id: Id8891f5e2a1d1b6142dd81e00736c1a2573fee7a
CRs-Fixed: 774533
2018-12-08 07:40:42 -08:00
nshrivas
d3f6e4ce5f Release 5.2.0.110V
Release 5.2.0.110V

Change-Id: I3abade29b3895aac5c6b6c74730c06a5fa3ba65d
CRs-Fixed: 774533
2018-12-07 15:53:12 -08:00
Jeff Johnson
6d0b75be6e qcacld-3.0: Remove wlansap management frame registrar
The following wlansap management frame registration functions are
unused, so remove them:
- wlansap_register_mgmt_frame()
- wlansap_de_register_mgmt_frame()

Change-Id: Ib8865fbda4e65e7bbd39576a49423f60426d489a
CRs-Fixed: 2361909
2018-12-07 15:53:06 -08:00
Alok Kumar
e197744efb qcacld-3.0: Send peer unmap confirmation cmd to FW
Send WMI_PEER_UNMAP_CONF_CMDID to FW after getting all
UNMAPs for the peer. This will ensure synchronization
between MAP/UNMAP and same peer_id won't be used for
different MAC address until all UNMAPs are processed.

Change-Id: I2c7793b527d5dbab0f9571185e6c16e0c6b7fcc3
CRs-Fixed: 2357245
2018-12-07 15:53:01 -08:00
jiad
a6df1a3b7b qcacld-3.0: Define status variable to fix build failure
status variable is not defined but it is being used which creates
build failures when FEATURE_AP_MCC_CH_AVOIDANCE is defined, thus
define the variable ..

Change-Id: Icd4b3616832c09577c19e7e65f7ce30134b4fd59
CRs-Fixed: 2362845
2018-12-07 15:51:57 -08:00
nshrivas
2e0f3540b1 Release 5.2.0.110U
Release 5.2.0.110U

Change-Id: I39de713968e02eb59537bfd3eb67d4c31b99ef50
CRs-Fixed: 774533
2018-12-07 11:18:50 -08:00
Jeff Johnson
71d465ac42 qcacld-3.0: Correctly dump the LIM global MLM state
Currently in the "getHostStates" ioctl handler a call is made to
sme_get_lim_sme_state() to retrieve the LIM global MLM state. That is
the wrong function. Update the logic to call the correct function,
sme_get_lim_mlm_state().

Change-Id: I53151ba817b0ee9f4cf141e29dbf4e8c8c4b92e4
CRs-Fixed: 2361830
2018-12-07 11:18:46 -08:00
Jeff Johnson
8c3ecdd8d8 qcacld-3.0: Fix csr_api_scan.c function style issues
Many of the function signatures in csr_api_scan.c do not conform to
the coding style, so make them conforming.

Change-Id: I50a46c2227b639af652b4e21d3a84d62140fce2c
CRs-Fixed: 2361755
2018-12-07 11:18:42 -08:00
Jeff Johnson
70fa7bb88d qcacld-3.0: Remove obsolete csr_api_scan.c macros
The file csr_api_scan.c defines multiple macros, most of which are
not actually used by the current version of the code, so remove the
obsolete ones.

Change-Id: Ic3c64dea55ab19bbf1f39b52eedca121aef5bd25
CRs-Fixed: 2361754
2018-12-07 11:18:38 -08:00
nshrivas
e361dbf7c0 Release 5.2.0.110T
Release 5.2.0.110T

Change-Id: Ice1c6d282999db0c1281086d87d7132c47f90604
CRs-Fixed: 774533
2018-12-07 09:40:36 -08:00
Jeff Johnson
fb1b1f9bd0 qcacld-3.0: Remove obsolete wma_is_*_active()
The following functions are unused, so remove them:
- wma_is_sap_active()
- wma_is_p2p_go_active()
- wma_is_p2p_cli_active()
- wma_is_sta_active()

Change-Id: I801176fb2b4df9308744fcde27dc789e88e1e550
CRs-Fixed: 2361895
2018-12-07 09:40:36 -08:00
nshrivas
f4226f027a Release 5.2.0.110S
Release 5.2.0.110S

Change-Id: Iade6fea86db8b678fc565ab152d482413880a3a2
CRs-Fixed: 774533
2018-12-07 04:28:10 -08:00
nshrivas
55c23abe4d Release 5.2.0.110R
Release 5.2.0.110R

Change-Id: I02edc0ed7c2ac544f6a47d38dfab5095f123b6e8
CRs-Fixed: 774533
2018-12-07 02:39:23 -08:00
Jeff Johnson
8e0bcbda37 qcacld-3.0: Remove macro OL_TXRX_INVALID_TDLS_PEER_ID
Previously change I983851d8cc0d3605c3d6bd0d8975c72844f71740
("qcacld-3.0: TDLS: remove remaining legacy code") removed the last
references to macro OL_TXRX_INVALID_TDLS_PEER_ID, but did not remove
the macro itself, so remove it now.

Change-Id: I8cceb66b8b52ae55cceb3400d2fdc2bb618b73cd
CRs-Fixed: 2362723
2018-12-07 02:39:23 -08:00
nshrivas
9e7b303024 Release 5.2.0.110Q
Release 5.2.0.110Q

Change-Id: Icb99ad782eafebbd10a986e7024db370a2f8fdaa
CRs-Fixed: 774533
2018-12-07 00:53:55 -08:00
Jeff Johnson
13be96fda3 qcacld-3.0: Remove wlan_hdd_tdls_set_params() prototype
Previously change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a
("qcacld-3.0: Remove the deprecated IOCTL in TDLS") removed the
implementation of wlan_hdd_tdls_set_params() but failed to remove the
prototype, so remove it now.

Change-Id: I0fa178bc92bc2a02e45d1ec577f9a54f40d559fb
CRs-Fixed: 2362722
2018-12-07 00:53:54 -08:00
Jeff Johnson
41d1f7bc89 qcacld-3.0: Remove hdd_tdls_notify_p2p_roc() stub
Previously change Ia860904685fc4783453491effa4518777c7406d0
("qcacld-3.0: TDLS: remove legacy interfaces") removed the "real"
implementation of hdd_tdls_notify_p2p_roc(), but it left behind the
stub implementation for use when FEATURE_WLAN_TDLS is not enabled, so
now remove the stub.

Change-Id: Ic7c95c41fe66378bc51785b28010ed2263fd3b55
CRs-Fixed: 2362721
2018-12-07 00:53:50 -08:00
Jeff Johnson
b62fd65aff qcacld-3.0: Fix typo "pAadapter"
Previously all instances of the identifier "pAdapter" were renamed
within the driver. However the hdd_enable_default_pkt_filters()
prototype had a misspelling and hence it was not renamed, so rename it
now.

Change-Id: I6b2045496e5e6775dc12061254d06bcadf60be88
CRs-Fixed: 2362720
2018-12-07 00:53:46 -08:00
Jeff Johnson
6a3f237a64 qcacld-3.0: Remove wlan_hdd_roc_request_dequeue() prototype
Previously change Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d
("qcacld-3.0: Remove legacy P2P codes in HDD") removed function
wlan_hdd_roc_request_dequeue() but did not remove the prototype, so
remove it now.

Change-Id: Ic2eb217b3974b274e890c1c556eece9e688463b4
CRs-Fixed: 2362719
2018-12-07 00:53:42 -08:00
nshrivas
65d62740ec Release 5.2.0.110P
Release 5.2.0.110P

Change-Id: I90a26744b57c1c7d8aedde0662ac116d1ebda790
CRs-Fixed: 774533
2018-12-06 23:10:05 -08:00
Jeff Johnson
d01ca84c73 qcacld-3.0: Remove last bit of LIBRA_LINUX_PC feature code
A prior version of the driver had LIBRA_LINUX_PC feature code, but it
has all been removed except for one piece, so remove that last bit
which conditionally defines HDD_TX_TIMEOUT.

Change-Id: Ie714b134b789a4649f8da7bbf5e98f36d27ed4ff
CRs-Fixed: 2362718
2018-12-06 23:10:05 -08:00
Jeff Johnson
67fe4b117c qcacld-3.0: Remove obsolete struct action_pkt_buffer
HDD defines struct action_pkt_buffer, but it is unused, so delete it.

Change-Id: Ie3b92d10c7a3c9445edf953dea398372825db4a2
CRs-Fixed: 2362717
2018-12-06 23:10:01 -08:00
Jeff Johnson
e5a783de59 qcacld-3.0: Remove obsolete hdd_lro_init() stub
Change I15535827a03953231670d4138235c4876b16e045 ("qcacld-3.0: Add GRO
support for STA mode") removed the implementation of hdd_lro_init(),
but it failed to remove the inline stub implementation for use when
FEATURE_LRO was not enabled, so remove it now.

Change-Id: Ie835fdd08322c8968333e264d1228586261b5d59
CRs-Fixed: 2362716
2018-12-06 23:09:57 -08:00
Jeff Johnson
362b08ff74 qcacld-3.0: Remove obsolete CDS Packet Tracking macros
CDS contains a set of CDS_PKT_TRAC_* macros that were used by a prior
version of the driver. The current driver uses a different mechanism,
so remove the now unused CDS_PKT_TRAC_* macros.

Change-Id: I4f0e3a44e6786d3ed03e22807811878b2a187185
CRs-Fixed: 2362715
2018-12-06 23:09:53 -08:00
nshrivas
85076dfadb Release 5.2.0.110O
Release 5.2.0.110O

Change-Id: I9987a83eae5edf8ec778147509f2682dfd678a92
CRs-Fixed: 774533
2018-12-06 21:03:43 -08:00
Jeff Johnson
85cd2e7c65 qcacld-3.0: Remove ol_rx_queue_len from cds_sched_context
The cds_sched_context contains an ol_rx_queue_len field that is
unused, so remove it.

Change-Id: Ib2a03a61a19424f3cb41c975a886b12f674de247
CRs-Fixed: 2362714
2018-12-06 21:03:43 -08:00
Jeff Johnson
21724f4455 qcacld-3.0: Remove obsolete struct hdd_context_s reference
In CDS there is a forward reference to struct hdd_context_s, However
this forward reference is not used, and in fact that struct name is no
longer in use in the driver, so remove it.

Change-Id: Iecf43870b22143f656bb9b8e413ae46c2f59bab4
CRs-Fixed: 2362713
2018-12-06 21:03:40 -08:00
Jeff Johnson
5f32b68b21 qcacld-3.0: Remove obsolete cds_packet definitions
The cds_packet infrastructure has been partially converted to QDF.  As
a result some of the legacy definitions are no longer being used, so
remove them.

Change-Id: I6827c08c3f39da8b0a561d6c3e4fe6f7eb528a25
CRs-Fixed: 2362712
2018-12-06 21:03:36 -08:00
Jeff Johnson
67107fd8e4 qcacld-3.0: Rename pDphHashTable
The identifier pDphHashTable does not conform to the Linux coding
standard, so rename it hash_table.

Change-Id: Icd76163766cb542d62ac6ad476079a0ec7f41b2d
CRs-Fixed: 2361806
2018-12-06 21:03:32 -08:00
Jeff Johnson
ace219da57 qcacld-3.0: Replace typedef dphHashTableClass
The naming and usage of typedef dphHashTableClass does not conform to
the Linux coding style, so replace it with struct dph_hash_table.
Rename dph_hash_table_class_init() as well to match the new naming.

Change-Id: I38df3c01736dfbeff3d51be05582ebfe69c1353b
CRs-Fixed: 2361805
2018-12-06 21:03:28 -08:00
nshrivas
96cec3c413 Release 5.2.0.110N
Release 5.2.0.110N

Change-Id: I9d5d515e7cd6944ab727586d8024915fd147898b
CRs-Fixed: 774533
2018-12-06 19:23:18 -08:00
Jeff Johnson
22a60cd5db qcacld-3.0: Remove wma_update_vdev_tbl() prototype
Although the implementation has been removed, the prototype for
wma_update_vdev_tbl() is still present, so remove it as well.

Change-Id: Ifcf10e97d0bc24bdf88c69f936e998b228ec945b
CRs-Fixed: 2361930
2018-12-06 19:23:17 -08:00
Jeff Johnson
7bdfab6ce6 qcacld-3.0: Remove wmi_unified_pdev_set_param() prototype
WMA has a prototype for wmi_unified_pdev_set_param(), but there is no
implementation, so remove it.

Change-Id: Id39afc1a1966bca9b8b947bb0b2c89f5d1b21801
CRs-Fixed: 2361995
2018-12-06 19:23:14 -08:00
Jeff Johnson
56174d1a2a qcacld-3.0: Remove obsolete P2P Listen Offload from WMA
Almost all of the p2p Listen Offload logic has been componentized,
therefore remove the following unused functions from WMA:
- wma_p2p_lo_start()
- wma_p2p_lo_stop()
- wma_p2p_lo_event_handler()

Change-Id: I750870ccbe84e817954a3ee1a50e2e8daa5ab661
CRs-Fixed: 2361886
2018-12-06 19:23:10 -08:00
Jeff Johnson
a4541e9f43 qcacld-3.0: Remove wma_p2p_noa_event_handler()
The functionality previously handled by wma_p2p_noa_event_handler() is
now done in WMI. Since wma_p2p_noa_event_handler() is no longer used,
remove it.

Change-Id: Id8095a79fee6be83c886a1635a1ce0b1a2e4087b
CRs-Fixed: 2361871
2018-12-06 19:23:07 -08:00
nshrivas
c4281d9744 Release 5.2.0.110M
Release 5.2.0.110M

Change-Id: I335082cbddafdc149b436225f46edd2cd0346501
CRs-Fixed: 774533
2018-12-06 17:51:08 -08:00
Krunal Soni
d2c33e171d qcacld-3.0: Move few INIs' ownership from HDD to MLME
INIs
1) gFWMccRtsCtsProtection
2) gFWMccBCastProbeResponse
3) gEnableMCCMode
4) gSapChannelAvoidance
5) gStaMiracastMccRestTimeVal

Ownership of above INIs belong to MLME component, move them from
HDD to MLME.

CRs-Fixed: 2351219
Change-Id: I3dc1b8f1f036f10a0506cb1cb8481fc865ef18f9
2018-12-06 17:51:08 -08:00
Krunal Soni
df29bc4ca5 qcacld-3.0: Move few INIs' ownership from HDD to Policy manager
INIs
1) g_mark_sap_indoor_as_disable
2) g_sta_sap_scc_on_lte_coex_chan
3) gEnableSAPManadatoryChanList
4) gForce1x1Exception
5) g_sta_sap_scc_on_dfs_chan
6) gDualMacFeatureDisable
7) gEnableOverLapCh
8) gAllowMCCGODiffBI

Ownership of above INIs belong to policy manager, move them from
HDD to Policy manager.

CRs-Fixed: 2351044
Change-Id: I6fe502697cdb9a259b8215ce5b4ad5354cb645fd
2018-12-06 17:51:02 -08:00
Jeff Johnson
6d5239bde5 qcacld-3.0: Remove struct sP2pPsParams
WMA defines struct sP2pPsParams which is unused. Since this is
obsolete, remove it.

Change-Id: I4d42f42ac9b3cd432dbebd405f7779ca6c94e937
CRs-Fixed: 2362014
2018-12-06 17:50:57 -08:00
Jeff Johnson
c559e70013 qcacld-3.0: Remove struct sTdlsLinkEstablishParams
WMA defines struct sTdlsLinkEstablishParams which is unused. Since
this is obsolete, remove it.

Change-Id: I2a28564ccb5ad85d65a62a5e9f0ac6c500a80c2d
CRs-Fixed: 2362013
2018-12-06 17:50:54 -08:00
nshrivas
35b3a2822a Release 5.2.0.110L
Release 5.2.0.110L

Change-Id: Id87a9e3db44a315ab162fae45d4992e69e8396ea
CRs-Fixed: 774533
2018-12-06 13:44:04 -08:00
Jeff Johnson
dca4e096ae qcacld-3.0: Remove typedef eCsrDot11FragThresh
The eCsrDot11FragThresh typedef, along with its member enumerations,
are unused, so remove them.

Change-Id: Ie57bf437072767b8befab8d28bb86b416737d137
CRs-Fixed: 2361343
2018-12-06 13:44:04 -08:00
Sourav Mohapatra
588410643b qcacld-3.0: Relocate HDD ini items (2)
Relocate the following CFG INI Items to the new infrastructure.

1. CFG_INTF0_MAC_ADDR_NAME
2. CFG_INTF1_MAC_ADDR_NAME
3. CFG_INTF2_MAC_ADDR_NAME
4. CFG_INTF3_MAC_ADDR_NAME
5. CFG_ACTION_OUI_CONNECT_1X1_NAME
6. CFG_ACTION_OUI_ITO_EXTENSION_NAME
7. CFG_ACTION_OUI_CCKM_1X1_NAME
8. CFG_ACTION_OUI_ITO_ALTERNATE_NAME
9. CFG_ACTION_OUI_SWITCH_TO_11N_MODE_NAME
10. CFG_ACTION_OUI_CONNECT_1X1_WITH_1_CHAIN_NAME
11. CFG_ENABLE_ACTION_OUI

Change-Id: I6984096719a5abd7fa4f0a4f6641a17d29348332
CRs-Fixed: 2357175
2018-12-06 13:44:00 -08:00
Sourav Mohapatra
0dfe5550e0 qcacld-3.0: Relocate HDD ini items (1)
Relocate below HDD ini items as per converged infrastructure.
1. CFG_ENABLE_RUNTIME_PM
2. CFG_STA_KEEPALIVE_METHOD_NAME
3. CFG_ENABLE_MCC_ENABLED_NAME
4. CFG_ENABLE_SAP_SUSPEND
5. CFG_ENABLE_DEAUTH_TO_DISASSOC_MAP_NAME
6. CFG_INFORM_BSS_RSSI_RAW_NAME
7. CFG_AP_ENABLE_RANDOM_BSSID_NAME
8. CFG_VC_MODE_BITMAP

Change-Id: I881c87f9ca73804d03af358163c9a043b3193c81
CRs-Fixed: 2357174
2018-12-06 13:43:56 -08:00
nshrivas
6463ab4cf0 Release 5.2.0.110K
Release 5.2.0.110K

Change-Id: I0d8783c722c1cf2c5f128e29d7fac7f8ea8890f4
CRs-Fixed: 774533
2018-12-06 12:02:57 -08:00
Jeff Johnson
ed79bf8fb6 qcacld-3.0: Remove csr_rates_find_best_rate()
Function csr_rates_find_best_rate() is unused, so remove it, along
with the now unused support function csr_rates_mac_prop_to_dot11().

Change-Id: I0a9e7894734a5a4f47030f8d12d0e41d0b23e95e
CRs-Fixed: 2361290
2018-12-06 12:02:53 -08:00
Jeff Johnson
0123e66e79 qcacld-3.0: Remove enum fine_time_meas_mask
enum fine_time_meas_mask is unused, so remove it.

Change-Id: I61ff69a33d42fb7b536cb0dbee21ae9ed23e78c2
CRs-Fixed: 2361395
2018-12-06 12:02:48 -08:00
nshrivas
c2211bc5a7 Release 5.2.0.110J
Release 5.2.0.110J

Change-Id: Ib38b2cb7b175453d7b4980dc6f26c2c0460d60bb
CRs-Fixed: 774533
2018-12-06 10:27:54 -08:00
Jianmin Zhu
3c50e40af5 qcacld-3.0: Handle Vdev restart Failure in STA mode
When switch channel failed,  need handle it gracefully,
pass failure to PE and disconnect current session.

Change-Id: If489e519a1784dabf630d5bde34ef8de56abf5e1
CRs-Fixed: 2360726
2018-12-06 10:27:54 -08:00
Abhishek Singh
5d921548f2 qcacld-3.0: Replace legacy string in vdevmgr with ext
Replace legacy string in vdevmgr with ext string.
Also adds new compile CMN_VDEV_MLME_CMPT_ENABLE macro
for VDEV MLME component.

Change-Id: I40ce0c2ee4d653d2f4ce68093e8ad1b2c78bece8
CRs-Fixed: 2361525
2018-12-06 10:27:50 -08:00
nshrivas
bbfe75b0a8 Release 5.2.0.110I
Release 5.2.0.110I

Change-Id: I257a43bcf60ad4707c6761a615cfa12dea89ea24
CRs-Fixed: 774533
2018-12-06 05:30:37 -08:00
Visweswara Tanuku
c029a20d2f qcacld-3.0: Stop bus bandwidth compute timer during driver remove
If interface is not closed, Bus bandwidth compute timer is not
stopped during rmmod.
Stop bus bandwidth compute timer during driver remove

Change-Id: If9206f9dcfb6120394848715a6f31a810002d0c9
CRs-Fixed: 2355345
2018-12-06 05:30:37 -08:00
nshrivas
be3db66c6e Release 5.2.0.110H
Release 5.2.0.110H

Change-Id: Ib1cba9289a4acf1be472fb53779fed1965c7a43b
CRs-Fixed: 774533
2018-12-06 04:01:21 -08:00
Jeff Johnson
3774abaca0 qcacld-3.0: Remove legacy STA stats infrastructure
The typedefs tAniStatSubTypes, tAniTxCtrs, & tAniRxCtrs, as well as
the ANI_CLEAR_* macros, are remnants from an ancestor of the current
driver. Since they are unused, remove them.

Change-Id: I7c54f821066d06cb6134021d04050c38c1be888e
CRs-Fixed: 2361225
2018-12-06 04:01:21 -08:00
nshrivas
e4670fd921 Release 5.2.0.110G
Release 5.2.0.110G

Change-Id: I67eb601a28ccb4b942f11328c2778d31437d01bf
CRs-Fixed: 774533
2018-12-06 02:23:17 -08:00
gaurank kathpalia
5ff11ef8e9 qcacld-3.0: Fix memory allocation latency in beacon process
Currently if the number of APs in the STA environment
are many, then the STA will receive many beacons, whose
beacon process path can take long time, in the kernel
work queue, hence the other processes have to wait
for them to complete, and may get timeout, if the
the time to process the beaocns is larger than their
process timeout.

Fix is to :-
1. Add rate limit to failure conditions of memory
not allocated
2. Make memory allocation in path of beacon process
atomic.

Change-Id: Ifad1d6985a48967d8f6f53527f86c1ee0f481b9e
CRs-Fixed: 2361471
2018-12-06 02:23:15 -08:00
nshrivas
965b0b0392 Release 5.2.0.110F
Release 5.2.0.110F

Change-Id: Id6f906a3ee8ee1e1e35fcaeef32ab78b8462605c
CRs-Fixed: 774533
2018-12-05 13:13:36 -08:00
lifeng
6d19c25d31 qcacld-3.0: Refine mlme btm configurations
Refine mlme btm configurations based on converged cfg component.
Remove related legacy codes.

Change-Id: I0a90eceea5636e268048ed6bf1532150dc1f6b24
CRs-Fixed: 2355353
2018-12-05 13:13:36 -08:00
nshrivas
38cdbdb849 Release 5.2.0.110E
Release 5.2.0.110E

Change-Id: Ic9810d45cfb042b1c8cf2b5ec6a3423f7f01a939
CRs-Fixed: 774533
2018-12-05 08:52:24 -08:00
Jeff Johnson
0f7c2f2b11 qcacld-3.0: Remove sir_convert_addts_req2_struct()
Function sir_convert_addts_req2_struct() is no longer used, so remove
it.

Change-Id: I6ba9abc085d51fe043eafcb7bd9bad8b8405ab99
CRs-Fixed: 2361289
2018-12-05 08:52:24 -08:00
nshrivas
df3eb492ff Release 5.2.0.110D
Release 5.2.0.110D

Change-Id: Ib9d83190a95db95d45eed017cb10cf45fa4276b2
CRs-Fixed: 774533
2018-12-05 06:58:50 -08:00
Jeff Johnson
b356a45f7a qcacld-3.0: Remove tdlsCmd from tSmeCmd
Field tdlsCmd in struct tSmeCmd is unused, so remove it. Since that
field is the only user of struct tTdlsCmd, remove it and its composite
structs as well.

Change-Id: I06f8293b7f0ec2827016825c93fccc7075fcc9b7
CRs-Fixed: 2361288
2018-12-05 06:50:39 -08:00
Jeff Johnson
7e7947c307 qcacld-3.0: Remove addStaSessionCmd from tSmeCmd
Field addStaSessionCmd in struct tSmeCmd is unused, so remove it.
Since that field is the only user of struct addstafor_sessioncmd
remove that as well.

Change-Id: I5624ab301c11045de34781dc4dff3ef7d2c784d8
CRs-Fixed: 2361287
2018-12-05 06:50:39 -08:00
Jeff Johnson
db4e363cd9 qcacld-3.0: Remove remainChlCmd from tSmeCmd
Field remainChlCmd in struct tSmeCmd is unused, so remove it. Since
that field is the only user of struct tRemainChlCmd, remove that as
well.

Change-Id: I99c7ee1187f8f17a1e4003fb3c2509e857745e20
CRs-Fixed: 2361286
2018-12-05 06:50:38 -08:00
nshrivas
e2aa6e6335 Release 5.2.0.110C
Release 5.2.0.110C

Change-Id: Ie99bb92ce60651b488403c6a97a8221ef8a41482
CRs-Fixed: 774533
2018-12-05 03:57:38 -08:00
Jeff Johnson
472e1111b3 qcacld-3.0: Remove struct hdd_scan_req
Scan request queueing has moved to the common project and
struct hdd_scan_req is no longer used, so remove it.

Change-Id: I88f2c6c313c7900406d6bddda87e612099d75e58
CRs-Fixed: 2361084
2018-12-05 03:57:38 -08:00
nshrivas
00d4cf95a1 Release 5.2.0.110B
Release 5.2.0.110B

Change-Id: Ib1c0468e33ccc8da9b70885af30e31f21ef00ec4
CRs-Fixed: 774533
2018-12-05 02:18:01 -08:00
Abhinav Kumar
58aaaadfb1 Revert "qcacld-3.0: Flush scan results on interface down"
This reverts the change id- I3505c128276fa8e5e05ea5d9110eb75275a746e9.

When wifi is toggled from GUI, in order to support MAC randomization
security mechanism  driver should not flush scan cache during interface
down. Framework has to set the scan flush flag so that driver will flush
the scan results while interface up and then do the scan.

Remove scan flush logic from driver on interface down.

Change-Id: I45ad1a257ab7ef4bd5474f52fd0dbfde5e3514c4
CRs-Fixed: 2360898
2018-12-05 02:18:01 -08:00
Jeff Johnson
5794d4f337 qcacld-3.0: Rename eHDD_DRV_OP_* enumerations
Per the Linux coding style "mixed-case names are frowned upon" so
remove the leading "e" from the eHDD_DRV_OP_* enumerations .

Change-Id: If756cbc89fb87f0dd8f4b0f7e8200d488a0215e7
CRs-Fixed: 2361015
2018-12-05 02:17:57 -08:00
Jeff Johnson
1c8769caab qcacld-3.0: Remove obsolete MAC Thread definitions
An ancestor of the current driver featured a multi-threaded MAC
implementation. Some definitions from that driver still exist,
including timer durations, service queue sizes, thread entry points,
thread stack sizes, and thread priorities. Since none of these are
used by the current driver, remove them.

Change-Id: I574aeeedcc8a67a4b763f7ef179753416ae1731e
CRs-Fixed: 2361051
2018-12-05 02:17:54 -08:00
nshrivas
74cb32d02d Release 5.2.0.110A
Release 5.2.0.110A

Change-Id: I1c888039ab667bcad9457cdb7e02e00ab32f136c
CRs-Fixed: 774533
2018-12-05 00:35:48 -08:00
Jeff Johnson
874d480846 qcacld-3.0: Remove obsolete DPH structs
The following DPH structs are unused, so remove them:
tDphRateBasedCtr
tDphPhyRates
tDphIFSValues
tDphQueueAttr

Change-Id: Iff29224090b1e6fb9e7f0ba358dc3cd2e5d4fab9
CRs-Fixed: 2360916
2018-12-05 00:35:47 -08:00
Jeff Johnson
d47337f256 qcacld-3.0: Remove typedef tdlsInfo_t
The information previously contained within tdlsInfo_t has been
relocated to struct tdls_info in the TDLS component, and tdlsInfo_t is
no longer being used, so remove it.

Change-Id: I96a4b7c442f9f42e53d6eeb4a7ba3182737d9e2c
CRs-Fixed: 2361021
2018-12-05 00:35:43 -08:00
nshrivas
3624d7b458 Release 5.2.0.110
Release 5.2.0.110

Change-Id: I55ef2bd3046cf2936830978eee374f0d6d783773
CRs-Fixed: 774533
2018-12-04 19:57:55 -08:00
Abhinav Kumar
d4d6eb7d4e qcacld-3.0: ADD MLME INI items of FE_BEAMFORM and WLAN_REG
Add the following WLAN_REG ini configs and FE_BEAMFORM
cfg items to MLME cfg:
1. WNI_CFG_11D_ENABLED
2. WNI_CFG_11H_ENABLED
3. WNI_CFG_TX_BF_CAP
4. WNI_CFG_AS_CAP
5. WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP

Introduce the basic infra APIs related to these configs
from mlme.

In csr_roam_open_session, lim_populate_vht_mcs_set,
lim_sta_send_add_bss, populate_dot11f_tdls_ht_vht_cap,
populate_dot11f_vht_caps and sme_update_nss, local structure
is updated instead of mlme global structure for vht caps and
thus the mlme vht caps contains only the default values.

Fix this by updating mlme vht caps in mlme_update_vht_cap.

Change-Id: I1a948d7a44ad2bcc7f711c46b278971d7e4026e7
CRs-Fixed: 2354562
2018-12-04 19:57:54 -08:00
nshrivas
dfa6faac89 Release 5.2.0.109Z
Release 5.2.0.109Z

Change-Id: Ic1751d6971749a62dd30e2ae94aace3049024c37
CRs-Fixed: 774533
2018-12-04 18:25:52 -08:00
Jeff Johnson
c59ef8b5b6 qcacld-3.0: Replace tpAniSirGlobal in SAP
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sap_api_link_cntl.c
sap_ch_select.c
sap_fsm.c
sap_internal.h
sap_module.c

Change-Id: Iec4f67fc3ba08cf046d00136fb0f4edf37d65d64
CRs-Fixed: 2360297
2018-12-04 18:25:51 -08:00
nshrivas
85ced48a66 Release 5.2.0.109Y
Release 5.2.0.109Y

Change-Id: I02b10a97592ede6e39a8b76a0689808e4cb058e1
CRs-Fixed: 774533
2018-12-04 16:45:11 -08:00
Jeff Johnson
9320c1e6bc qcacld-3.0: Replace tpAniSirGlobal in LIM misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_admit_control.c
lim_admit_control.h
lim_aid_mgmt.c
lim_assoc_utils.c
lim_assoc_utils.h
lim_ft.c
lim_ft.h
lim_ft_preauth.c
lim_ibss_peer_mgmt.c
lim_ibss_peer_mgmt.h
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_req_frame.c
lim_process_assoc_rsp_frame.c
lim_process_auth_frame.c
lim_process_beacon_frame.c
lim_process_cfg_updates.c
lim_process_deauth_frame.c
lim_process_disassoc_frame.c
lim_process_fils.c
lim_process_fils.h
lim_process_message_queue.c
lim_process_mlm_host_roam.c
lim_process_mlm_req_messages.c
lim_process_mlm_rsp_messages.c
lim_process_probe_req_frame.c
lim_process_probe_rsp_frame.c
lim_process_tdls.c
lim_prop_exts_utils.c
lim_prop_exts_utils.h
lim_reassoc_utils.c
lim_roam_timer_utils.c
lim_scan_result_utils.c
lim_scan_result_utils.h
lim_security_utils.c
lim_security_utils.h
lim_send_frames_host_roam.c
lim_send_management_frames.c
lim_send_messages.c
lim_send_messages.h
lim_send_sme_rsp_messages.c
lim_send_sme_rsp_messages.h
lim_ser_des_utils.c
lim_ser_des_utils.h
lim_session.c
lim_session.h
lim_session_utils.c
lim_session_utils.h
lim_sme_req_utils.c
lim_sme_req_utils.h
lim_sta_hash_api.c
lim_sta_hash_api.h
lim_timer_utils.c
lim_timer_utils.h
lim_trace.c
lim_trace.h

Change-Id: Ia3fa828ad2c1572beeaac363324dbf575e335876
CRs-Fixed: 2360307
2018-12-04 16:45:11 -08:00
Jeff Johnson
83d6c11801 qcacld-3.0: Replace tpAniSirGlobal in lim_process_sme_req_messages.c
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_process_sme_req_messages.c.

Change-Id: If95c95d85de7ee5cfc4e6311b5356dc697b05f0a
CRs-Fixed: 2360306
2018-12-04 16:45:06 -08:00
Jeff Johnson
a271acdc9a qcacld-3.0: Replace tpAniSirGlobal in lim_api
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_api.c
lim_api.h

Change-Id: I9f3c2dcc0fe9f00c44f965fc0d3388327854b7a8
CRs-Fixed: 2360305
2018-12-04 16:45:01 -08:00
Jeff Johnson
8d8a9aba2c qcacld-3.0: Replace tpAniSirGlobal in lim_types.h
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in lim_types.h.

Change-Id: Id7c304df1e7e4c872dd0cdf86d1b288ae1e9d6f8
CRs-Fixed: 2360304
2018-12-04 16:44:56 -08:00
Jeff Johnson
07db4b389f qcacld-3.0: Replace tpAniSirGlobal in nan_datapath
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_datapath.c
nan_datapath.h

Change-Id: Ie81269c78e042a985a3a7a0634037559b94825c7
CRs-Fixed: 2360303
2018-12-04 16:44:51 -08:00
Jeff Johnson
f010c7b544 qcacld-3.0: Replace tpAniSirGlobal in SCH
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sch_api.c
sch_api.h
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c

Change-Id: If8f67e3c3ef6bbd6da3ac2c3acfb45048f58fe53
CRs-Fixed: 2360302
2018-12-04 16:44:39 -08:00
Jeff Johnson
b228e0a9b9 qcacld-3.0: Replace tpAniSirGlobal in LIM RRM
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
rrm_api.c
rrm_api.h

Change-Id: Icc91e689c6ce8024e956500bddb955b3e7862ad1
CRs-Fixed: 2360301
2018-12-04 16:44:34 -08:00
Jeff Johnson
2d3d13f121 qcacld-3.0: Replace tpAniSirGlobal in MAC misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
ani_global.h
cfg_api.c
cfg_api.h
cfg_priv.h
cfg_proc_msg.c
cfg_send_msg.c
dph_hash_table.c
dph_hash_table.h
mac_init_api.c
mac_trace.c
mac_trace.h
sys_entry_func.c
sys_entry_func.h
utils_api.h
wlan_qct_sys.c

Change-Id: Iffe25ad77d7f289bdade2c0bd9ddb566c5ddadff
CRs-Fixed: 2360300
2018-12-04 16:44:31 -08:00
Jeff Johnson
d01da6b5d3 qcacld-3.0: Replace tpAniSirGlobal in lim_utils
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
lim_utils.c
lim_utils.h

Change-Id: If1e5d47c6e5ac12fde3160fe53b2e992e172b156
CRs-Fixed: 2360299
2018-12-04 16:44:27 -08:00
Jeff Johnson
9f18aa74a4 qcacld-3.0: Replace tpAniSirGlobal in WMA
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
wlan_qct_wma_legacy.c
wma.h
wma_api.h
wma_data.c
wma_dev_if.c
wma_features.c
wma_if.h
wma_internal.h
wma_main.c
wma_mgmt.c
wma_scan_roam.c
wma_twt.c
wma_types.h
wma_utils.c

Change-Id: Ic48ad188f1b33da3d13ebead24b0827aed5ae6f0
CRs-Fixed: 2360298
2018-12-04 16:44:23 -08:00
nshrivas
1bce6e8a6e Release 5.2.0.109X
Release 5.2.0.109X

Change-Id: Ibfdd13a2d5d6fca969b67ccad7599c2a095d7929
CRs-Fixed: 774533
2018-12-04 08:28:57 -08:00
Abhinav Kumar
5e002903e1 qcacld-3.0: Check channel_count while handling DCC update ndl event
Invalid channel_count may be sent to driver by user with
QCA_NL80211_VENDOR_SUBCMD_DCC_UPDATE_NDL vendor command, and may also
pass the sanity check with update_ndl_param->dcc_ndl_chan_list_len as
integer overflow, in send_dcc_update_ndl_cmd_tlv. This leads to heap
overflow while updating NDL per channel.

Fix is to validate channel count sent by user in
__wlan_hdd_cfg80211_dcc_update_ndl before accessing it.

Change-Id: Icf385dd5618fcdbdbf427062fe581fa7d3909882
CRs-Fixed: 2339182
2018-12-04 08:28:57 -08:00
nshrivas
73c6949420 Release 5.2.0.109W
Release 5.2.0.109W

Change-Id: I75224bd79dc8a9ff90c1d0c405f3098eadec7fdf
CRs-Fixed: 774533
2018-12-04 05:36:58 -08:00
Jeff Johnson
63af281213 qcacld-3.0: Replace tpAniSirGlobal in SME misc
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
nan_api.c
nan_datapath_api.c
sme_ft_api.c
sme_ft_api.h
sme_inside.h
sme_nan_datapath.h
sme_power_save.c
sme_power_save_api.h
sme_rrm.c
sme_rrm_api.h
sme_trace.c
sme_trace.h

Change-Id: Ied3f2d5ef4bac2b4e67c0c1e1055dddf58f9868a
CRs-Fixed: 2360296
2018-12-04 05:36:57 -08:00
Jeff Johnson
5b2ad76127 qcacld-3.0: Replace tpAniSirGlobal in legacy parser
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
parser_api.c
parser_api.h
utils_parser.c
utils_parser.h

Change-Id: Iea09e107133f9621ccdfc0ed89aefcf48c1a16a3
CRs-Fixed: 2360294
2018-12-04 05:36:54 -08:00
Jeff Johnson
9b95e306b8 qcacld-3.0: Replace tpAniSirGlobal in SME QOS
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_qos.c
sme_qos_api.h
sme_qos_internal.h

Change-Id: Idb247cfab508543bbdaa9cd1f57a374fc8b6799e
CRs-Fixed: 2360293
2018-12-04 05:36:51 -08:00
Jeff Johnson
edece84530 qcacld-3.0: Replace tpAniSirGlobal in SME CSR
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
csr_api.h
csr_api_roam.c
csr_api_scan.c
csr_cmd_process.c
csr_host_scan_roam.c
csr_inside_api.h
csr_internal.h
csr_neighbor_roam.c
csr_neighbor_roam.h
csr_roam_preauth.c
csr_support.h
csr_util.c

Change-Id: I38a4602d5e31c818e81df2a9de8073667087f44a
CRs-Fixed: 2360292
2018-12-04 05:36:47 -08:00
Jeff Johnson
0a8786ae3f qcacld-3.0: Replace tpAniSirGlobal in sme_api
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in:
sme_api.h
sme_api.c

Change-Id: If0264aeecf484c1adf4342a895e3449aee8f3006
CRs-Fixed: 2360291
2018-12-04 05:36:44 -08:00
Jeff Johnson
e044f20d1f qcacld-3.0: Replace tpAniSirGlobal in struct sSirSmeReadyReq
To align with the Linux coding style replace tpAniSirGlobal with
struct mac_context * in struct sSirSmeReadyReq.

Change-Id: I29b0ce1559f6907428f7004a44250ed6b25fa67a
CRs-Fixed: 2360290
2018-12-04 05:36:40 -08:00
Krunal Soni
ee6309f48a qcacld-3.0: When PS is disabled from INI, return success to kernel
If power-save is disabled then driver is returning failure to KERNEL
which causes framework and kernel to go out of sync and therefor
kernel doesn't accept any power-save enablement command from framework.

CRs-Fixed: 2357896
Change-Id: I36db68454f1ff6661563d021fc5b75b8161e8a78
2018-12-04 05:36:37 -08:00
nshrivas
e2399366e9 Release 5.2.0.109V
Release 5.2.0.109V

Change-Id: I537d8846fc89c58189cdfc705183b9ebc7dbca11
CRs-Fixed: 774533
2018-12-04 04:04:04 -08:00
Alok Kumar
3f3000fd73 qcacld-3.0: Add INI parameter for PEER UNMAP CONF SUPPORT
Add INI parameter "gEnablePeerUnmapConfSupport" to enable/disable
peer unmap confirmation support. When enabled Host will send
this support to the FW only if FW support is also enabled.
Default Value: False

Change-Id: Id368e61b5a99354e25a1fa2a0ff61b1262217521
CRs-Fixed: 2358126
2018-12-04 04:04:03 -08:00
nshrivas
3672a9ba9b Release 5.2.0.109U
Release 5.2.0.109U

Change-Id: I50bdb2784d92108254797f5209d512967dedc7b2
CRs-Fixed: 774533
2018-12-04 00:06:01 -08:00
Arif Hussain
bd5194c5e0 qcacld-3.0: Refactor CFG_FINE_TIME_MEAS_CAPABILITY cfg
Refactor following CFG_FINE_TIME_MEAS_CAPABILITY cfg items.

Change-Id: I854e584e366490f788ee778adad3fec0c2b5c8cc
CRs-Fixed: 2357070
2018-12-04 00:06:01 -08:00
Arif Hussain
4966f697ef qcacld-3.0: Refactor CFG_WMI_WQ_WATCHDOG cfg
Refactor following  CFG_WMI_WQ_WATCHDOG cfg items.

Change-Id: Ib65c6cda2a2574940604e8b67bc29a6749add842
CRs-Fixed: 2357070
2018-12-04 00:05:57 -08:00
Arif Hussain
224d38154f qcacld-3.0: Refactor more dfs cfg items
Refactor following DFS cfg items
CFG_DISABLE_DFS_CH_SWITCH
CFG_ENABLE_DFS_PHYERR_FILTEROFFLOAD_NAME
CFG_IGNORE_CAC_NAME
CFG_DFS_RADAR_PRI_MULTIPLIER_NAME
CFG_SAP_TX_LEAKAGE_THRESHOLD_NAME
CFG_DFS_BEACON_TX_ENHANCED
CFG_DISABLE_DFS_JAPAN_W53
CFG_ENABLE_NON_DFS_CHAN_ON_RADAR

Change-Id: I7f39ed0680919c6a383d9b8bae5864f979b6948c
CRs-Fixed: 2351995
2018-12-04 00:05:53 -08:00
nshrivas
461ab006eb Release 5.2.0.109T
Release 5.2.0.109T

Change-Id: I932842bbcde2c9748906b112d304eaa15280e45b
CRs-Fixed: 774533
2018-12-03 15:18:00 -08:00
Nachiket Kukade
63bb63d833 qcacld-3.0: Complete the NAN component movement into CLD
NAN related OS IF, Target IF and component files have been
merged into CLD. Add Makefile changes, include correct
files, replace lmac tx/rx ops with the new ops and call
updated API's such as init/deinit.

Complete the remaining changes for moving NAN component
into CLD.

Change-Id: Idcf8816337aa49b399596ce3cdfc9cdab811d386
CRs-Fixed: 2338060
2018-12-03 15:17:59 -08:00
nshrivas
3079478a5b Release 5.2.0.109S
Release 5.2.0.109S

Change-Id: I60f377b5638070153968cffd5fc441c8acaad016
CRs-Fixed: 774533
2018-12-03 13:46:33 -08:00
Jeff Johnson
b5c1333cf4 qcacld-3.0: Replace pSessionEntry with pe_session
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon. There are multiple variations of
the identifier "pSessionEntry" currently in use, so replace them with
pe_session everywhere they occur in the driver.

Change-Id: I6cc37504bf9e8821c0e1c3d99e4f97a57aaba24c
CRs-Fixed: 2360166
2018-12-03 11:09:46 -08:00
nshrivas
a806ed3958 Release 5.2.0.109R
Release 5.2.0.109R

Change-Id: Ia11d27a455522ecd8e8d161705934b761ddd997e
CRs-Fixed: 774533
2018-12-03 11:01:22 -08:00
Jeff Johnson
8aebe614be qcacld-3.0: Rename pPeer
To conform to the Linux coding style rename all instances of "pPeer"
to "peer".

Change-Id: I012a647e97a01f29224620682bff70a814ee3cc8
CRs-Fixed: 2359578
2018-12-03 11:01:21 -08:00
nshrivas
c58c6e8adb Release 5.2.0.109Q
Release 5.2.0.109Q

Change-Id: I4dc4eb0370782a46d6415457cecbdbb74c14a063
CRs-Fixed: 774533
2018-12-03 09:13:11 -08:00
Jeff Johnson
f3408a6b99 qcacld-3.0: Rename pftSessionEntry
The identifier pftSessionEntry, which is used throughout the LIM FT
code, does not conform to the Linux coding style, so rename it to
ft_session to be compliant.

Change-Id: I466b396e4f84f1e02fa50dffa857fd43000fba27
CRs-Fixed: 2359658
2018-12-03 09:13:11 -08:00
nshrivas
5b816694cc Release 5.2.0.109P
Release 5.2.0.109P

Change-Id: Icd3ea40f98566f5f8f15c69c130b73681634d37b
CRs-Fixed: 774533
2018-12-03 05:48:09 -08:00
jiad
7b8a5e0e53 qcacld-3.0: Fix TDLS featurization build failure
When CONFIG_MOBILE_ROUTER is enabled there are build failures
due to improper featurization of TDLS, so fix the featurization
build failures.

Change-Id: I0e6b21615e763f2c4c86e0092807062cc8397705
CRs-Fixed: 2355801
2018-12-03 05:48:08 -08:00
nshrivas
4673ededb8 Release 5.2.0.109O
Release 5.2.0.109O

Change-Id: I749aa9d88db4825c011c0c6054bd7aecba0134b9
CRs-Fixed: 774533
2018-12-03 01:41:58 -08:00
Jeff Johnson
ef8cc9b2e1 qcacld-3.0: Fix wlan_hdd_nud_tracking.h copyright comment block
The copyright comment block in wlan_hdd_nud_tracking.h is not properly
aligned, so fix it.

Change-Id: I180980435c062fbdc43db58f84d9b48335f6bdc6
CRs-Fixed: 2359488
2018-12-03 01:41:58 -08:00
nshrivas
bfd3ec638b Release 5.2.0.109N
Release 5.2.0.109N

Change-Id: Iea1497a9913181269d84fc0a1caa5ee982d71b4a
CRs-Fixed: 774533
2018-12-02 22:31:23 -08:00
Jianmin Zhu
69e7bf332c qcacld-3.0: Enable CSA of STA mode for VDEV SM
After receive F/W wmi_csa_handling_event
1. Send WLAN_VDEV_SM_EV_FW_VDEV_RESTART before switch channel
	when gLimChannelSwitchTimer timeout.
2. Call __lim_process_channel_switch_timeout in
	mlme_vdev_restart_send.
3. Send WLAN_VDEV_SM_EV_RESTART_RESP in
	wma_vdev_start_resp_handler.
4. Send WMA_SWITCH_CHANNEL_RSP in mlme_vdev_start_continue.
5. Send WLAN_VDEV_SM_EV_START_SUCCESS in
	lim_switch_channel_cback.

Change-Id: I18e64ddf4ca898189cd22a3c8102a67702a025cc
CRs-Fixed: 2355762
2018-12-02 22:31:22 -08:00
nshrivas
11f45acf12 Release 5.2.0.109M
Release 5.2.0.109M

Change-Id: I888fd83691c57b42dd9243ec86dbc08bff02703c
CRs-Fixed: 774533
2018-12-02 19:14:19 -08:00
Jeff Johnson
8f358f6d64 qcacld-3.0: Remove typedef tpPESession
All references to typedef tpPESession have been converted to instead
to refer to the underlying struct, so remove the now obsolete typedef.

Change-Id: I58d80f42527a2edb20ca27a514600aa308e78fd8
CRs-Fixed: 2354302
2018-12-02 19:14:18 -08:00
nshrivas
ef7450bbe1 Release 5.2.0.109L
Release 5.2.0.109L

Change-Id: I1dd4d8970cd8bd3f3825a95d5787608936eb6e1b
CRs-Fixed: 774533
2018-12-02 14:59:45 -08:00
gaurank kathpalia
3d2e38572b qcacld-3.0: Add CFG items of power
Add power items related CFG items in new file,
and store the respective inis in MLME component

Change-Id: Iac183da52495aca07c6270edeb9f383ab49c1ff5
CRs-Fixed: 2341900
2018-12-02 14:59:45 -08:00
Jeff Johnson
5b574dd196 qcacld-3.0: Replace tpPESession in lim_process_assoc_req_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_assoc_req_frame.

Change-Id: Ieab2818e7f0121f65454a29e2bfa716021bd2355
CRs-Fixed: 2354293
2018-12-02 14:59:41 -08:00
Jeff Johnson
f719052617 qcacld-3.0: Replace tpPESession in lim_process_auth_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_auth_frame.

Change-Id: I5b40607744f57e30eeb4f4bc6ab7dd9996035e1e
CRs-Fixed: 2354295
2018-12-02 14:59:38 -08:00
Jeff Johnson
a7071e6e39 qcacld-3.0: Replace tpPESession in lim_process_mlm_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_req_messages.

Change-Id: I573e4775936c0139f4853725675359af7b8511ee
CRs-Fixed: 2354285
2018-12-02 14:59:34 -08:00
Jeff Johnson
c246b29551 qcacld-3.0: Replace tpPESession in lim_process_tdls
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_tdls.

Change-Id: I410d0da4f6fc3202b4d96ca79ce7a8cdf5b7e145
CRs-Fixed: 2354290
2018-12-02 14:59:30 -08:00
nshrivas
f7bac73e37 Release 5.2.0.109K
Release 5.2.0.109K

Change-Id: I2d8813412af31c5790c9262bfed64fb275a92e6e
CRs-Fixed: 774533
2018-12-02 13:30:58 -08:00
Jeff Johnson
f6f4aebb26 qcacld-3.0: Replace tpPESession in lim_process_mlm_rsp_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_mlm_rsp_messages.

Change-Id: I30b485531801979b8da934975eeda5bcf34294fe
CRs-Fixed: 2354289
2018-12-02 13:30:58 -08:00
Jeff Johnson
c7f8094ceb qcacld-3.0: Correctly export hdd_conn_set_connection_state()
There are multiple issues with how hdd_conn_set_connection_state()
is exported:
1) The prototype is defined in wlan_hdd_cfg80211.h even though the
   implementation is in wlan_hdd_assoc.c.
2) The prototype uses the "extern" keyword which violates the Linux
   Kernel coding style.
3) The implementation is documented instead of the interface.

To address these issues move the prototype (without "extern") as well
as the documentation to wlan_hdd_assoc.h.

Change-Id: Ie2b80e953cc500c10ae14d94c375cc1487241b6c
CRs-Fixed: 2357078
2018-12-02 13:30:54 -08:00
nshrivas
8b667c9f8c Release 5.2.0.109J
Release 5.2.0.109J

Change-Id: Ib46f1602719a26dd9b312dafd3073ca5ea491f53
CRs-Fixed: 774533
2018-12-02 11:55:10 -08:00
Jeff Johnson
209dfa0b2c qcacld-3.0: Replace tpPESession in lim_process_sme_req_messages
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_sme_req_messages.

Change-Id: I1de7a895225db8abaa462c6baef297eac299a77b
CRs-Fixed: 2354329
2018-12-02 11:55:10 -08:00
Jeff Johnson
a781565642 qcacld-3.0: Replace tpPESession in lim_send_management_frames
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_send_management_frames.

Change-Id: Ieace9841d36d93371c0929ef5232c052cade4d8e
CRs-Fixed: 2354288
2018-12-02 11:55:06 -08:00
Ke Huang
ae49ad0d7c qcacld-3.0: remove wma_send_time_stamp_sync_cmd
qcacld-2.0 to qcacld-3.0 Propagation.

the wma_send_time_stamp_sync_cmd will not be processed by fw,
so remove this wma_send_time_stamp_sync_cmd.

CRs-Fixed: 2280656
Change-Id: I3aee6e2da4783772ad9acf3fc20c3669829f9397
2018-12-02 11:55:03 -08:00
nshrivas
d517c8e15c Release 5.2.0.109I
Release 5.2.0.109I

Change-Id: Iac43230ae723fc2fd58b353cdc3d4d983b3d092c
CRs-Fixed: 774533
2018-11-30 17:39:55 -08:00
Jeff Johnson
41ce2853db qcacld-3.0: Replace tpPESession in lim_process_action_frame
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_process_action_frame.

Change-Id: Ic07be2b8001ec0b79115b6a149b2cf176381f52b
CRs-Fixed: 2354296
2018-11-30 17:39:55 -08:00
Jeff Johnson
ec50d0d061 qcacld-3.0: Replace tpPESession in lim_assoc_utils
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_assoc_utils.

Change-Id: I917e16c306e45df6ee81b0f38cefd5190fbad149
CRs-Fixed: 2354280
2018-11-30 17:39:52 -08:00
nshrivas
0a64e52da0 Release 5.2.0.109H
Release 5.2.0.109H

Change-Id: I1b3e3a455680c85e641daecb116d6a30532b546b
CRs-Fixed: 774533
2018-11-30 14:36:47 -08:00
Jeff Johnson
a0619e4264 qcacld-3.0: Replace PMAC_STRUCT() with MAC_CONTEXT()
The inline function MAC_CONTEXT() is the preferred mechanism for
converting a MAC handle into a MAC context, so replace all instances
of the legacy macro PMAC_STRUCT().

Change-Id: Ieb29696c79b729648462be699892607484c2f301
CRs-Fixed: 2357873
2018-11-30 14:36:47 -08:00
nshrivas
754d21ed1f Release 5.2.0.109G
Release 5.2.0.109G

Change-Id: Ib95fcca650845fc2e0526bbe9408feca3a6544f0
CRs-Fixed: 774533
2018-11-30 12:23:14 -08:00
Wu Gao
bc6eaa1fca qcacld-3.0: Remove QDF TRACE INIs
Since QDF TRACE INIs used infrequently, remove them and related codes.
Please file new FR to trace the requirement about host log level
setting.

Change-Id: I9c519cf2509e3dc22282f0c7ea6f52cbd2913ccd
CRs-Fixed: 2358850
2018-11-30 12:23:13 -08:00
nshrivas
567da4afe5 Release 5.2.0.109F
Release 5.2.0.109F

Change-Id: I1462f5cc5783c0253ca16d8a605421ee6810d2e0
CRs-Fixed: 774533
2018-11-30 08:28:18 -08:00
Ke Huang
c067b8d863 qcacld-3.0: Fix tx flow control inconsistency during ssr
qcacld-2.0 to qcacld-3.0 Propagation.

Connection fails after ssr due to the tx queues are paused by tx flow
control and ssr happens before tx resume, and the tx queues cannot be
resumed because of the unpaired status of pause map.

Resume tx queues and update pause map at the beginning of ssr if the tx
queues are paused by tx flow control.

CRs-Fixed: 2146129
Change-Id: Ib1ed8360c6effa4a47fc1702650375bf2380e65c
2018-11-30 08:28:17 -08:00
Vignesh Viswanathan
f10c4e097c qcacld-3.0: Add new vendor OUI in default INI to connect in 1x1
The 3rd party AP with Vendor IE OUI 001018, Vendor Data
02 FF 00 9C 00 00 and NSS 4x4 is not able to handle OMN/SMPS
frames sent by DUT in 2.4Ghz. This leads to the AP dropping
the data rates to 1Mbps and low throughput is seen.

This is because the connection is done with NSS 2x2 and when Coex
scenarios occur, the DUT switches dynamically to 1x1 by sending
OMN/SMPS frames. To overcome this issue, the workaround is to
blacklist the above AP and do connection in 1x1 only.

Add the vendor OUI of the 3rd party AP to gActionOUIConnect1x1
default INI string to connect in 1x1.

Change-Id: Idc0f3238e3521bb20c592b44de77216125e69504
CRs-Fixed: 2352946
2018-11-30 08:28:14 -08:00
Tiger Yu
389f591af8 qcacld-3.0: Drop packet if SAP is not started
Drop packet if SAP is not started to avoid abnormal state.

Change-Id: If09abb0d03b4a34805178d4219ef479dd39b6418
CRs-Fixed: 2357973
2018-11-30 08:28:11 -08:00
nshrivas
c7cfd0c6e4 Release 5.2.0.109E
Release 5.2.0.109E

Change-Id: I5b4b3b724d58315d5376abe89486559735f8d9c4
CRs-Fixed: 774533
2018-11-30 06:45:10 -08:00
Tiger Yu
13cdcc4194 qcacld-3.0: Change the policy & priority of RX thread
Change the policy & priority of RX thread to improve the RX throughput for
Specified platform.

Change-Id: Ie9df5de6f34d75264c4f3b7bdcb59ab92845a128
CRs-Fixed: 2354502
2018-11-30 06:45:09 -08:00
Jeff Johnson
b6f7d38c35 qcacld-3.0: Replace tpPESession in lim_ibss_peer_mgmt
To align with the Linux coding style replace tpPESession with struct
pe_session * in lim_ibss_peer_mgmt.

Change-Id: I56fd03e60e793f707e0078b278b623a7141565dd
CRs-Fixed: 2354279
2018-11-30 06:45:06 -08:00
nshrivas
c32cc0fdf7 Release 5.2.0.109D
Release 5.2.0.109D

Change-Id: I997af06190a473bfb814b1fa1e8354f9b907bd74
CRs-Fixed: 774533
2018-11-30 03:40:30 -08:00
nshrivas
d615266d9b Release 5.2.0.109C
Release 5.2.0.109C

Change-Id: I13136e30c265839e0e5c84efc282f15a29ff0be4
CRs-Fixed: 774533
2018-11-30 02:22:52 -08:00
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