The psstate field in tPowersaveoffloadInfo is unused, so remove it,
along with the underlying tPowersaveState typedef.
Change-Id: I0328bcce9362d4fb0786b36644b3152f979eef30
CRs-Fixed: 2378322
Changes I151fa771544e9f74b1b69b18d689176752760621 ("qcacld-3.0: Remove
oem data request passing over multiple layers") and
I95078c985c5034d9d530ad542ace129309d79886 ("qcacld-3.0: Remove global
oem data request/response buffer") removed all usage of typedefs
tLimMlmOemDataReq & tLimMlmOemDataRsp. Since they are obsolete, remove
them.
Change-Id: If387f77177cfececc04f4c8ccc64efbc80505431
CRs-Fixed: 2378321
Change I77617df14093806f19c0d587e953f63ae86f8ffe ("qcacld-3.0: Cleanup
the unused quiet timers and TX control API") removed the usage of
typedefs tLimQuietTxMode & tLimControlTx. Since they are obsolete,
remove them.
Change-Id: I503b6c63d8440fe9aa80d8d38c19d49654621cc3
CRs-Fixed: 2378320
Most of the SIR_*_MODULE_ID values are unused, so remove the ones that
are obsolete.
Change-Id: I97f40b37bda9639be359a3a3dbdcf26d06c6c73d
CRs-Fixed: 2378318
The PMM module and message definitions are not used by the current
version of the driver. However the message ID number space overlaps
with the SME message IDs. In order to harmonize the code:
- Remove the legacy PMM Module & Message ID definitions
- Consolidate the SME Module & Message ID definitions
- Update the dispatch logic to correctly indicate it is SME and not
PMM messages which are being dispatched
Change-Id: Idcf66633c2060e52e930addaa8cecb3faf89bc90
CRs-Fixed: 2378317
The MNT module and message definitions are not used by the current
version of the driver, so remove them
Change-Id: I2840996caffdf24e4ddbe7a3a0b7d7c7f70f509a
CRs-Fixed: 2378316
Change Id685e9d94f185ee562f21d12d118e94a737a6a7e ("qcacld-3.0: Add
implementation of get_station_stats") added a prototype for function
wlan_hdd_request_station_stats() but did not add an implementation. As
a result the prototype is pointless, so remove it.
Change-Id: Idc9228bc75a8b1fae9681a1ecf290fa5f37c74f3
CRs-Fixed: 2378315
Change Ia8b85548ff64ad77b5066fe03229e2b0b2f7fae3 ("qcacld-3.0: Remove
legacy scan complete callback") removed the usage of macro
MIN_TIME_REQUIRED_FOR_NEXT_BUG_REPORT. Since it is obsolete, remove
it.
Change-Id: I7b3a79bdd9945e6fae8406d2bc038b0105139faa
CRs-Fixed: 2378314
Change I05ccc13d1b658e62b19a389e6a480707b5c446b9 ("qcacld-3.0:
Remove wext support for scan commands") removed the usage of
macro MAX_RATES. Since it is unused, remove it.
Change-Id: I3c15363a7ac8f82354bafefb82b14eb83ff6666d
CRs-Fixed: 2378313
Very occasionally, the driver transition thread for the DSC race
condition unit test can be preempted before queuing the driver
transition. This leads to the transitions de-queuing in an unexpected
order, causing the test to fail. In order to close the race window, a
thread would have to set its event _after_ blocking on a pending
transition, which is impossible. So, rather than using events to
synchronize the different threads in this test case, use polling to
ensure the different transitions are queued in the appropriate order.
If the given condition is not met, call schedule() to give the other
threads a greater chance to run.
Change-Id: I05edfa9200ca7831926153f3ff0ec9dbbbab3fed
CRs-Fixed: 2378469
currently the driver just ignore the channel numbers greater
than 165 for 80MHZ channel bonding, which results in best
channel selected as 169, 173 in 20MHZ bandwidth as the
respective channels does not support 80, or even 40 MHZ
channel bandwidth.
Fix is to assign the maximum weight to channel numbers greater
than 165, so that they do not get selected as best channel
for 80MHZ bandwidth operation.
Change-Id: I44c5073a806f39d98103681267faa317a6b6d73b
CRs-Fixed: 2375375
Based on new cfg framework, refactor below WNI and INI cfg items:
- WNI_CFG_PS_WOW_DATA_INACTIVITY_TIMEOUT
- g_wow_data_inactivity_timeout
- gDisablePacketFilter
Change-Id: I9a975263021ba4fd5ccea19ed1147a661f73317f
CRs-Fixed: 2375866
The CDP api cdp_tx_desc_thresh_reached should return true
if the available data path tx desc reaches threshold. But
this api returns wrong value in case of helium targets. Fix
this by returning correct value.
Change-Id: I571841ab1e4a4b24242fadc21bd13a85ef8da781
CRs-Fixed: 2378898
numBssFromNeighborReport and neighboReportBssInfo
fields in sCsr11rAssocNeighborInfo structure are
set to 0 in multiple places but are not referenced
or overwritten.
Fix is to remove the unused fields in sCsr11rAssocNeighborInfo.
Change-Id: I1aa0e58fd8407d1f96f0bb30a122e1626051d4c3
CRs-Fixed: 2376398
sapDfsChannelNolList and numCurrentRegDomainDfsChannels
fields in sap dfs info is not populated and is used in
csr_is_valid_channel.
Fix is to remove the redundant logic in csr_is_valid_channel.
Change-Id: Ib98423ba910a1947a908f4a74762f82183aa89d5
CRs-Fixed: 2374080
Start_ap failure due to no vdev start response is indicated
to supplicant using wext event instead of sending the
proper error code in return path of start_ap API. This
results in supplicant ending up in ap-enabled state since
wext events are not handled by supplicant.
Fix is to send the error code in return path of start_ap API
instead of sending wext event to indicate start AP failure.
Change-Id: I1c65aa65641c0ab718c734bd815ef790b1dfa636
CRs-Fixed: 2369681
During vdev destroy, if any STA is in connecting state the
roam command will be in active queue and thus vdev destroy is
queued in pending queue. In case STA tries to connect to
multiple BSSID and fails to connect, due to auth/assoc
timeouts it may take more than vdev destroy time to get
completed. If vdev destroy timeout vdev is moved to logically
deleted state. Once connection is completed, vdev destroy is
activated and to release the self-peer ref count it try to
get the ref of the vdev, which fails as vdev is logically
deleted and this leads to peer ref leak.
So before vdev destroy is queued abort any STA ongoing connection
to avoid vdev destroy timeout.
Change-Id: Ibd1ea555616ba22179f3663a082f5281220ab918
CRs-Fixed: 2375712
If Connect candidate has two or more APs in different band,
switch to DBS firstly. After associated 5G AP, will check and
try to switch to single MAC mode. But during DUT STA-AP key
negotiation, set hw mode cmd is refused to avoid EAPOL fail.
Fix: Check and change hw mode in hdd roam set key complete
handler, after EAPOL handshake finished
Change-Id: I63a2fb9eb49a4e209c68d5305bcf82fa26d3ea65
CRs-Fixed: 2377066
Use qdf_trigger_self_recovery instead of QDF_BUG for runtime PM
resume failure case as qdf_trigger_self_recovery can handle more
scenarios gracefully.
Change-Id: Iff0348fafb1be82f46400099e3cd551c079eea74
CRs-fixed: 2377677
Change Ic160dfafcfa015eb42a226304260b1be3dddc6f0 ("qcacld-3.0: cleanup
legacy scan request processing") removed the usage of macro
HDD_WAKE_LOCK_SCAN_DURATION. Since the macros is unused, remove it.
Change-Id: I5f34f09f144115fa217d8c2d3c67268c28f69ecc
CRs-Fixed: 2376945
As part of change Ic280113327e24a8934b0895c12b39ed7b4f73df6
("qcacld-3.0: Fix kernel checkpatch warnings in wlan_hdd_oemdata.h")
references to typedef tHddChannelInfo were replaced with references to
struct hdd_channel_info. However one reference was missed, so replace
that one as well.
Change-Id: Ib31aa3cbe6cc14fbdeb0e17a51aba92b7c2bdd20
CRs-Fixed: 2376944
Change Id39629e33e87ffe6ed58f375609a55e324618693 ("qcacld-3.0: Apply
second part of LFR INIs changes in HDD layer") contains a typo
"neighbor_scan_max_chan_timee". Fix the typo so that the code will
build if DSRC is enabled.
Change-Id: I2a8d8f7f619f825d16fc892913fd409ee8a04c97
CRs-Fixed: 2376943
Change I39945b2cec90c3f34c81e5ca525842f1af9340f7 ("qcacld-3.0: Refine
the passpoint set/reset logic") removed the definition and usage of
short name macros for the passpoint attributes, but it left behind the
undef of the macros. Since these undefs are pointless, remove them.
Change-Id: I1a381b1ffbeb0f0e97a26ae18dbeb8ad68717af8
CRs-Fixed: 2376940
Change Ia09638f59aeea4d87bbd6d4f9ab03210a213a132 ("qcacld-3.0: Correct
vendor attribute for external ACS") removed the define of macro
SET_CHAN_CHANNEL_COUNT, but left behind the associated undef. Since
the undef is pointless, remove it.
Change-Id: Ifbe3bc717138ff839d9ed5ae2a125a8c8a29300c
CRs-Fixed: 2376939
Change I2fb3d7e017f4befbad7aacab3575ae2b48e88a45 ("qcacld-3.0:
Refactor APF related modules in separate files") relocated APF code to
a separate file, but left behind a related set of macro undefs. Since
these are pointless in their current (original) location, remove them.
Change-Id: If0f4ba18fb93d81117961d3e7604b14237e74c5a
CRs-Fixed: 2376938
The peer mac address parameter to hdd_roam_register_sta() is unused,
so remove it.
Change-Id: Ic419b20abc471b8e96d3baa63c4a7ed2dbaedfe0
CRs-Fixed: 2376937
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
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
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
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
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
The wdsIndex and wdsPeerBeaconSeen fields in tDphHashNode are
obsolete, so remove them
Change-Id: Iae9131b1c3315a7448e5fe262a5fd36b1d09967d
CRs-Fixed: 2376928
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
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
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