Currently when reo id mismatch check is done there is
possiblity of flow getting evicted same time this may
lead to false alarm. To avoid this race condition reo id
mismatch check is done under lock protection.
Change-Id: I7d3ac25ec8c806677697242a0fd3fa338c0a6ad2
CRs-Fixed: 3129761
Firmware doesn't expect any vdev commands from host while RSO stop
is happening. It sends a response to the RSO_STOP command once
it's done with cleanup. Host needs to run a timer after sending
RSO stop command to firmware and wait for a maximum of 6 seconds
for the response. Host can stop the timer and allow the commands
to firmware in the below cases,
1. RSO_STOP response with success status
2. RSO_STOP response with HO_FAIL status followed by
HO_FAIL event: Host needs to wait till HO_FAIL event is received
If firmware doesn't send any response in the 6 seconds wait, issue
a recovery to help to check the firmware state.
Also, set WMI_ROAM_SCAN_MODE_FLAG_REPORT_STATUS always when MLO is
supported while sending RSO_STOP to firmware. It's sent only
in case of wpa_supplicant disabled roaming currently.
Change-Id: I8182e60beb9288dba23cc72e978dc781c8ab1707
CRs-Fixed: 3106023
Decrease resource which were sent by WMI_INIT_CMD in ftm mode to
save FW memory. Otherwise, qca6490 will crash because of short
of resource in ftm mode.
Change-Id: Ic84e1076693130e9831ad0c08b813e6622f1f99d
CRs-Fixed: 3064388
During MLO roaming, non-assoc link is processed first.
Set the dp peer info flags:
- Non-assoc link: is_first_link = True and is_primary_link = False
- Assoc link: is_first_link = False and is_primary_link = True
For legacy to MLO roaming add checks for link vdev processing
during add sta resp and delete bss peer.
Change-Id: I602e4bc03c09b5d8dd35016448eabfaa3ff5acfa
CRs-Fixed: 3129304
In wlan_populate_basic_rates, the MAC rates were displayed in
a loop.
Printing the MAC rates in a Hex format instead in a loop.
Change-Id: Iaed3be9baceffd1af1242a688f3314ad9ea988f6
CRs-Fixed: 3128516
When processing CM_CONNECT_JOIN request, session will be created and
lim_join_req will be allocated in function lim_fill_session_params().
If self-roam happened, lim_handle_reassoc_req() will be called to process
re-assoication. Session lim_join_req will be re-allocated. But orignal
memory not freed.
So, free lim_join_req memory before re-allocate.
Change-Id: Ice748a045732faddde83bc9d7e05651f14d57fbc
CRs-Fixed: 3110030
hdd_txrx_hist histogram is accessed in hdd_pld_request_bus_bandwidth.
init/deinit tx_rx_histogram along with init/deinit of hdd_bus_bandwidth
Without this in FTM mode where hdd_txrx_hist memeber is accessed without
allocating memory for it. This results in uninitialized NULL dereference
assert
Change-Id: I3b8d80b71f4c37da4a0dafc4a7b91f8ca16bbab3
CRs-Fixed: 3110416
Instead of print each frequency in separate line,
print all the frequencies in one shot in
csr_save_to_channel_power2_g_5_g.
Change-Id: I9bca0a94b702626e247bd63f3aa3a617597351a0
CRs-Fixed: 3128543
Currently moderate latency level is not used. Rename moderate
latency level to XR latency level to be used in XR applications.
Change-Id: Ia7f65c3565f6704b9571161aabefb3a8b47cce1e
CRs-Fixed: 3116839
Assoc request and Reassoc request IE offsets are diffrrent and need
to specify the offset to parse MLO IE.
Below are the offset calculation details,
Assoc req IE offset = Capability(2) + LI(2)
WLAN_ASSOC_REQ_IES_OFFSET =
WLAN_CAPABILITYINFO_LEN + WLAN_LISTENINTERVAL_LEN
Reassoc req IE offset = Capa(2) + LI(2) + current AP address(6)
WLAN_REASSOC_REQ_IES_OFFSET = WLAN_CAPABILITYINFO_LEN +
WLAN_LISTENINTERVAL_LEN + QDF_MAC_ADDR_SIZE
Currently, same offset is passed for both assoc and reassoc request
which fails to find the partner link info.
Change-Id: Ibde20d2020fcdde542d618c1205820f3bb73873c
CRs-Fixed: 3132241
Enable the support to parse the common user info from
the tlv in monitor status ring for KIWI.
Change-Id: Id54817efb65c005578c7cc28286feabde1bea652
CRs-Fixed: 3129126
This change is to clear coex unsafe channels list if vendor command
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT sends start and end
frequencies as '0'.
Change-Id: I8cea94f743de02c036ce1c6bed352857fec2d44d
CRs-Fixed: 3127863
Currently regulatory channels are disabled for
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT vendor command
event if ini coex_unsafe_chan_nb_user_prefer is not set and if
STA operates on disabled channels which results in crash for
STA interface in STA + SAP SCC case.
Hence coex_unsafe_chan_reg_disable ini is controlled based
on coex_unsafe_chan_nb_user_prefer.
Ini behavior summary:
|----------------|----------------------|-------------|--------------------------------|
|User prefer ini | Reg chan disable ini | PLs | Expectation |
| | | | |
|----------------|----------------------|-------------|--------------------------------|
| 1 | 1 | LE | accept freq ext command and |
| | | | disable the regulatory channel|
|----------------|----------------------|-------------|--------------------------------|
| 0 | 0 | Non-Pixel SP| reject freq ext cmd driver and |
| | | | returns NOT SUPP |
|----------------|----------------------|-------------|--------------------------------|
| 1 | 0 | Pixel SP | accept freq ext command and |
| | | | Don't disable the reg channels|
|----------------|----------------------|-------------|--------------------------------|
Change-Id: Ia3acbc133cab4865d8ad69992e893be91439f856
CRs-Fixed: 3128908
Due to SPF, multiple drivers are supported and are loaded
run time. It is expected for one driver to fail to load,
however the failing driver should not flood the dmesg.
Add code to rate limit pld logs to avoid flooding of dmesg.
Change-Id: I1a3b397a3e1de750e520b62d97ccea19a4bbbf7d
optimize logs in one line for func sch_qos_update_broadcast and
wma_process_update_edca_param_req/wma_update_edca_params_for_ac,
to avoid printing in loop
Change-Id: I0feaa9822406a2610959bb8edbb1ce40b3a9cae8
CRs-Fixed: 3128531
Currently, TPCReport IE is populated for beacon2 but
is not populated for probe response. As per Table 9-34
TPC report should be present in probe response.
Fix is to populate TPC Report IE for probe response from
beacon2.
Change-Id: I1b384ef71ca99e0144374885cafcd864375a3b58
CRs-Fixed: 3128799
Currently ric_ies pointer of struct cfg80211_ft_event_params is pointer
of local stack, even RIC len is 0. It introduced MIC mismatch when H2E
enabled between STAUT and AP.
Change to assign valid RIC pointer only when RIC len greater than 0.
This function only valid for LFR2.0 FT roaming.
Change-Id: I7a1c4f424ef9a8a18b2852e3647cb12b4ec07f02
CRs-Fixed: 3113941
Do not honor QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT
command if coex_unsafe_chan_nb_user_prefer ini is not set.
Change-Id: I9b278ba74052f1a333ed59d0b048d5a0611dbb3e
CRs-Fixed: 3125719
pm_qos API is removed from kernel v5.7, while new API cpu_latency_qos
is defined.
Replace pm_qos API with cpu_latency_qos.
Change-Id: I7ce81c5433b6c9b5761b5330482a921d9bbfeaf4
CRs-Fixed: 3126736
If the SAP is moved to DFS channel on 5G by Pre-CAC SAP interface,
Pre-CAC interface will be stopped but not deleted. Then the
driver will have two sap context objects. When the Radar event
comes to SAP interface, the existing APIs
(like sap_is_conc_sap_doing_scc_dfs) will still check Pre-CAC SAP
context to get concurrency status without checking Pre-CAC SAP's
status even though the Pre-CAC SAP is inactive. It will get wrong
result and finally cause the current SAP stuck in Radar detected
DFS channel.
Fix by check sap_context state active or not in sap concurrency
check API.
Change-Id: I5adf9e6a3ac7b45983fb627c99d9d92fe5815751
CRs-Fixed: 3127425
In lim_fill_session_params(), remove redundant assoc_ie
prints if assoc_ie length doesn't change after strip.
Change-Id: Ib6b2457a66168d86a6de9e5ce9ebd9ec9f217b53
CRs-Fixed: 3128565
Add NL policy for vendor ACS command attributes and check if EHT
is enabled when the bandwidth is set to 320MHz.
Change-Id: Ieae4668757d0d05b19a8ebe2ddc6b9e8705a0cac
CRs-Fixed: 3120986
If all the partner links are in quiet status, do not send force inactivity
on the link.
Change-Id: Icf5356f9d05e871dcf602e2382a1d150dd057aed
CRs-Fixed: 3101961
During mlo disconnect link vdev disconnect is processed
before assoc vdev.FW expects RSO stop before vdev stop/down
on any vdev.Changes made to handle sending RSO stop on assoc
vdev during disconnect.
Change-Id: I727cedffa4a11f991fd38aa8253c2176271f7b89
CRs-Fixed: 3126419
Before MLO sta partner link is up, FW can't indicate CSA event to host.
For this case, host need save csa parameters and process it when MLO
sta partner link is up.
Change-Id: I543c5e1069af5b1e88c6619364a7a44330134d2c
CRs-Fixed: 3082437