Commit Graph

14139 Commits

Author SHA1 Message Date
Jeff Johnson
46bb430a7c qcacld-3.0: Remove lim_p2p_action_cnf() prototype
Change I64d0b71853004679ae694bcd6ca7a2f2347adc84 ("qcacld-3.0:
Remove legacy P2P codes in MAC") removed the implementation of
lim_p2p_action_cnf(). However it left the prototype, so remove
it as well.

Change-Id: I9586624c2353ab675ba540771335e5b68ce527bf
CRs-Fixed: 2376113
2019-01-08 15:32:37 -08:00
Jeff Johnson
b27d245d34 qcacld-3.0: Remove lim_strip_extcap_ie() prototype
The lim_strip_extcap_ie() prototype has no corresponding
implementation. Since it is obsolete, remove it.

Change-Id: Ic19df6825039ce63747deb61bac5821407436836
CRs-Fixed: 2376112
2019-01-08 15:32:28 -08:00
Jeff Johnson
64e23a351c qcacld-3.0: Remove limUpdateStaRunTimeHTSwtichChnlParams()
The limUpdateStaRunTimeHTSwtichChnlParams() prototype has no
corresponding implementation. Since it is obsolete, remove it.

Change-Id: I968d0a601570f62317a7d1d551e63db456ac450c
CRs-Fixed: 2376111
2019-01-08 15:32:20 -08:00
Jeff Johnson
579fcdcb5e qcacld-3.0: Harmonize lim_process_add_sta_rsp()
The parameter identifiers used in the implementation of
lim_process_add_sta_rsp() differ from the ones used in the prototype.
Since this can be confusing for both humans and code analysis tools,
harmonize on the parameters used in the implementation. In addition,
relocate the documentation so that it is the interface that is
documented and not the implementation.

Change-Id: I221b4fd0a643770b46adf06776b16fa85a6de03c
CRs-Fixed: 2376110
2019-01-08 15:32:12 -08:00
Jeff Johnson
8d34a83e3d qcacld-3.0: Harmonize sys_build_message_header()
The parameter identifiers used in the implementation of
sys_build_message_header() differ from the ones used in the
prototype. Since this can be confusing for both humans and code
analysis tools, harmonize on a good set of identifiers. In addition,
consolidate the two distince documentation blocks so that it is the
interface that is fully and correctly documented, and not the
implementation.

Change-Id: Iaeee04ec918fad20a43c5804f9e50b7b208dfb94
CRs-Fixed: 2376109
2019-01-08 15:32:03 -08:00
Jeff Johnson
1b6240354f qcacld-3.0: Remove MAX_DEAUTH_ALLOWED
Macro MAX_DEAUTH_ALLOWED is unused, so remove it.

Change-Id: Icef471ee15aca829c7746d2912af002b9cc7ac28
CRs-Fixed: 2376108
2019-01-08 15:31:53 -08:00
Jeff Johnson
f445dbf767 qcacld-3.0: Remove #if 0 in populate_dot11f_supp_rates()
Function populate_dot11f_supp_rates() contains #if 0 code that is
obsolete, so remove it.

Change-Id: Ib0c87186aac5bfc48ecf7dd50f5547d85920c62b
CRs-Fixed: 2376107
2019-01-08 15:31:45 -08:00
Jeff Johnson
22e2026036 qcacld-3.0: Remove vendor_ie_access_policy from sap_config
Change "I9d05cd7b8e051c4e9e4912cf866206ae32ec293d" ("qcacld-3.0:
Define data structures for new AP requirements") added the
vendor_ie_access_policy field to struct sap_config, but subsequently
no code was added which actually utilizes this field. Since it is
unused, remove it, along with the underlying enumeration.

Change-Id: I7a3661a50ef17b0452e87e0ed86c3826b3bd199d
CRs-Fixed: 2375528
2019-01-08 15:31:37 -08:00
Jeff Johnson
9661fc978d qcacld-3.0: Remove sapGetWPSPBCSessionEvent from tSap_Event
Change I9d83f66bce4ec66bc131747254a45d8b6afb5cbb ("qcacld-3.0:
Remove eSAP_GET_WPSPBC_SESSION_EVENT") removed the references
to the sapGetWPSPBCSessionEvent field in typedef tSap_Event.
Since this field is obsolete, remove it, along with the underlying
tSap_GetWPSPBCSessionEvent typedef which is also now obsolete.

Change-Id: I20dbc1635430f8148f997aeb15df4ddb7e06ceef
CRs-Fixed: 2375527
2019-01-08 15:31:30 -08:00
Jeff Johnson
a5798f1a03 qcacld-3.0: Remove typedef tChannelInfo
Change I5a07c44ca4138af5494d1a6f6e1d08158d244be2 ("qcacld-3.0: Remove
SapAllChnlList from struct sap_context") removed the last reference to
typedef tChannelInfo. Since this typedef is now obsolete, remove it.

Change-Id: Ib38c9744c9419ce91b94956b5da78cc7bcc440c5
CRs-Fixed: 2375526
2019-01-08 15:31:23 -08:00
Jeff Johnson
b382dcb420 qcacld-3.0: Remove typedef tSapChannelListInfo
Change I2c3b96e1f2ee44c9f1158108d4b5e48495222080 ("qcacld-3.0: Make
SAP open()-close() & start()-stop() symmetrical") removed the last
reference to typedef tSapChannelListInfo. Since the typedef is
obsolete, remove it.

Change-Id: I4fc7cf83f41ad0192b971513f0456cf211fabb54
CRs-Fixed: 2375525
2019-01-08 15:31:16 -08:00
Jeff Johnson
75ea56b510 qcacld-3.0: Harmonize sap_get_channel_list()
The parameter identifiers used in the implementation of
sap_get_channel_list() differ from the ones used in the forward
reference. Since this can be confusing for both humans and code
analysis tools, harmonize on the parameters used in the
implementation.

Change-Id: I356740677e790e48b0c28d5ca694be3ae3835d59
CRs-Fixed: 2375524
2019-01-08 15:31:09 -08:00
Jeff Johnson
88c5c3e850 qcacld-3.0: Remove isScanSessionOpen from struct sap_context
Change I3c4f8da14dbc70a3102fb1892bb101eb1a90a00d ("qcacld-3.0: Fix
firmware assertion caused by vdev delete") removed all usage of field
isScanSessionOpen in struct sap_context. Since it is obsolete, remove
it.

Change-Id: I30eb9d3b4ca39a5f14dafe9559d025cb361372b5
CRs-Fixed: 2375522
2019-01-08 15:31:02 -08:00
Jeff Johnson
7fea18b8a3 qcacld-3.0: Remove sap_channel_matrix_check() prototype
The implementation of sap_channel_matrix_check() is no longer part of
the driver, but the prototype is still present. Since the prototype is
obsolete, remove it.

Change-Id: I689c4360776a2b46d723c48dd5bb8a61da5c95cd
CRs-Fixed: 2375521
2019-01-08 15:30:50 -08:00
Jeff Johnson
9585979abd qcacld-3.0: Remove stop_bss_in_progress from struct sap_context
Change I76e78824cdc7acad87e60310d53225596630ea94 ("qcacld-3.0: Remove
SAP FSM dependency from CSA") removed all logic which used the
stop_bss_in_progress field in struct sap_context. Since this field is
now obsolete, remove it.

Change-Id: I9867bcf7d8021e7173c679d3e20e16ca8bdbc5cc
CRs-Fixed: 2375520
2019-01-08 15:30:43 -08:00
Jeff Johnson
75de2dc20e qcacld-3.0: Remove typedef tCsrRoamRemoveKey
Typedef tCsrRoamRemoveKey is obsolete, so remove it.

Change-Id: I36a4a74be7c4c8b2a9bc9d4d59a1d6218f84618d
CRs-Fixed: 2375519
2019-01-08 15:30:36 -08:00
Jeff Johnson
257dc884fd qcacld-3.0: Remove typedef tCsrFreqScanInfo
Typedef tCsrFreqScanInfo is obsolete, so remove it.

Change-Id: I24a89c4fe05f5d4e6ece840abe07ed024e4c46c6
CRs-Fixed: 2375518
2019-01-08 15:30:31 -08:00
Jeff Johnson
e7ed985c41 qcacld-3.0: Remove typedef tCsrUpdateConfigParam
Change I097c67da517e86b4d44901a01b0fe65e1a53b0a9 ("qcacld-3.0:
Cleanup SME APIs") removed all references to typedef
tCsrUpdateConfigParam. Since the typedef is obsolete, remove it.

Change-Id: Idd33f42930c181d1c79c2cdf72adde0a4af2e9fa
CRs-Fixed: 2375517
2019-01-08 15:30:25 -08:00
Jeff Johnson
32f7d13fe2 qcacld-3.0: Remove typedef tSirHTCap
Change I63442b1c2f0033c50ab94d4dcf4288eae5fb4d9d ("qcacld-3.0:
Remove typedef tCsrStaParams") removed the last reference to
typedef tSirHTCap.  Since the typedef is obsolete, remove it.

Change-Id: I0b10d832c81fb43ee052df5cab1eccd30e657454
CRs-Fixed: 2375516
2019-01-08 15:30:19 -08:00
Jeff Johnson
7b75cddd2e qcacld-3.0: Remove typedef tCsrStaParams
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the last references to typedef
tCsrStaParams. Since the typedef is obsolete, remove it.

Change-Id: I63442b1c2f0033c50ab94d4dcf4288eae5fb4d9d
CRs-Fixed: 2375515
2019-01-08 15:30:14 -08:00
Jeff Johnson
9b5953f0f5 qcacld-3.0: Remove roamOffloadSynchParams from csr_roam_session
The roamOffloadSynchParams field in struct csr_roam_session
is unused, so remove it, along with the underlying struct
csr_roam_offload_synch_params.

Change-Id: I7a1c7bad6090404fde9a97ce0ca3a3b36cb8299a
CRs-Fixed: 2375514
2019-01-08 15:30:08 -08:00
Jeff Johnson
393730d824 qcacld-3.0: Remove obsolete bss_config_param thresholds
The uRTSThresh and uDeferThresh fields in struct bss_config_param are
obsolete, so remove them.

Change-Id: I79144e36d661fac7136fbb7b941b7772addf7f25
CRs-Fixed: 2375513
2019-01-08 15:30:03 -08:00
Jeff Johnson
fe774b2729 qcacld-3.0: Harmonize csr_validate_mcc_beacon_interval()
The parameter identifiers used in the implementation of
csr_validate_mcc_beacon_interval() differ from the ones used in the
prototype. Since this can be confusing for both humans and code
analysis tools, harmonize on the parameters used in the
implementation. In addition, relocate the documentation so that it is
the interface that is documented and not the implementation.

Change-Id: I817c836fe07a8add1e3588d9b5eeded027ee6f26
CRs-Fixed: 2375512
2019-01-08 15:29:58 -08:00
Jeff Johnson
42aebb4bb5 qcacld-3.0: Remove p2p_process_remain_on_channel_cmd() prototype
Change I71de90d5fb88462e52148a434d43ea80c41cfe36 ("qcacld-3.0: Move
Channel convert and frame indication logic to lim_utils.c") removed
the implementation of p2p_process_remain_on_channel_cmd() but left
behind the prototype. Since the prototype is obsolete, remove it.

Change-Id: I34caafa9cc2731f3a21e0200e520118a10740d3b
CRs-Fixed: 2375511
2019-01-08 15:29:53 -08:00
Jeff Johnson
ff19d59c28 qcacld-3.0: Remove csr_process_scan_command() prototype
Change Ibea328196a9453ebaae887aa4068e78c47296762 ("qcacld-3.0:
Scan cleanup in lim and csr") removed the implementation of
csr_process_scan_command() but left the prototype. Since the
prototype is obsolete, remove it.

Change-Id: I937ef951045be638fccce8902fbaed510350f029
CRs-Fixed: 2375510
2019-01-08 15:29:49 -08:00
Jeff Johnson
69074d182f qcacld-3.0: Remove CSR_MIN_TL_STAT_QUERY_PERIOD
Macro CSR_MIN_TL_STAT_QUERY_PERIOD is obsolete, so remove it.

Change-Id: Ic8c42695210e04c59dd4b2bd66d358758ae3c0dd
CRs-Fixed: 2375509
2019-01-08 15:29:44 -08:00
Jeff Johnson
7d4233368a qcacld-3.0: Remove obsolete scan-related CSR macros
The following scan-related macros are obsolete, so remove them:
- CSR_ACTIVE_MAX_CHANNEL_TIME
- CSR_ACTIVE_MAX_CHANNEL_TIME_CONC
- CSR_ACTIVE_MIN_CHANNEL_TIME_CONC
- CSR_IDLE_TIME_CONC
- CSR_MAX_2_4_GHZ_SUPPORTED_CHANNELS
- CSR_MAX_BSS_SUPPORT
- CSR_MAX_NUM_SUPPORTED_CHANNELS
- CSR_MIN_REST_TIME_CONC
- CSR_PASSIVE_MAX_CHANNEL_TIME
- CSR_PASSIVE_MAX_CHANNEL_TIME_CONC
- CSR_PASSIVE_MIN_CHANNEL_TIME_CONC
- CSR_REST_TIME_CONC

Change-Id: If3ce6eb9d52d0189f0a63d316692e5532dba229e
CRs-Fixed: 2375508
2019-01-08 15:29:39 -08:00
Jeff Johnson
ad379fb446 qcacld-3.0: Remove struct tag_scanreq_param
Change Ibea328196a9453ebaae887aa4068e78c47296762 ("qcacld-3.0:
Scan cleanup in lim and csr") removed the last references to
struct tag_scanreq_param. Since it is now obsolete, remove it.

Change-Id: I3c4d929696a8e70b14c3a0a7f706b5665a90532e
CRs-Fixed: 2375435
2019-01-08 15:29:34 -08:00
nshrivas
4461ff13dd Release 5.2.0.115A
Release 5.2.0.115A

Change-Id: I3e6b0871cdfaeed2fce1ad860e69038a52b3ab8a
CRs-Fixed: 774533
2019-01-08 11:42:55 -08:00
Harprit Chhabada
efea6f517c qcacld-3.0: Clean up a policy manager CFG item
Clean WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED CFG item of policy
manager.

Change-Id: Ib73ea3385bedf3a8d35e60f3672950e27b8ed93d
CRs-Fixed: 2373863
2019-01-08 11:42:54 -08:00
nshrivas
9c6e205fbc Release 5.2.0.115
Release 5.2.0.115

Change-Id: I2f4c31019d697a23d963fef92eae5d8633dae223
CRs-Fixed: 774533
2019-01-08 07:28:10 -08:00
hangtian
a7938f8849 qcacld-3.0: Fix implicit tdls connection issue
Fix implicit tdls connection issue. Correct usage of qdf_mem_set.
DUT could receive multicast frames after tdls connection tear down,
add check condition of frames with multicast dest address in
tdls_update_rx_pkt_cnt.

Change-Id: Ia1d7bbf2c129e9aebc98f7fcdea263b745c221ec
CRs-Fixed: 2375043
2019-01-08 07:28:10 -08:00
Abhinav Kumar
025ee99f58 qcacld-3.0: Remove obsolete WEP configuration
Remove wepType field from struct tSetStaKeyParams, as
it is an obsolete WEP configuration.

Change-Id: I895541bef0cc08a75ba7c54e792ad15002ff0b0c
CRs-Fixed: 2373003
2019-01-08 07:28:05 -08:00
nshrivas
7d3d950b4d Release 5.2.0.114Z
Release 5.2.0.114Z

Change-Id: I571f80795c1d69b7dd52161c9dc498cc26a8cb38
CRs-Fixed: 774533
2019-01-08 05:17:09 -08:00
Manikandan Mohan
5dba1c70c3 qcacld-3.0: Use default value of ini items if not initialized
If FW offload cfg object is not initialized before invoking
the ucfg APIs use the cfg defaults for the values.

Change-Id: Ibbfe22a833ab217f670058e504ec80971c98e049
CRs-fixed: 2376983
2019-01-08 05:17:08 -08:00
Rajasekaran Kalidoss
7152a355fa qcacld-3.0: Send freq in mgmt frame req for LFR2
currently freq is sent as 0 in send auth mgmt frame
request to firmware(WMI_MGMT_TX_SEND_CMDID). In SAP 2G
+ STA doing LFR2 DBS roam from 5G to 2G scenario, the
preauth request get sent in 5g band rather than 2G.
So LFR2 preauth send request should have the exact
frequency parameter. only then FW can send the auth req
in appropriate frequency.

Change-Id: I17f47ee559768fee1fd5055d953791117e7b04c5
2019-01-08 05:17:04 -08:00
nshrivas
3af6a1d5db Release 5.2.0.114Y
Release 5.2.0.114Y

Change-Id: I257735b16fe644ddb5927b92f7fb72b845aaf132
CRs-Fixed: 774533
2019-01-08 02:34:54 -08:00
Rajeev Kumar Sirasanagandla
14fa966039 qcacld-3.0: Enable WLM feature by default
Set wlm_latency_enable=1 to enable vdev latency manager feature
by default.

Change-Id: Iee5a4f386bad649be86a299c6816c7802c73992c
CRs-Fixed: 2369989
2019-01-08 02:34:23 -08:00
nshrivas
987d85d5b3 Release 5.2.0.114X
Release 5.2.0.114X

Change-Id: I2d52897473d70ba7b105381d893c2515aefbe31c
CRs-Fixed: 774533
2019-01-08 00:19:14 -08:00
Yeshwanth Sriram Guntuka
adfeaded2e qcacld-3.0: Send invalid RSSI absolute threshold value
RSSI absolute threshold value sent to firmware in the
default case is 0 even when hw db2dbm capability is
enabled which can break firmware roaming.

Fix is to send min rssi value of -128dbm when hw db2dbm
service capability is enabled.

Change-Id: I0a595e9f4af170411a0813a3390ddbb57d26bce1
CRs-Fixed: 2376606
2019-01-08 00:19:13 -08:00
nshrivas
6262f632be Release 5.2.0.114W
Release 5.2.0.114W

Change-Id: I5dddb8a43794d13a7cb61943a526833976566990
CRs-Fixed: 774533
2019-01-07 19:59:01 -08:00
Liangwei Dong
f9c0960f95 qcacld-3.0: Don't set unsupported key type to FW
If target doesn't support AES_GMAC BIP cipher,
skip the key install wmi command.
Host will do the BIP MMIE validation.

Change-Id: I7536a0bb8a2dab653eae8f729e57bdcb5fef5e19
CRs-Fixed: 2370637
2019-01-07 19:59:00 -08:00
Jeff Johnson
4a5f3f4450 qcacld-3.0: Remove unused csr_wme_*_oui arrays
Arrays csr_wme_info_oui and csr_wme_parm_oui are unused, so remove
them.

Change-Id: Idb9c17d7b9b983fa38fc1178684e996382c95c66
CRs-Fixed: 2375434
2019-01-07 19:58:55 -08:00
Jeff Johnson
73ffa7b90f qcacld-3.0: Remove WMA_DEFAULT_QPOWER macros
The following macros are unused, so remove them:
- WMA_DEFAULT_QPOWER_MAX_PSPOLL_BEFORE_WAKE
- WMA_DEFAULT_QPOWER_TX_WAKE_THRESHOLD

Change-Id: I9b0f760ebbadbdecf9549a813a9b72e07a97a9e8
CRs-Fixed: 2375433
2019-01-07 19:58:50 -08:00
Jeff Johnson
6c7d9a1b6f qcacld-3.0: Remove WMA EXTSCAN macros
The following WMA EXTSCAN macros are obsolete, so remove them:
- WMA_MAX_EXTSCAN_MSG_SIZE
- WMA_EXTSCAN_REST_TIME
- WMA_EXTSCAN_MAX_SCAN_TIME
- WMA_EXTSCAN_BURST_DURATION

Change-Id: I568f6757f7a60fcc24f0843ca8cddd29f8a78ab7
CRs-Fixed: 2375432
2019-01-07 19:58:45 -08:00
Jeff Johnson
5918e364f3 qcacld-3.0: Remove WMA_CHAN_START/END_RESP macros
Change I654e53fa2441e03723f150d973c124985c67f2b4 ("qcacld-3.0: Add new
params in ACS calc process") introduced macros WMA_CHAN_START_RESP and
WMA_CHAN_END_RESP, but did not add any code which uses them. Since
they are unused, remove them.

Change-Id: I7a5f20cb8e72c19f52d5a44afb3b480eaa84c06b
CRs-Fixed: 2375431
2019-01-07 19:58:41 -08:00
nshrivas
3cbeedcb6c Release 5.2.0.114V
Release 5.2.0.114V

Change-Id: Ice93d0c5626068adf996a73f2b7c7eb06c4eba68
CRs-Fixed: 774533
2019-01-07 17:28:26 -08:00
bings
50112bb4bb qcacld-3.0: Do DFS flag configure only when DFS channels are supported
When gEnableDFSChnlScan is configured as 0, it is incorrect that DFS
channels are not skipped when scanning.
Android O/P framework always enables DFS flag for station interface, then
gEnableDFSChnlScan is always overwritten currently.

Only support DFS flag configuration when gEnableDFSChnlScan is set as 1.

Change-Id: I4c819c4cc8c44d95ebe1ce074e67f3f1d9b254e0
CRs-Fixed: 2368131
2019-01-07 17:28:25 -08:00
Jeff Johnson
90f55253cf qcacld-3.0: Remove WMA_SCAN_NPROBES_DEFAULT
Change I840c6a5f83c6cdc479e6746f36a29c2a7970c964 ("qcacld-3.0: Remove
wma_get_buf_extscan_start_cmd()") removed the only usage of macro
WMA_SCAN_NPROBES_DEFAULT. Since it is now obsolete, remove it.

Change-Id: If4907fcc397ba77bd58d8423b1695896a7197597
CRs-Fixed: 2375430
2019-01-07 17:28:21 -08:00
Wu Gao
6768d76a7b qcacld-3.0: Remove unused tdls structures in pe
It alloc memory with structures in sir_api.h, and process/parse them
with structures in tdls component, which will cause memory corruption
potentially. So, this change refacor these functions and let them use
unified structures. Remove unused structures in sir_api.h
Here are these functions:
- lim_send_sme_tdls_add_sta_rsp
- lim_send_tdls_comp_mgmt_rsp
- lim_send_sme_tdls_del_sta_rsp
- lim_send_sme_mgmt_tx_completion

Remove below unused tdls structures:
- tSirTdlsDelAllPeerInd
- tSirTdlsDelStaInd
- tSirTdlsEventnotify
- tSirTdlsLinkEstablishReq
- tSirTdlsLinkEstablishReqRsp
- tSirTdlsAddStaRsp
- tSirTdlsDelStaRsp
- tSirMgmtTxCompletionInd

Change-Id: Ic595cadefcdbeb2df44f97563c4652db409213a2
CRs-Fixed: 2373706
2019-01-07 17:28:16 -08:00