All usage of hdd_is_sta_authenticated() was removed by the patch:
qcacld-3.0: Code cleanup from HDD module
Change-Id If5f1cf432b5c02848202debee7de696b2f20be9a
Since hdd_is_sta_authenticated() is unused, remove it.
Change-Id: I777b8bb1ecda596d71744aa62be4b14dba71fe0e
CRs-Fixed: 3428727
The tx_mgmt_desc_ctxt member of struct htt_pdev_t has been unused
since the initial snapshot of the driver, so remove it along with the
unused underlying data structures.
Change-Id: Iebd73c0c9eb8f882ec6a0d01ad2979edb701cb80
CRs-Fixed: 3428241
The original snapshot of the driver included the macro
ol_ctrl_addba_req(). However, this macro has never been used and,
since it references an unknown identifier ol_addba_req_reject, it
could never be used, so remove it.
Change-Id: Ib934617376ba241fc7502cfef49bc895e8cc4102
CRs-Fixed: 3428342
A prototype for hdd_update_eht_cap_in_cfg() was added as part of:
qcacld-3.0: Add APIs to update 11be target capabilities
Change-Id Ib3baa41ea3d8ef2ce49b88e4b48d8bc29556cd66
But no actual function was added, so remove the unused prototype.
Change-Id: Ie96c86f9028f39438e6a135c9733465aaf52c12b
CRs-Fixed: 3428468
Function hdd_sme_open_session_callback() was removed by:
qcacld-3.0: Send the vdev create to firmware in the caller thread
Change-Id Iafb186b13d948e421d152c3142cb8614fdbbffa6
However, the prototype was not removed, so remove it now.
Change-Id: Iffa96f51b2e274ba3540dbeac3011819285f50a0
CRs-Fixed: 3428757
The function hdd_max_sta_vdev_count_reached() was removed by:
qcacld-3.0: Check for max allowed STA vdevs in hdd_start_adapter()
Change-Id I5b2dd09fb58aa3135743a029889e689729bd05a7
However, the prototype was not removed, so remove it now.
Change-Id: I3ca75963bb69f0d2fc5a27687566e70b11f02058
CRs-Fixed: 3428740
The dp_mem_pre_alloc_ctx was added to struct cds_context by the
following patch:
qcacld-3.0: Add support to pre-allocate DP SRNG mem
Change-Id I1f814f9f18d482eb5f55e0b157606d1792e665f8
However, that patch didn't actually use the member, and it hasn't been
used since, so remove it.
Change-Id: I8799e11cb753432b8433782990be6c259a785271
CRs-Fixed: 3428230
Prototypes ol_rx_fwd_mcast_check_ap() and ol_rx_fwd_mcast_check_sta()
were part of the initial driver snapshot, but there was never an
actual implementation of these functions, so remove the prototypes.
The prototype for ol_rx_fwd_check() uses a legacy documentation
template, and the prototype for ol_get_intra_bss_fwd_pkts_count() has
no documentation, so make sure both of these have proper kernel-doc
documentation.
Change-Id: I80a9c6f61631dd509b9029312b1e35c235ac2aa9
CRs-Fixed: 3428364
Rename enum pmo_wow_action_wakeup_opertion to correct the misspelling
of "operation" in the name. Note that no code actually references the
enum by name, so no other code is affected by this change.
Change-Id: I77a113bed3e74b151945ad228471e1a5d09b9d76
CRs-Fixed: 3427584
Use of the macro TDLS_MAX_NO_OF_2_4_CHANNELS was removed by the
following patch:
qcacld-3.0: Process rx_mgmt_pkt based on frequency
Change-Id Ib063070738ecdb4f83379eafe50629778a490aae
But the macro itself was not removed, so remove it now.
Change-Id: Iae040652e46795add803056bfe63c18de4dfeaf1
CRs-Fixed: 3426257
Handle Multi-Channel Concurrency low latency mode enable/disable.
The firmware will do optimization for low latency in Multi-Channel
concurrency state if enabled. And all existing user quota setting
will be overwritten by the target.
Change-Id: I99d909f0b76cfd3876254f9930644061ecd0ea0d
CRs-Fixed: 3411252
eMLSR allows links in MCC mode(e.g. 5 GHz high + 5 GHz high) as
it's listen only till some data is ready from AP. Actual data
transmission may happen only on one link. So, don't disable any
link though those are operating in MCC when eMLSR is enabled.
Change-Id: I12635027dff658a18bc365299769dc5158ad0a33
CRs-Fixed: 3421444
TDLS is not supported on ML STA but it gets enabled
currently when connected with ML AP and TDLS discovery request
is sent to peer devices.
So don't allow TDLS on MLO vdev.
Change-Id: I5bb9e03a0be3f3249aa7af664666a53a67ee812d
CRs-Fixed: 3416206
At present, driver move DFS SAP to STA's non DFS 5 GHz channel
before STA connects to 5 GHz AP. But need to make sure the
new SAP BW doesn't cover DFS sub channels and cause CAC.
Move the BW check and update logic to correct location to handle
such case.
Change-Id: I59cd1e8d92d978429f24963b9cb241d6f89f2307
CRs-Fixed: 3427862
Add sanity checking to fix the potential pointer dereferenced after call
the __cds_get_context or hdd_adapter_get_mac_handle.
Change-Id: I53bdfa8434bdbbd6b70b0d98469e05c2e05ead28
CRs-Fixed: 3426731
As part of P2P componentization, debug logic was moved from HDD to the
P2P component, see:
qcacld-3.0: Activate debug functions in P2P component
Change-Id I1ff627a553108c74be144232fd0a0406d88de395
and:
qcacld-3.0: Remove legacy P2P codes in HDD
Change-Id Idaaacac4fdaf1b964432c33c10b1c86f8a591c2d
However these changes left behind two action frame type "number to
string" tables which are also no longer used, so remove those as well.
Change-Id: I95c2b2b767007f852d9c7ce0acac92089dbf8f23
CRs-Fixed: 3426074
After ACS completed, wlan_sap_get_concurrent_bw will
override ACS BW based on concurrency interfaces, but
it will hard code 2.4 GHz to 20 MHz BW. Fix it by
return BW from ACS result to avoid ACS request 40 MHz
failure.
Change-Id: Ibb763c275234c7974ba34c4e2d95f1ed4238908d
CRs-Fixed: 3422900
With the MBSSID IE, it has to generate the corresponding
beacon and probe response frames. Then handle the generated
frames per critical update feature.
Change-Id: I881bf417e19e013e0b2eddfcd2f614a39ae62f04
CRs-Fixed: 3376510
Currently if the pkt tlvs indicate flow_invalid=0,
there is no sanity done on the SW flow table entry
retrieved using the flow_idx from pkt tlvs.
In case of HW incorrectly sending a invalid flow_idx,
within the range of allowed flow_idx, and flow_invalid=0,
there will be an attempt to aggregate an invalid flow.
This can also trigger a RX ring id mismatch.
In order to mitigate the above issue, verify if the
SW flow table has been populated, before attempting
FISA aggregation.
Change-Id: Idb445c0c5b249d747dbce61f31513ba4a75c26b7
CRs-Fixed: 3412721
Skip the FISA aggregation and drop the frame if the reo destination
indication is zero in the packet TLVs.
Change-Id: I9bd02652bf321202f6b59e6da98fc6959ab93413
CRs-Fixed: 3426355
The enum oem_capability_mask was introduced by:
qcacld-3.0: Add support for get and set OEM capability
Change-Id I8c4a8c19633845750ec9d2492632471c68ba410d
However, the enum wasn't actually used by that patch, and instead
struct sme_oem_capability represents that information, so remove the
enum.
Change-Id: Ie52fa8d69c95c1021bf94b052f373e3e75da6f80
CRs-Fixed: 3425038
The stub function wlan_hdd_send_igmp_offload_params() was added by the
following patch:
qcacld-3.0: Add support to offload igmp feature to fw
Change-Id I05fbf23dc2836f8f5dc6e2f45b35bf2d30c39790
However there isn't a corresponding "real" function, nor is there a
caller. Since this was added in error, remove it.
Change-Id: I738a2be81e613138e13544f7335ad2876436a73b
CRs-Fixed: 3426018
The functions hdd_sysfs_create_adapter_root_obj() and
hdd_sysfs_destroy_adapter_root_obj() were removed in the
following patch, replaced with mode-specific APIs:
qcacld-3.0: Add a sysfs replacement for reassoc
Change-Id Ib4f3582bb8c164dd4f3ab739367520b9aeb0f5b9
However the stubs for when WLAN_SYSFS is not defined were
not removed, so remove them now.
Change-Id: I8c82b410d2891cbf8f3d619fcb6c1c60a5a0a9ca
CRs-Fixed: 3425058
Usage of the enable_pkt_capture_support and val_pkt_capture_mode
members of struct hdd_context was removed by the following patch as
part of packet capture componentization:
qcacld-3.0: Remove packet capture ini's in cds
Change-Id Ice4765c7eb697743b1dccc8a70be1b7ce766e037
Since these are obsolete, remove them
Change-Id: I28ffd0fe209b1d663046e8dec96d18ef5e269755
CRs-Fixed: 3424981
There are two different implementations of wlan_ptp_gettime()
depending upon the version of the Linux Kernel. The implementation
for versions before Linux Kernel 4.1 has an unused stack variable,
tsf_reg_read_enabled. This can result in compiler warnings, so
remove it.
Change-Id: I1ed7e15ff0cf8867356e8cea39bff5f4ee362877
CRs-Fixed: 3426059
Currently, on obss color collision detection driver sends bss color
change IE in beacon and updates the color switch count in IE in
every beacon until color switch count reaches 0.
If the wlan driver enters suspend during this updation of bss color
change IE in beacon, the bss color change is not completed until wlan
resumes. This will lead to delay in bss color change after bss color
collision is detected.
To fix this issue, acquire wakelock once obss color collision is
detected and release it once obss color change is completed. This fix
is similar to how CSA is handled currently in driver.
Change-Id: I9c3e7cfe16da116905121b044054c0987afbca09
CRs-Fixed: 3405919
The following patch removed all usage of the defer_key_complete member
in struct hdd_roaming_info:
qcacld-3.0: Remove unused code for defer key
Change-Id I8afcebf00b00bcf39ba7da999c55e5eacdf26aaa
Since it is obsolete, remove it.
Change-Id: I4ed0eeba29ed74ddc82bf2a6723d73b49a9b907f
CRs-Fixed: 3424957
The tAniSirLim struct contains multiple counters. Although all of them
are initialized, only some of them are ever incremented, and very few
of them actually have their values read. Since it is pointless to keep
counters that are never examined, remove the ones that are never read.
As part of the cleanup replace the tAniSirLim typedef with a properly
named struct to align with the coding standard.
Change-Id: I8b306ff9ae92a54953dd54b80c58e691612c43a0
CRs-Fixed: 3424936