Set parameter add_sta_params->eht_capable accordingly whether
the peer STA support it or not.
Change-Id: Ib3664be74ece59804321e187fea889610c0a2a86
CRs-Fixed: 3454661
Reserve log like "[18:11:32.086000] [ROAM_TRIGGER]: VDEV[0]"
for common roam and special roam.
Some customers are used to get log from serial port, reserve
this log can better support debug.
Change-Id: I79565c87cfcf42ae5de3d6895c27666d2676370b
CRs-Fixed: 3451003
Update tdls vdevs to 2 if fw 11be capable. Add
WMI_SERVICE_11BE_TDLS_SUPPORT update num tdls vdevs
to 2 for firmware while init_cmd_send_tlv.
Change-Id: I12cced5718cb189ce1f96d204ac64108ccef5ca3
CRs-Fixed: 3436013
Do not indicate channel switch on link dev, because there is no
links information in wireless_dev of link dev. Links information
is saved in wireless_dev of assoc dev through cfg80211_connect_done.
Indicate channel switch on MLO assoc dev, otherwise channel switch
event will be dropped.
Change-Id: I17b861cacafa2bd98c9d50c45e5fb65ba2a30eef
CRs-Fixed: 3447351
The IPA component has now been moved out of
the kernel. This change supports WLAN dependency
on IPA to access the IPA header files and
exported module symbols.
Change-Id: I0eb1b9ca49108cf27cec2895696d2517acb7d18e
CRs-Fixed: 3458960
Currently in CSA path if the target channel is 6 GHz, it is not
checking the keymgmt used and allowing the open security to be
configured.
This changes add check for open security for 6 GHz if check_6ghz_security
ini is enabled.
Change-Id: Ie26ff05dc7c7a97a48398c2a81b091f66c6bd39e
CRs-Fixed: 3413618
Before stop pre cac adapter, need call wlan_hdd_stop_sap to stop sap vdev
first.
Change-Id: I108a42932f2631d901e72569f2878d08026b3ea4
CRs-Fixed: 3441589
Currently the RX rates stats is obtained from data frames from
driver. There is no data frames for driver to get rates stats
for a few seconds after ASSOC/REASSOC/ROAMING, so driver has to
gets rates stats by parsing the rateflags and the raw_rate from
FW until a data frame is received. However, the raw_rate from FW
is sometimes inaccurate after ASSOC/REASSOC/ROAMING. This is hard
to be seen since the period between ASSOC/REASSOC/ROAMING and
receiving a data frame is not long. To address this issue, using
TX rate stats to figure out max rate before receiving a data frame.
Change-Id: I83613447f56fc892ec6d20527ea1a872778afae1
CRs-Fixed: 3449455
Use the following HE caps based on the target support
on the current operating band:
a) Ng=16 for SU feedback support
b) Ng=16 for MU feedback support
c) Codebook size for SU
d) Codebook size for MU
Change-Id: I2dbc50d2bdeaadf97e1a0638eb53cea0d9a69e30
CRs-Fixed: 3457504
Currently rtt responder FW cap is checked while sending
the rtt initiator enable disable vdev param command
to the FW which is wrong.
To address this issue, check the rtt initiator FW cap
when host sends the rtt initiator enable disable command
to the FW.
Change-Id: Ib200d83bc91d791713eca91733ee2acc1968ac20
CRs-Fixed: 3458526
Add gActionOUIDisableDynamicQosNullTxRate to control FW's dynamic qos
null tx rate feature.
Some APs sometimes don't honor Qos null frames with some specific rate.
This ini will disable dynamic qos null tx rate feature for specified
APs.
Change-Id: I1690c14142c93e8456705183c9e12c41c20f3a4a
CRs-Fixed: 3450104
Currently host driver doesn't fill peer mac address
per ml vdev for station stats request as part of peer
stats request hence incorrect stats sent to userspace.
To address this issue, save peer mac per ml vdev in
request info structure.
Change-Id: Iebb1b810e112743602607e31d779be2ba1d48f90
CRs-Fixed: 3450665
Rename policy_mgr_is_sap_allowed_on_indoor() to
policy_mgr_is_sap_go_interface_allowed_on_indoor() since
it is common between SAP and GO. Cleanup the API as well.
Change-Id: I8380bd81c5050e9f12c00fff830455f14135c2b4
CRs-Fixed: 3423703
Send QMI misc request message to WFDS server and wait
for response before cleaning up the resources pertaining
to WFDS server on LPASS.
Change-Id: I24bc2295c5a625365a6da95be697c46b08f8b6b7
CRs-Fixed: 3448838
Add support for sending QMI WFDS misc request to QMI
server on Direct link deinit.
Change-Id: I611625d83719c0f8a7dfbef1d3c8328cb618ef7f
CRs-Fixed: 3454630
Since for MLO there may be several link connections, for TDLS
using api policy_mgr_get_connection_count_with_mlo() to replace
with policy_mgr_get_connection_count() to follow the original
logic.
Change-Id: Ic13c89f2e834196c01ca6966329cbd0d1552f292
CRs-Fixed: 3436049
Inorder to send out the tdls management frame properly,
1\ Make sure to use assoc vdev id when transmit frames;
2\ TDLS discovery response is sent to peer directly;
3\ TDLS link identifier IE is using mld mac address.
Change-Id: Ib34b6a5070e0acdf41668f44e5b5250761eb936e
CRs-Fixed: 3439343
Wrong debug ID is used (WLAN_OSIF_ID) to increment the ref
count of the pdev object when sending tx params update event.
This is causing crash as ref count is decremented using
different id, WLAN_DP_ID.
To fix this, use WLAN_DP_ID to get the pdev object and increment
the ref count of right debug id.
Change-Id: If20fc1a4e4c2a37287f7703aa70bb8dc556f0125
CRs-Fixed: 3453570
Upon reception of assoc request from an already associated
PMF-enabled STA, the SAP is expected to start SA-Query
mechanism.
On the other hand, host driver drops all the
retried assoc request frames if the STA is already in
connected state. This is valid as long as the original
assoc request is currently under processing(to prevent
duplicate processing). However, for reassoc attempt cases,
this assoc request with retry bit set could be the first
assoc request under processing.
Therefore, change the logic to drop only retry-bit set
assoc requests in non-PMF STA cases.
For PMF-enabled STA, drop the assoc requests only if
key installation is pending. Otherwise, send SA query.
Change-Id: I1f3a564864e70f4e11994698389be427ac202fa3
CRs-Fixed: 3446033
Rename wlan_cm_set_offload_ssid() to
wlan_cm_update_offload_ssid_from_candidate().
Also, add separate APIs for get and set roam_offload_bssid.
Change-Id: I64d6661a265aeafde7c09fa59bc94cf7a49baf0b
CRs-Fixed: 3445337
For HL targets, frames are queued to ol_rx_thread_queue
during WoW suspend in progress. At this time ol_rx_thread_queue
is in SUSPEND state and these frames can't deliver to Linux
Stack.
for ICMP case, if no other frames come to wake up
system and ICMP timeout will happen.
This change is to add rx thread status check API for HL
targets.
Change-Id: I3d37e6d6ce8f7f6edaf5f78bf5cef77bee6ed523
CRs-Fixed: 3407169
Dynamic sync stop will abandon on going tsf sync process and the
host_capture_req_timer is not being stopped. If dynamic TSF sync
start NL command handled before host_capture_req_timer expires,
Then the host_capture_req_timer gets re-initialized due to which
already running timer will crash on expiry.
Initialize and destroy the host_capture_req_timer as part of
TSF sync feature start/stop instead at every TSF sync.
Change-Id: Ie3f4bf51e6b123bc4ef41cd27ca2efacc64b5ab5
CRs-Fixed: 3426416
Currently, OWE assoc link scan entry is cached post roam success
but link scan entry is not cached. This causes join failure while
non-assoc link tries to get connected post assoc link roam.
So, cache scan entries of all links while processing first link
itself to avoid these failures.
This also fixes adding scan entry properly for non-MLO OWE
cases as well.
Change-Id: I3188f98f2682acceaae28f226e6c8abe0c81fff9
CRs-Fixed: 3437632
Check pointer adapter returned from function which maybe NULL,
and explicitly dereferenced error.
Change-Id: Iaaf4bdfb145a146452a5925ac39483e32ed8955e
CRs-Fixed: 3454288
Firmware do not send WMI_PEER_STATE_CHANGE_EVENTID when WMI_PEER_AUTHORIZE
peer param is sent from host on peer. Host waits for this event from
firmware for 10ms and then times out. This leads to unnecessary delay of
atleast 10ms in enabling the TX queues every time after connection and
roaming.
So this change cleans up the existing handling of WMI_PEER_STATE_EVENTID
and removes wait for sta_authorised_event. This will improve the latency
in enabling the queues from host.
Change-Id: Iaf54d8298dab3cd47ad4779ec9ee11dc8f0bad0d
CRs-Fixed: 3436763
Currently, when ML probe response is received in non-assoc link
channel, right link_id is not passed to the link_probe rsp
generation API as it loops through all available per STA profiles.
It fails when probe rsp received link id is given as corresponding
per STA profile is not present in the probe rsp.
Skip calling the ML probe rsp generation API for
the link id on which it's received.
Change-Id: Ib636c6d5909b7f2760c7e57ec4f14f8ed060a910
CRs-Fixed: 3428521
The rate table is lacking in rates info of mcs=10/11 in VHT
mode. This leads to failing to match a rate with rateflags
from FW sometimes. To address this issue, this change fills
out this rate table when mcs=10/11 in VHT mode.
Change-Id: I6f63339bed2f9d53838f02177c63bc128856a991
CRs-Fixed: 3448862