Commit graph

13,419 commits

Author SHA1 Message Date
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
Ajit Pal Singh
6f5f58969c qcacld-3.0: Kbuild: usb: Add pld_usb_cnss flag
Add cppflag for enabling PLD_USB_CNSS

Change-Id: Ibd10c8e7029746d611dfae9642d3b8112aeac42f
CRs-Fixed: 2349229
2018-12-08 07:40:41 -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
34233e246e qcacld-3.0: Rename GET_DISA_TX_OPS_FROM_VDEV()
The name GET_DISA_TX_OPS_FROM_VDEV() is misleading since the macro
actually uses a psoc, so rename the macro to reflect the actual source
of data. In addition update the macro parameter so that it is actually
used.

Change-Id: I1a895a677250d860920102ec0d25719312536231
CRs-Fixed: 2362598
2018-12-07 11:18:49 -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
Ajit Pal Singh
721004499c qcacld-3.0: genoa: Add config for max beaconing entities
Add config option for max beaconing entities for Genoa.

Change-Id: I4b38911b3a0e4a032baa9d101c21e4f400fac755
CRs-Fixed: 2360873
2018-12-07 04:28:10 -08:00
CNSS_WLAN Service
871cf81ff8 Merge "Release 5.2.0.110R" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:57 -08:00
CNSS_WLAN Service
543dc1aac9 Merge "qcacld-3.0: Remove macro OL_TXRX_INVALID_TDLS_PEER_ID" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:55 -08:00
CNSS_WLAN Service
e719d97265 Merge "Release 5.2.0.110Q" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:53 -08:00
CNSS_WLAN Service
86eec86d17 Merge "qcacld-3.0: Remove wlan_hdd_tdls_set_params() prototype" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:51 -08:00
CNSS_WLAN Service
1913739f4f Merge "qcacld-3.0: Remove hdd_tdls_notify_p2p_roc() stub" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:49 -08:00
CNSS_WLAN Service
b064ab0352 Merge "qcacld-3.0: Fix typo "pAadapter"" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:47 -08:00
CNSS_WLAN Service
9f028409b7 Merge "qcacld-3.0: Remove wlan_hdd_roc_request_dequeue() prototype" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:45 -08:00
CNSS_WLAN Service
670c9f36a0 Merge "Release 5.2.0.110P" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:43 -08:00
CNSS_WLAN Service
c237f5fd43 Merge "qcacld-3.0: Remove last bit of LIBRA_LINUX_PC feature code" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:42 -08:00
CNSS_WLAN Service
b0922aa98f Merge "qcacld-3.0: Remove obsolete struct action_pkt_buffer" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:40 -08:00
CNSS_WLAN Service
6611bbe8a2 Merge "qcacld-3.0: Remove obsolete hdd_lro_init() stub" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:37 -08:00
CNSS_WLAN Service
6b48e27f1b Merge "qcacld-3.0: Remove obsolete CDS Packet Tracking macros" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:35 -08:00
CNSS_WLAN Service
68f3260323 Merge "Release 5.2.0.110O" into wlan-cld3.driver.lnx.2.0 2018-12-07 03:20:32 -08:00