Commit graph

14,068 commits

Author SHA1 Message Date
Jeff Johnson
4e09dd02f5 qcacld-3.0: Remove macro HDD_REASON_MICHAEL_MIC_FAILURE
Change I9c68bf1b2c734ae2bcb862cd8acfbcea41f48411 ("qcacld-3.0: Remove
obsolete STA support for SIOCSIWMLME") removed the only usage of macro
HDD_REASON_MICHAEL_MIC_FAILURE. Since it is now unused, remove it.

Change-Id: I09a11b53982cc5625c82d09777cac379031b644d
CRs-Fixed: 2376936
2019-01-09 03:38:42 -08:00
Jeff Johnson
a00ff4ce5f qcacld-3.0: Remove macro HDD_ETHERTYPE_802_1_X_FRAME_OFFSET
Change Id2ea9b08bdcbc62b1d96d983d19bcf71becc9c42 ("qcacld-3.0: Parse
tx packets only once in tx datapath") removd the usage of macro
HDD_ETHERTYPE_802_1_X_FRAME_OFFSET. Since it is unused, remove it.

Change-Id: Ie3606d5641c2c7b50421217a4d9f50b066163760
CRs-Fixed: 2376935
2019-01-09 03:38:36 -08:00
Jeff Johnson
72acff60ed qcacld-3.0: Remove typedef cfg80211_exttdls_callback
Change Ib6407bb18bc77e92e1cdd3b38d6ff3051f03b74c ("qcacld-3.0:
Remove unused tdls api in hdd") removed the last clients of
cfg80211_exttdls_callback. Since it is obsolete, remove it.

Change-Id: I90ffb7134698109f47449503e5f720f1ebf121e9
CRs-Fixed: 2376934
2019-01-09 03:38:28 -08:00
Jeff Johnson
e6d1302f1e qcacld-3.0: Remove typedef tSirUpdateAPWPSIEsReq
Change I191dc17898bcbf84ad4b6d03c515a8124a0f4d24 ("qcacld-3.0: Remove
obsolete eWNI_SME_UPDATE_APWPSIE_REQ") removed the only usage of
typedef tSirUpdateAPWPSIEsReq. Since it is obsolete, remove it.

Change-Id: I4513c9834b1dc4f0a2c0b9f9c77f5f6bfb054dd4
CRs-Fixed: 2376932
2019-01-09 03:38:22 -08:00
Jeff Johnson
332b9743ca qcacld-3.0: Remove typedef tSirWifiScanResultEvent
Change Ie6c4a9847f2daa9ba2aebd17f386d584201b86d6 ("qcacld-3.0: Remove
obsolete set/reset ssid hotlist") removed the usage of typedef
tSirWifiScanResultEvent. Since it is obsolete, remove it.

Change-Id: Id42fcd1ab762524fdfa90aa355fb7e37a6164cc7
CRs-Fixed: 2376931
2019-01-09 03:38:15 -08:00
Jeff Johnson
ce2e2640be qcacld-3.0: Remove typedef tSirwifiTxRate
Typedef tSirwifiTxRate is obsolete, so remove it.

Change-Id: I0ca020e4033d4737bc4ee6bff1a13f2343847f8e
CRs-Fixed: 2376930
2019-01-09 03:38:09 -08:00
Jeff Johnson
952f67de69 qcacld-3.0: Remove obsolete DPH signature fields
The dpuSig and staSig fields in tDphHashNode are obsolete, so remove
them

Change-Id: I375e3dd66803ea98d1cb3b6fa01d9c4e95c31da8
CRs-Fixed: 2376929
2019-01-09 03:38:03 -08:00
Jeff Johnson
359f133af9 qcacld-3.0: Remove PLM_WDS conditional code
The wdsIndex and wdsPeerBeaconSeen fields in tDphHashNode are
obsolete, so remove them

Change-Id: Iae9131b1c3315a7448e5fe262a5fd36b1d09967d
CRs-Fixed: 2376928
2019-01-09 03:37:57 -08:00
Jeff Johnson
210eef765d qcacld-3.0: Remove sir_unpack_beacon_ie() prototype
Change I120a29c21407f82aab2c6fcdcaf1095518cb71b5 ("qcacld-3.0:
Security enhancement fixes for RSNE frame parser") removed the
implementation of sir_unpack_beacon_ie() but left the prototype. Since
the prototype is obsolete, remove it.

Change-Id: Id9d0f766b0dc3137f7012543d883791a69d10111
CRs-Fixed: 2376927
2019-01-09 03:37:52 -08:00
Jeff Johnson
bb3aedfd4d qcacld-3.0: Remove limGet11dMode()
Macro limGet11dMode() is unused, so remove it.

Change-Id: Ib050c1ec6ec160d589733f820242a27a678008c8
CRs-Fixed: 2376926
2019-01-09 03:37:47 -08:00
Jeff Johnson
f83d5579fd qcacld-3.0: Remove obsolete LIM trace prototypes
The following LIM trace APIs have prototypes but no corresponding
implementations, so remove them:
- limTraceReset()
- limTraceUpdateMgmtStat()
- lim_trace_dumpMgmtStat()

Change-Id: I5bf6c01636f4821e3f0f469260f20c59f0f97c63
CRs-Fixed: 2376925
2019-01-09 03:37:41 -08:00
Jeff Johnson
ec5fbf904e qcacld-3.0: Remove obsolete LIM scan result prototypes
The following LIM scan result APIs have prototypes but no
corresponding implementations, so remove them:
- lim_copy_scan_result()
- lim_restore_pre_scan_state()
- lim_scan_hash_function()

Change-Id: Ie5b3e24019e29e984a5893afaf1b24fcc5ce6d51
CRs-Fixed: 2376127
2019-01-09 03:37:37 -08:00
Jeff Johnson
61e8f901b8 qcacld-3.0: Harmonize lim_set_active_edca_params()
The parameter identifiers used in the implementation of
lim_set_active_edca_params() 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: Ie352f40ca86a9816d19f6e37b52058e884814202
CRs-Fixed: 2376126
2019-01-09 03:37:32 -08:00
nshrivas
c35d46e161 Release 5.2.0.115D
Release 5.2.0.115D

Change-Id: Ie09aadfc294bdac4cc06244eac089a1d6de04a38
CRs-Fixed: 774533
2019-01-09 01:28:18 -08:00
Nachiket Kukade
0a1aea6d44 qcacld-3.0: Forward NDP Indication event for NDP initiator
Driver only forwards NDP Indication event to upper layers
after it receives the event WMI_NDP_INDICATION_EVENTID as
an NDP Responder. But while as an NDP Initiator, if the
NDP Peer sends App info through NDP Response instead of
NDP Confirm, driver receives the same event. But it does
not forward it to upper layers. As a result App info is
dropped and upper layers miss out on it.

Forward NDP Indication event to upper layers through vendor
event subtype QCA_WLAN_VENDOR_ATTR_NDP_REQUEST_IND regardless
of the NDP role of the device.

Change-Id: I63349b92426b6090e024957e70fd7f9ef97cf314
CRs-Fixed: 2375741
2019-01-09 01:28:18 -08:00
nshrivas
54f96fb1b4 Release 5.2.0.115C
Release 5.2.0.115C

Change-Id: Iad6a9d3c0c1446367396cfa3c8cee2c1c619017b
CRs-Fixed: 774533
2019-01-08 20:24:44 -08:00
Kiran Kumar Lokere
7d6e4c9dc1 qcacld-3.0: crypto convergence support for SET KEY
Make changes to the legacy code to support the
new SET KEY converged infrastructure.

Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
2019-01-08 20:24:43 -08:00
nshrivas
40edfa6e35 Release 5.2.0.115B
Release 5.2.0.115B

Change-Id: Ifdad7c63033997fd9c95074c812644b7a99b21f4
CRs-Fixed: 774533
2019-01-08 15:34:24 -08:00
Jeff Johnson
dd56493680 qcacld-3.0: Remove lim_send_sme_stats_rsp() prototype
The lim_send_sme_stats_rsp() prototype has no corresponding
implementation. Since it is obsolete, remove it.

Change-Id: Iaa447a1bcebe9422294419be6eeaf4aa00126cc8
CRs-Fixed: 2376125
2019-01-08 15:34:23 -08:00
Jeff Johnson
ae3f3231d1 qcacld-3.0: Remove obsolete LIM timer handler prototypes
The following LIM timer handlers are obsolete, having prototypes but
no implementations, so remove them:
- limCBScanDurationTimerHandler
- limCBScanIntervalTimerHandler
- limDummyPktExpTimerHandler
- limReassocFailureTimerHandler

Change-Id: I8fd43c6f7cbd38aaad4d9c146ca8672712bba353
CRs-Fixed: 2376124
2019-01-08 15:34:12 -08:00
Jeff Johnson
5d3eb8c6fb qcacld-3.0: Remove g_mgmt_frame_stats[]
The g_mgmt_frame_stats[] array is unused, so remove it.

Change-Id: Id103029773eced0700f76814e31b79ced590cc72
CRs-Fixed: 2376123
2019-01-08 15:34:02 -08:00
Jeff Johnson
c7a05a95c2 qcacld-3.0: Remove typedef tLimAuthRspTimeout
Typedef tLimAuthRspTimeout is obsolete, so remove it.

Change-Id: I012a8d026f4bdc31e00b8c195aa149ed4580abac
CRs-Fixed: 2376122
2019-01-08 15:33:52 -08:00
Jeff Johnson
ec178c226b qcacld-3.0: Remove typedef tLimMlmLinkTestStopReq
Typedef tLimMlmLinkTestStopReq is obsolete, so remove it.

Change-Id: Id48a6afa04090fa62584df9a19096d609f3e366e
CRs-Fixed: 2376121
2019-01-08 15:33:42 -08:00
Jeff Johnson
4bb882f8cb qcacld-3.0: Remove typedef tLimMlmPurgeStaReq
Typedef tLimMlmPurgeStaReq is obsolete, so remove it.

Change-Id: I8a1ecce9f8782e19d22a4b51725aa79809457772
CRs-Fixed: 2376120
2019-01-08 15:33:33 -08:00
Jeff Johnson
9cf29e4645 qcacld-3.0: Remove typedef tLimMlmReassocInd
Typedef tLimMlmReassocInd is obsolete, so remove it.

Change-Id: I8fd73512c5301a6e7f5208baa257925d4848488e
CRs-Fixed: 2376119
2019-01-08 15:33:23 -08:00
Jeff Johnson
6947192b34 qcacld-3.0: Remove tLimMlmResetReq/Cnf typedefs
Typedefs tLimMlmResetReq and tLimMlmResetCnf are obsolete,
so remove them.

Change-Id: I2f5791a3860fdbef578bf6176c113a06a53d2722
CRs-Fixed: 2376118
2019-01-08 15:33:14 -08:00
Jeff Johnson
7f2395c940 qcacld-3.0: Remove typedef tLimScanResult
Change I373fb570f3b368dc79ce08b7acbc1026a7e19758 ("qcacld-3.0: Remove
lim_send_sme_neighbor_bss_ind()") removed the last usage of typedef
tLimScanResult. Since it is obsolete, remove it.

Change-Id: Ide9301c635db43a7e398ac44b46ed68675816ab4
CRs-Fixed: 2376116
2019-01-08 15:33:04 -08:00
Jeff Johnson
f4f2bcfa90 qcacld-3.0: Remove typedef tLimMlmScanCnf
Change Ibea328196a9453ebaae887aa4068e78c47296762 ("qcacld-3.0:
Scan cleanup in lim and csr") removed the last usage of typedef
tLimMlmScanCnf. Since it is obsolete, remove it.

Change-Id: I1255dc9e934db7aea671a269c956abd390f54a0b
CRs-Fixed: 2376115
2019-01-08 15:32:55 -08:00
Jeff Johnson
331c71ace7 qcacld-3.0: Remove is_entering_mimo_ps()
The function is_entering_mimo_ps() is obsolete, so remove it.

Change-Id: I01fbaed8bec34c11a1cdd43004fc39a28deb14d7
CRs-Fixed: 2376114
2019-01-08 15:32:46 -08:00
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