Currently we have same function name/different implementation when set
wmi scan channel list for WIN and MCL, the implementation for WIN side
send_scan_chan_list_cmd_tlv looks more intuitive which will remain with
minor change.
So change MCL side wma_update_channel_list(), change its structure
scan_chan_list_params pass to send_scan_chan_list_cmd_tlv() accordingly,
set struct channel_param instead of setting WMI channel info directly.
Change-Id: Ic414a00c09655b3c999182c7d84e93c179c36467
CRs-Fixed: 2363666
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
It set roam offload flag to FW when vdev type is sta in
wma_vdev_attach, FW team think this isn't reasonable since it wastes
FW memory if sta isn't disconnected. And required to set this flag
when connected to AP, remove this flag after disconnect from AP.
Change-Id: I5edfb8d5a2cec0e2ffdf34349c99d477860f1339
CRs-Fixed: 2367135
Change Ia0fa016b174ef4b50e2cc339e4e476ec65642dbf ("qcacld-3.0: Use dfs
component support") removed all usage of struct wma_dfs_radar_ind.
Since it is now obsolete, remove the struct.
Change-Id: I9930dff34224a02f6a8bdc9a7fcdb362da1eb1bb
CRs-Fixed: 2379065
Change Iee7274fbc8ae985d034a29f920faa38aab68ccc7 ("qcacld-3.0: Add
VDEV state machine for STA disconnection") removed the implementation
of function wma_sta_send_vdev_down_bss(). However it left behind the
prototype, so remove it now.
Change-Id: Ia43371f6c86632955f67370d3ffc9b2753f797f7
CRs-Fixed: 2379064
Change Ibeb6f99335b4e745335d5968791d9e9187df47f7 ("qcacld-3.0: Remove
legacy scan event handling") removed the implementation of function
wma_scan_event_callback(). However the prototype was left behind, so
remove it now.
Change-Id: I34cd7fa0e9d28c10d73f1000284148eaece042f5
CRs-Fixed: 2379063
Change Ie3783306e0ff5b8a5bbcb6437e982590b03fe040 ("qcacld-3.0: Use
scan for preauth from LIM in roaming") removed all of the roaming
preauth logic from WMA, but it left behind some obsolete protptypes,
so remove these:
- wma_roam_preauth_chan_set()
- wma_roam_preauth_chan_cancel()
- wma_roam_preauth_scan_event_handler()
Change-Id: I9236f641fb80df0e5a6749781adb5af86d8b821b
CRs-Fixed: 2379062
As part of change I5c873b9571228f0d2b4fcd4782267a2cc40fc20a
("qcacld-3.0: Remove the deprecated IOCTL in TDLS") the implementation
of wma_update_fw_tdls_state() was removed. However the prototype was
left behind, so remove it as well.
Change-Id: Ibb08e9f8c8c39eac364b05e72d7c03db306cc8b3
CRs-Fixed: 2379061
Change I542e5afe832619f8c088220cc4456aa7fe4416fd ("qcacld-3.0: Route
the legacy NAN commands through NAN component") removed the usage of
typedef tNanRequest. Since the typedef is obsolete, remove it.
Change-Id: I10e243b4e6998e69027c2f0d5f829cd2a6b27c92
CRs-Fixed: 2379059
iwpriv interface is added for configuring Motion detection
feature specific parameters
Added under flag WLAN_FEATURE_MOTION_DETECTION
Change-Id: Ic20c8c43782cf037317f412962fab4a6928eb0b9
CRs-Fixed: 2376722
Based on new cfg framework, refactors below five WNI cfg items and one
INI cfg:
- WNI_CFG_APSD_ENABLED
- WNI_CFG_OBSS_DETECTION_OFFLOAD
- WNI_CFG_OBSS_COLOR_COLLISION_OFFLOAD
- WNI_CFG_CURRENT_TX_POWER_LEVEL
- WNI_CFG_LOCAL_POWER_CONSTRAINT
- gTxPowerCap
Change-Id: I5307fe73ad931eaec2e9471ddd36cd6d00061c76
CRs-Fixed: 2375860
Check if vdev is active for the following roam related vdev
commands before sending it to wmi:
1. WMI_ROAM_SCAN_MODE
2. WMI_ROAM_SCAN_PERIOD
3. WMI_ROAM_SCAN_RSSI_CHANGE_THRESHOLD
4. WMI_ROAM_AP_PROFILE
5. WMI_ROAM_CHAN_LIST
6. WMI_ROAM_SCAN_CMD
7. WMI_ROAM_SYNCH_COMPLETE
This will avoid the race condition where the vdev is deleted
and the vdev related commands for the deleted vdev are sent
to firmware before wmi_stop_inprogress is set at wmi.
Change-Id: I8b54bb5663ef517bc58141bc3b96fd9b863fd656
CRs-Fixed: 2344006
In the scenario where vdev response is not received for
SAP start, HDD timer of 10secs expires ahead of vdev
response timer, which is of 12secs due to slub debug
factor. This can result in change interface to be
triggered by supplicant before fw down indication is
received. Vdev is logically deleted and peer removal
in objmgr fails due to vdev get_ref failure resulting
in peer leak on wlan shutdown.
Fix is to remove slub debug factor for vdev response
timeouts.
Change-Id: Id0741226ccaebbabb817853246c7b116bd447128
CRs-Fixed: 2376610
Change I2a28564ccb5ad85d65a62a5e9f0ac6c500a80c2d ("qcacld-3.0: Remove
struct sTdlsLinkEstablishParams") removed the only usage of macros
HAL_MAX_SUPP_CHANNELS and HAL_MAX_SUPP_OPER_CLASSES. Since these are
obsolete, remove them.
Change-Id: Ib31ef84d69b48ba095bf587c51003911a2a3b85e
CRs-Fixed: 2378332
Change I77617df14093806f19c0d587e953f63ae86f8ffe ("qcacld-3.0: Cleanup
the unused quiet timers and TX control API") removed the only usage of
macro HALMSG_NUMBYTES_STATION_BITMAP. Since it is obsolete, remove it.
Change-Id: I5a232962a9a85f7af9b82261d70cd8a3e56413b8
CRs-Fixed: 2378331
Currently all but one of the fields in tBeaconGenParams are unused. In
addition the one field that is used, as well as the struct itself, do
not conform to the Linux coding style. Therefore replace the typedef
with a properly named struct which contains a properly named field.
Change-Id: I246f45831854db07d5ff6835a1df222e771a5146
CRs-Fixed: 2378330
Change I414269abb5a5c616cc890dab450a7782e6829d0e ("qcacld-3.0:
Management MGMT TXRX component over HTT") removed all usage of the
legacy umac_ota_ack_cb[] array in t_wma_handle. However it left behind
the actual unused array, so remove it.
Change-Id: Ia909360edefeb413025e8d437199a3f21c808030
CRs-Fixed: 2378329
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
Make changes to the legacy code to support the
new SET KEY converged infrastructure.
Change-Id: Ic5359e3a9035ac5f2a937a9a1013fa92764cda9d
CRs-Fixed: 2358795
Remove wepType field from struct tSetStaKeyParams, as
it is an obsolete WEP configuration.
Change-Id: I895541bef0cc08a75ba7c54e792ad15002ff0b0c
CRs-Fixed: 2373003
currently freq is sent as 0 in send auth mgmt frame
request to firmware(WMI_MGMT_TX_SEND_CMDID). In SAP 2G
+ STA doing LFR2 DBS roam from 5G to 2G scenario, the
preauth request get sent in 5g band rather than 2G.
So LFR2 preauth send request should have the exact
frequency parameter. only then FW can send the auth req
in appropriate frequency.
Change-Id: I17f47ee559768fee1fd5055d953791117e7b04c5
RSSI absolute threshold value sent to firmware in the
default case is 0 even when hw db2dbm capability is
enabled which can break firmware roaming.
Fix is to send min rssi value of -128dbm when hw db2dbm
service capability is enabled.
Change-Id: I0a595e9f4af170411a0813a3390ddbb57d26bce1
CRs-Fixed: 2376606
If target doesn't support AES_GMAC BIP cipher,
skip the key install wmi command.
Host will do the BIP MMIE validation.
Change-Id: I7536a0bb8a2dab653eae8f729e57bdcb5fef5e19
CRs-Fixed: 2370637
The following macros are unused, so remove them:
- WMA_DEFAULT_QPOWER_MAX_PSPOLL_BEFORE_WAKE
- WMA_DEFAULT_QPOWER_TX_WAKE_THRESHOLD
Change-Id: I9b0f760ebbadbdecf9549a813a9b72e07a97a9e8
CRs-Fixed: 2375433
Change I654e53fa2441e03723f150d973c124985c67f2b4 ("qcacld-3.0: Add new
params in ACS calc process") introduced macros WMA_CHAN_START_RESP and
WMA_CHAN_END_RESP, but did not add any code which uses them. Since
they are unused, remove them.
Change-Id: I7a5f20cb8e72c19f52d5a44afb3b480eaa84c06b
CRs-Fixed: 2375431
Change I840c6a5f83c6cdc479e6746f36a29c2a7970c964 ("qcacld-3.0: Remove
wma_get_buf_extscan_start_cmd()") removed the only usage of macro
WMA_SCAN_NPROBES_DEFAULT. Since it is now obsolete, remove it.
Change-Id: If4907fcc397ba77bd58d8423b1695896a7197597
CRs-Fixed: 2375430
Change I33b56bb627ac914ca6fe96949de373b015853fc9 ("qcacld-3.0:
Decrease tx drain wait time during del bss") removed the only
usage of macro WMA_TX_Q_RECHECK_TIMER_MAX_WAIT. Since it is
obsolete, remove it.
Change-Id: Iec4ad45efcd7bc407f639226f7aa21ed39d753e9
CRs-Fixed: 2375429
The legacy typedef tBeaconFilterIe is unused, so remove it, along with
the underlying tEidByteInfo typedef.
Change-Id: Id02c67ff49892d63cd2443a2639f4bc7d4253a7f
CRs-Fixed: 2375428
The typedefs for struct sAniProbeRspStruct are unused. Since the Linux
coding style discourages the use of typedefs, remove these so that
they won't possibly be used in the future.
Change-Id: I71965804bd32e3413314e81447ee004e6e663e49
CRs-Fixed: 2375427
The following legacy scan typedefs are obsolete, so remove them:
- tStartScanParams
- tEndScanParams
- tAbortScanParams
Change-Id: Ie106be72b2ff1d1969018d0db14da9408df97747
CRs-Fixed: 2375426
Change Id235d6303ce7c740f907147afc7248d833772067 ("qcacld-3.0:
Cleanup eWNI_SME_SET_BCN_FILTER_REQ") removed the usage of typedef
tBeaconFilterMsg, but didn't actually remove the obsolete typedef,
so remove it now.
Change-Id: Id7a24e18a6aa4fb7cfa6747f264bd3e6eeaa1ad8
CRs-Fixed: 2374845
The enable_mhf_offload and last_mhf_entries_timestamp fields of
t_wma_handle are unused, so remove them.
Change-Id: If07fa52f93caa0c2f2bb191603c6a96830dad469
CRs-Fixed: 2374844
Typedefs tInitScanParams and tFinishScanParams are unused, so remove
them, along with tSirScanEntry and tSirLinkTrafficCheck that is used
just by them.
Change-Id: I5f9c58236f8c5fe639c5b896a66b9dc290e54ab1
CRs-Fixed: 2374281
The txRateFlags field in tSirIbssPeerInfoParams is initialized to zero
but is otherwise unused, so remove it.
Change-Id: I8efcb18869dfe1c5e2a42395bb40c281391b3bfa
CRs-Fixed: 2374278
Add dot11mode related cfg items in mlme cfg, and replace
old WNI dot11 modes with new MLME DOT11 mode enums
Change-Id: I6e866959f440ae781432c8aaa724b229c0874856
CRs-Fixed: 2362540
Refactor the prints for rx management frames. Do not print rx
frames in wma_form_rx_packet, as txrx module take care of it.
Change-Id: I52403c9dd32919507af13782dc838ff8076070cd
CRs-Fixed: 2375675
Change I4fdbf041b53b5f1606d324714f01088742a9307f ("qcacld-3.0:
Modify Kbuild to add new beacon header file") added new file
wmi_unified_bcn_api.c to Kbuild with flag CONFIG_WMI_BCN_OFFLOAD.
Add this flag to all dependent APIs.
Change-Id: Id3f77434179b739d5563b490d25b1c1386e1831f
CRs-Fixed: 2374758
Make sure to initialize global target_if before soc create
as part of this psoc notifications are registered.
Change-Id: Id5491a2aac49450774532fe69ee24e18c9a7c594
CRs-Fixed: 2351426
Per the Linux coding style both mixed-case names and so-called
Hungarian notation are frowned upon, therefore replace the identifier
pAddPeriodicTxPtrnParams everywhere it occurs.
Change-Id: Id15f65781eb6ead662add691aa299df0ca60bc3f
CRs-Fixed: 2371907
In wma_process_add_periodic_tx_ptrn_ind() the buffer allocated for the
WMI parameter will be leaked if wma_find_vdev_by_addr() fails. To
avoid this, reorder the operations so that the buffer is not allocated
unless wma_find_vdev_by_addr() is successful.
Change-Id: Idbd180dcc1bcae5b71f6a56adcfa3b4a7e2595da
CRs-Fixed: 2371905