Commit Graph

14597 Commits

Author SHA1 Message Date
nshrivas
15920a9cc6 Release 5.2.0.116K
Release 5.2.0.116K

Change-Id: I93add2ae9dc69c776b0cb009d2c11db14eb578f9
CRs-Fixed: 774533
2019-01-18 16:36:28 -08:00
Jeff Johnson
919f2c3a82 qcacld-3.0: Fix gEnableVhtFor24GHzBand reference comment
In lim_send_probe_req_mgmt_frame() there is logic to change the
dot11mode from 11ac to 11n when operating in 2.4GHz unless VHT
operation in 2.4GHz has been enabled in the INI. However the
associated comment has a typo, referring to enableVhtFor24GHz instead
of the correct name, gEnableVhtFor24GHzBand, so fix the comment.

Change-Id: I56c569d85cac7e00347bea522d2f6f133e276cfb
CRs-Fixed: 2382130
2019-01-18 16:36:28 -08:00
Jeff Johnson
62dbb183fc qcacld-3.0: Remove ucfg_pmo_vdev_update_dp_handle() stub
Change I1f668fff633a5e5cdfc478e7f619e9600930b333 ("qcacld-3.0: Use wma
callback to get vdev dp handle") removed the implementation of
pmo_ucfg_vdev_update_dp_handle(), but left behind the stub
implementation for use when PMO is disabled. This stub, since renamed
to ucfg_pmo_vdev_update_dp_handle(), is unused, so remove it.

Change-Id: I042ea081a4c2e5288963f7882129d06667e5b707
CRs-Fixed: 2380780
2019-01-18 16:36:23 -08:00
Jeff Johnson
ff95f52665 qcacld-3.0: Remove sme_update_fw_tdls_state() prototype
Change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a ("qcacld-3.0: Remove
the deprecated IOCTL in TDLS") removed the implementation of function
sme_update_fw_tdls_state(). However it left behind the prototype,
which is now obsolete, so remove it.

Change-Id: I57731f12761cfd564d949ec582eb4d45302e75d1
CRs-Fixed: 2380779
2019-01-18 16:36:19 -08:00
Jeff Johnson
7b25289fed qcacld-3.0: Remove sme_set_host_power_save() prototype
The driver contains a sme_set_host_power_save() prototype but no
implementation. Since the prototype is obsolete, remove it.

Change-Id: I5631a5f23dd61380af0cacb037f673c585ae575f
CRs-Fixed: 2380778
2019-01-18 16:36:15 -08:00
Jeff Johnson
d6e8874e4b qcacld-3.0: Remove sme_update_roam_offload_enabled() prototype
Change Iebda5bbb3c5c68b922b7f6ac1adaf25cccf903a6 ("qcacld-3.0: Apply
mlme lfr configuraions") removed the implementation of function
sme_update_roam_offload_enabled(). However it left behind the
prototype, which is now obsolete, so remove it.

Change-Id: I64391c654e50fa8220beee5ad225c66158057d5b
CRs-Fixed: 2380777
2019-01-18 16:36:10 -08:00
Jeff Johnson
e81976b677 qcacld-3.0: Remove scanProfile from struct csr_scanstruct
Change I7e04b4488b10021d6815e76d0a55e040756b1794 ("qcacld-3.0: Remove
unused SCAN code under NAPIER_SCAN define") removed the last logic
that used the scanProfile field in struct csr_scanstruct. Since this
field is now obsolete, remove it, along with the underlying struct
scan_profile.

Change-Id: Ica60cc075f9768dbd86bcae6a2145c6594bc8595
CRs-Fixed: 2380776
2019-01-18 16:36:05 -08:00
Jeff Johnson
4ff005c9f0 qcacld-3.0: Remove obsolete tCsrTdls* typedefs
Change I8ba344ce5593df44bd15527e2ff68e872b6d23b8 ("qcacld-3.0: TDLS:
remove legacy core functions") removed the last usage of typedefs
tCsrTdlsLinkEstablishParams and tCsrTdlsSendMgmt. Since these typedefs
are now obsolete, remove them.

Change-Id: I666c3180beb7fb0a230ba6c97a93666ff9ba886e
CRs-Fixed: 2380775
2019-01-18 16:36:01 -08:00
Jeff Johnson
582ef65dea qcacld-3.0: Remove enableVhtFor24GHz from tCsrConfigParam
Change I8cd30439d7ac3de7b550aa5042353cf30e04cbda ("qcacld-3.0:
Refactor MLME CFG items and APIs for VHT") removed the usage of the
enableVhtFor24GHz field in tCsrConfigParam, but failed to remove the
actual field, so remove it now.

Change-Id: Id80c1a85c9269b3bcc6019426f5321665bc93f2e
CRs-Fixed: 2380774
2019-01-18 16:35:56 -08:00
Jeff Johnson
82c691eacf qcacld-3.0: Remove eCsrSecurityType
The eCsrSecurityType enum is unused, so remove it.

Change-Id: Iba251d127b59960151d59967c180df32a732fa27
CRs-Fixed: 2380773
2019-01-18 16:35:50 -08:00
Jeff Johnson
cbb8906363 qcacld-3.0: Remove eCsrSetKeyAction
The eCsrSetKeyAction enum is unused, so remove it.

Change-Id: I37c8d7ececc4d44a1f8bcb9530b1f4aee8695f4f
CRs-Fixed: 2380772
2019-01-18 16:35:46 -08:00
Jeff Johnson
89748dc3d1 qcacld-3.0: Remove tSap_ManagementFrameInfo
Change Ib83700825112cc52dade594909bfa8993909ac29 ("qcacld-3.0: Send
management frame indication directly to HDD from PE") removed the
usage of tSap_ManagementFrameInfo. Since this struct is obsolete,
remove it.

Change-Id: Ic10c150286fe9f998884cdfcb8da2edadee7e156
CRs-Fixed: 2380771
2019-01-18 16:35:42 -08:00
Jeff Johnson
034649dbd7 qcacld-3.0: Remove requestedMCRate from tSap_AssocMacAddr
The requestedMCRate field in tSap_AssocMacAddr is unused,
so remove it.

Change-Id: If5ae0df5f84c99e3684df3cac75d32d63227d5ce
CRs-Fixed: 2380770
2019-01-18 16:35:38 -08:00
Jeff Johnson
ec828e6c62 qcacld-3.0: Remove last_radar_found_channel from tSapDfsInfo
The last_radar_found_channel field in tSapDfsInfo is unused,
so remove it.

Change-Id: I7afb516b01f5f696ea9fb9ad386daf2b0767e754
CRs-Fixed: 2380769
2019-01-18 16:35:34 -08:00
Jeff Johnson
c7429e600c qcacld-3.0: Remove ht_op_mode_fixed from struct sap_config
The ht_op_mode_fixed field in struct sap_config is unused,
so remove it.

Change-Id: Ie85a99d793c964dec493432b7680eb469a20a364
CRs-Fixed: 2380768
2019-01-18 16:35:30 -08:00
Jeff Johnson
7700a964a9 qcacld-3.0: Remove ampdu_size from struct sap_config
Change I9d05cd7b8e051c4e9e4912cf866206ae32ec293d ("qcacld-3.0: Define
data structures for new AP requirements") added the ampdu_size field
to struct sap_config. However logic to use this field was never added,
so remove the field since it is unused.

Change-Id: I183766da3af3a3e9c609ccde95a0cca561813226
CRs-Fixed: 2380767
2019-01-18 16:35:25 -08:00
Jeff Johnson
e44decbd7b qcacld-3.0: Remove unused sch_beacon_process macros
The SCH_BEACON_LEN_DELTA and CW_GET macros in sch_beacon_process.c are
unused, so remove them.

Change-Id: I539f637534f576f2bab6fd432d0a365ec62b8a6b
CRs-Fixed: 2380766
2019-01-18 16:35:20 -08:00
nshrivas
cd17f76e71 Release 5.2.0.116J
Release 5.2.0.116J

Change-Id: I78990e42e46b9bbe3ebd5cddec95cce606617152
CRs-Fixed: 774533
2019-01-17 10:49:03 -08:00
Bala Venkatesh
33f270b416 qcacld-3.0: Clear TDLS peers before vdev restart
As part of change in bandwidth in HT cap of beacon from AP.
Driver triggers the vdev restart, but if there are any
TDLS connections present then TDLS peers are not removed.
This can lead to inconsistency between host and FW as FW
deletes tdls peers as part of vdev restart.

Remove TDLS peers before restarting vdev.

Change-Id: Ibeab1e4bcda9229ed936ffe05be9ecdfeb260eef
CRs-Fixed: 2380440
2019-01-17 10:49:02 -08:00
Abhishek Singh
f8364e11b7 qcacld-3.0: Fix recursive calling of CSR roam API
If STA is trying to connect and same time SAP initiate the
change channel the HW mode calculated during connection start will
may not be valid for some STA's candidate and thus, it will avoid
connecting to these candidate leading to recursive calling of CSR
roam API.

To fix this while selecting the candidate skip the candidate itself
even before trying to connect if the candidate channel is not allowed
for current HW mode. Also block SAP channel change from user
space during connection.

Change-Id: Ic04aa983d95986f05d6359eb112d489e8ef80478
CRs-Fixed: 2380459
2019-01-17 10:48:58 -08:00
nshrivas
47d1c16c05 Release 5.2.0.116I
Release 5.2.0.116I

Change-Id: Ib3b8c49e2fc0720e31ffe6b99042ffa2701b480c
CRs-Fixed: 774533
2019-01-17 06:39:04 -08:00
Wu Gao
ed616a1a50 qcacld-3.0: Refactor two INI about channel bonding
Based on new cfg framework, refactor below WNI/INI:
 - CFG_CHANNEL_BONDING_MODE_24GHZ_NAME
 - CFG_CHANNEL_BONDING_MODE_5GHZ_NAME

Change-Id: Ia18fd79738a8079c41df557934335e54c8016e43
CRs-Fixed: 2381831
2019-01-17 06:39:03 -08:00
Ashish Kumar Dhanotiya
dc3900f053 qcacld-3.0: Flush delayed acs work during SSR
There are two issue in the driver during SSR:
1. Currently in driver if SSR happens in SAP mode and during
re-probe if any pending acs delayed work is scheduled, it
results in NULL pointer access at sap_init_dfs_channel_nol_list
api as pdev is not initialized yet.
2. disconnection_status_lock is not getting initialized for
SAP interface and this is getting used inside
hdd_set_disconnect_status api which is getting invoked
for all interfaces at reset all adapters during SSR
shutdown, which results in uninitialized lock access.

To address these issue below measures are taken care:
1. Add SSR protection for pending acs and flush
   pending acs delayed work during SSR shutdown.
2. During SSR shutdown don't invoke hdd_set_disconnect_status
   api for SAP interface.

Change-Id: I5181deffed28ecbc5708f970c9ca7f8ad2241011
CRs-fixed: 2379280
2019-01-17 06:38:59 -08:00
nshrivas
ea90310067 Release 5.2.0.116H
Release 5.2.0.116H

Change-Id: I0a2bf9986f9e73b494ea15c8ca78b6f8d3756e87
CRs-Fixed: 774533
2019-01-17 04:27:11 -08:00
Kiran Kumar Lokere
e0ec5631f5 qcacld-3.0: Fix SAE connection fail with crypto IE support
Set the RSN capabilities to crypto component which is used to
construct the RSN IE with right capabilities during connection.

Change-Id: Ia21e7f5592eef53d3eb90752e328de6fdbd80aea
CRs-Fixed: 2377823
2019-01-17 04:27:10 -08:00
Will Huang
14b120fdc4 qcacld-3.0: Move hdd_override_all_ps() to after psoc create
hdd_override_all_ps() has been changed to override ini setting by
calling ucfg_mlme_override_bmps_imps(), which need a valid psoc, so move
it after hdd_objmgr_create_and_store_psoc(). Looks put it in
hdd_override_ini_config() is a good choice.

Change-Id: Ia902a5a94ae2e06f984473fc69628c114f35b052
CRs-Fixed: 2381140
2019-01-17 04:27:06 -08:00
nshrivas
f714407ee8 Release 5.2.0.116G
Release 5.2.0.116G

Change-Id: I204e68903c9fd94d7c64c710ece61e752352911a
CRs-Fixed: 774533
2019-01-17 00:19:22 -08:00
Kiran Kumar Lokere
c66a227da5 qcacld-3.0: Set the HE MU mode operation configuration
Set the HE MU mode operation configuration to FW.

Change-Id: I9eb6e67bb88f91557a1b85810c9468e09e70c398
CRs-Fixed: 2360138
2019-01-17 00:19:21 -08:00
nshrivas
e3970446d6 Release 5.2.0.116F
Release 5.2.0.116F

Change-Id: I46ea15a10531bbc6ba1118c91db5813eb5e21098
CRs-Fixed: 774533
2019-01-16 19:35:21 -08:00
Jingxiang Ge
1a16551c90 qcacld-3.0: Revert "qcacld-3.0: Check if gp_sap_ctx is empty after reinit"
This reverts commit I77708d296fb218ca53ac656f844d02f58e23d241

Change-Id: I564d7858576af09e0a0d9d89f569a7b09ce72a84
CRs-Fixed: 2381581
2019-01-16 19:35:21 -08:00
Jeff Johnson
853da1612c qcacld-3.0: Remove WLAN_SOFTAP_FW_BEACON_TX_PRNT_LOG
The WLAN_SOFTAP_FW_BEACON_TX_PRNT_LOG feature wraps a single log which
references a non-existent TimIeOffset beaconParams field. Since the
driver will not build if this feature is enabled, remove it.

Change-Id: I607b55b82e8ae1d304ac8203395cffe384c8bb74
CRs-Fixed: 2380121
2019-01-16 19:35:16 -08:00
Jeff Johnson
2fcff28765 qcacld-3.0: Remove HAL_TDLS_PEER_STA_MASK
Macro HAL_TDLS_PEER_STA_MASK is unused, and appears to conflict with
macro HAL_USE_PEER_STA_REQUESTED_MASK, so remove it.

Change-Id: Idb28362772b0b1219bb75dbd1a99927667c608ab
CRs-Fixed: 2380120
2019-01-16 19:35:10 -08:00
Jeff Johnson
de3cad07c8 qcacld-3.0: Remove obsolete LIM_HASH_* action macros
The macros LIM_HASH_ADD and LIM_HASH_UPDATE are obsolete, so remove
them.

Change-Id: Ie91f497d14167bfe719c8f91373a95d96357489e
CRs-Fixed: 2380119
2019-01-16 19:35:05 -08:00
Jeff Johnson
a5abe279f8 qcacld-3.0: Revise lim_sys_process_mmh_msg_api()
The qType parameter to function lim_sys_process_mmh_msg_api() is
unused, so remove it. In addition, since this function is just a
wrapper, turn it into a static inline to to eliminate an unnecessary
function call at every call site.

Change-Id: If3e95855361bd9efd90b426c698982773b4677da
CRs-Fixed: 2380118
2019-01-16 19:34:56 -08:00
Jeff Johnson
1b87a0100e qcacld-3.0: Remove atimWindow from tLimMlmStartReq
Field atimWindow in tLimMlmStartReq is unused, so remove it.

Change-Id: Id7c1b071b7b69e500eaa4e8ca14faa58a9f31a09
CRs-Fixed: 2380117
2019-01-16 19:34:51 -08:00
Jeff Johnson
72f7de3fd1 qcacld-3.0: Remove WNI_CFG_TDLS_LINK_SETUP_*_TIMEOUT
The following macros are unused, so remove them:
- WNI_CFG_TDLS_LINK_SETUP_CNF_TIMEOUT
- WNI_CFG_TDLS_LINK_SETUP_RSP_TIMEOUT

Change-Id: Ibae6895881ef1ad831ecb405b510f04d40da7c14
CRs-Fixed: 2380116
2019-01-16 19:34:47 -08:00
Jeff Johnson
1f29564878 qcacld-3.0: Remove enum tdlsLinkNodeStatus
Enum tdlsLinkNodeStatus is unused, so remove it.

Change-Id: Ifc1aacdb31fddb5594e9fb9361b3f64ad2768586
CRs-Fixed: 2380115
2019-01-16 19:34:43 -08:00
Jeff Johnson
81ae428572 qcacld-3.0: Harmonize lim_populate_matching_rate_set()
Currently the lim_populate_matching_rate_set() prototype uses
different parameter identifiers than the implementation. Since this
can be confusing for both humans and code analysis tools, update the
prototype to match the implementation.

Change-Id: Ic96e47e82f3c6ab873a87f570fca81659d87a52b
CRs-Fixed: 2380114
2019-01-16 19:34:39 -08:00
Jeff Johnson
ac05741cf7 qcacld-3.0: Consolidate the SCH global context
Currently the SCH global context contains a single field which is
itself a struct. That struct, in turn, contains multiple fields with
naming that does not conform to the Linux coding style. Having a
single struct within a struct is pointless, so consolidate the two
structs into one, and update the field names to conform to the coding
standard.

Change-Id: Ibabb32440a833357a50933d399406113cf6f271b
CRs-Fixed: 2380113
2019-01-16 19:34:35 -08:00
Jeff Johnson
50fcd13be1 qcacld-3.0: Harmonize rrm_process_radio_measurement_request()
Currently the rrm_process_radio_measurement_request() prototype uses
different parameter identifiers than the implementation. Since this
can be confusing for both humans and code analysis tools, update the
prototype to match the implementation.

Change-Id: I904d39ad37293ab012062c6a5e78d33cf42e8973
CRs-Fixed: 2380112
2019-01-16 19:34:07 -08:00
Jeff Johnson
201dfa846c qcacld-3.0: Harmonize rrm_process_beacon_report_xmit()
Currently the rrm_process_beacon_report_xmit() prototype uses
different parameter identifiers than the implementation. Since this
can be confusing for both humans and code analysis tools, update the
prototype to match the implementation.

Change-Id: Id6d671dcc6e7f0dc3db9f5a07ca3ea74b45e2b41
CRs-Fixed: 2380111
2019-01-16 19:33:33 -08:00
Jeff Johnson
6cce285075 qcacld-3.0: Remove p2pGoPsNoaStartInd from pe_session
As part of change I71de90d5fb88462e52148a434d43ea80c41cfe36
("qcacld-3.0: Move Channel convert and frame indication logic to
lim_utils.c") the usage of field p2pGoPsNoaStartInd in struct
pe_session was removed. However the field itself was left behind, so
remove it now.

Change-Id: I1d6965587b0387ecd6e1822a774f874d922d90c0
CRs-Fixed: 2380110
2019-01-16 19:33:29 -08:00
Jeff Johnson
5e656ec0bb qcacld-3.0: Remove amsduSupportedInBA from pe_session
Field amsduSupportedInBA in struct pe_session is unused,
so remove it.

Change-Id: I5ac6d8c75355f1422b54b26f73163a68003940b0
CRs-Fixed: 2380109
2019-01-16 19:32:41 -08:00
Jeff Johnson
0ec9ed9581 qcacld-3.0: Remove proct_deauh_disassoc_cnt from tDphHashNode
Change I8876a4d4b99948cd9ab3ccec403cf5e4050b1cff ("qcacld-3.0: Fix
layering violation while handling management frames") removed the only
usage of tDphHashNode field proct_deauh_disassoc_cnt. Since it is
obsolete, remove it.

Change-Id: If4adb4bfb704cc6721796faca9dce2dfff844b6b
CRs-Fixed: 2380108
2019-01-16 19:32:37 -08:00
Jeff Johnson
4dfe66100e qcacld-3.0: Consolidate mac_trace() APIs
There are currently two separate MAC Trace APIs, mac_trace() and
mac_trace_new(). Since these ultimately result in a call to
qdf_trace(), and since only mac_trace() is widely called, consolidate
these two APIs into a single mac_trace() API. In addition, make this a
static inline to eliminate an unnecessary function call at every call
site and to fully take advantage of the conditional expansion of
qdf_trace().

Change-Id: I71101cc076a19ae8dad26c743f726c94571ae8a1
CRs-Fixed: 2380107
2019-01-16 19:32:33 -08:00
Jeff Johnson
6b9f15fa84 qcacld-3.0: Remove legacy max channel time CFG macros
Change I67a589133e58fd7740d7edc93d32a2d9fcd14c5a ("qcacld-3.0: Cleanup
unused scan params and ini") removed the following legacy CFG items:
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME

However this change left behind the associated MIN/MAX/DEF macros
which are now unused, so remove the following:
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMIN
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMAX
- WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STADEF
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMIN
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMAX
- WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STADEF

Change-Id: I0da08ee379b754f7724754b497825de2372685c4
CRs-Fixed: 2380106
2019-01-16 19:32:30 -08:00
Jeff Johnson
c8b36dcaa4 qcacld-3.0: Remove WLAN_WAIT_TIME_POWER macros
The macros WLAN_WAIT_TIME_POWER and WLAN_WAIT_TIME_POWER_STATS are
unused, so remove them.

Change-Id: Idb9e39036688a2f02d33e08acc488798553bac36
CRs-Fixed: 2380104
2019-01-16 19:32:26 -08:00
nshrivas
004c43039c Release 5.2.0.116E
Release 5.2.0.116E

Change-Id: If14b3a0f05d0db6b027e6bd0189f850f07182569
CRs-Fixed: 774533
2019-01-16 17:09:49 -08:00
Rachit Kankane
4b6fdd1cce qcacld-3.0: Read hw_config_type from correct mac-phy config
In function wma_update_hw_mode_list, hw_config_type should be read from
the same mac-phy config array to check if next array could be for used
for MAC1 SS_bw settings bas on hw_config_type.

Change-Id: If787b127b5cf0f811344b3322ba84c2956543e14
CRs-Fixed: 2381784
2019-01-16 17:09:48 -08:00
Manikandan Mohan
66df7fcdf4 qcacld-3.0: Fix fw offload ucfg APIs for wiphy features
WIPHY features are populated before FW offload object is
initialized. Thus use direct config values for SAE and GCMP
WIPHY features.

Change-Id: Ic1b84c8709a0347fa22773786c0d5af32426e8fc
CRs-fixed: 2376983
2019-01-16 17:09:44 -08:00