Update operational rates set, extended operational rates set
and MCS based rates set in VDEV MLME legacy priv object on
connect success.
Refine the APIs for fetching these rates.
Change-Id: I7697b3d2e26e2fc565a2e672afe19f255af89d7e
CRs-Fixed: 3044036
Fix few missing attribute in below connectivity events:
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_RESPONSE
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCORE_CURR_AP
Also send the roam candidate info properly to userspace.
Change-Id: Ia9c4f095316adf8f40294f1e119cad648749bb72
CRs-Fixed: 3037650
During periodic stats poll for ll_stats and get_station_stats,
if qmi sync resume fails, add an error log.
Change-Id: Iad8d6959d39a6caaa67a24671c833d5e64e47d26
CRs-Fixed: 3045876
Currently in function extract_peer_stats_count_tlv,
num_peers is copied directly to wmi_host_stats_event
structure without any validation which may cause
out of bound issue if num_peers provided in fixed
param becomes greater than actual number of peer
stats info.
Fix is to validate num_peer_stats_info before populating
stats_param->num_peer_stats_info_ext.
Change-Id: Icfb1c4fd34d3ec9120064e14bb65e35f8539f7fd
CRs-Fixed: 3032139
Remove the comma between the text of filter key word. So
the macro CONFIG_MOBILE_ROUTER will be enabled.
Change-Id: Ie69aae479470017eee7a266abf3b7456ac38ef26
CRs-Fixed: 3038353
Currently for station case if driver receives big data stats
command when station is connected it does not reject the command
and returns the big data stats. Since this command is not
supposed to come in connected case, for some of the stats,
driver returns incorrect values for some of the stats.
With this change reject the big data stats command for connected
station case as this command is for disconnected station.
Change-Id: I543b38f448eb3a8b2d97bd09c888957450116124
CRs-Fixed: 3043000
As per new API changes, util_scan_get_ml_partner_info is modified to
pass the output pointer to ml partner info structure. Update caller
accordingly
Change-Id: I4da4a52a857eb147fe74f783136da71252e04444
CRs-Fixed: 3043820
Currently, if AP sends ADDTS response for an AC with
medium time as 0 host treats it as ADD TS failure.
For the UAPSD scenario, no need to check Tspec medium
time if ACM is not enabled in AP.
Change-Id: I9a769e7fc2f675c07f91d934014338a6d311c791
CRs-Fixed: 3039433
Rename WMI_HOST_REGDMN_MODE_11AC_VHT20_2G to
HOST_REGDMN_MODE_11AC_VHT20_2G to avoid duplicate
definitions and to be in line with the common repo.
Change-Id: I7ecd409641cd998b01165863758f56459282fa7b
CRs-Fixed: 3044438
When ROAM_TARGET_IF_CONVERGENCE feature enabled, the new
channel freq and BW from roam sync are not updated to wma
interface struct.
Fix by update ch_freq & BW to wma in wma_roam_update_vdev.
Change-Id: Ia41c51feca855cab54e908438c51a8d12075f864
CRs-Fixed: 3045108
During wma_pdev_hw_mode_transition_evt_handler()
get the freq range from mac_freq_mapping[] present in
wmi_pdev_hw_mode_transition_event_fixed_param and pass
till policy_mgr_hw_mode_transition_cb() and update
cur_mac_freq_range[MAX_MAC] from it. if no freq range
provided (legacy chipsets) then use
freq_range_caps[MODE_HW_MAX][MAX_MAC] to fill the
range depending on the new HW mode.
Change-Id: I145d48052ce37724b0f697c19a1041f5a908cb54
CRs-Fixed: 3044976
Don't delete monitor interface while STA interface is getting down,
instead de-register packet capture callbacks and register back
when STA interface is UP again.
Change-Id: I42ea39ec619c08d99fa5ba287be20249e2b2582f
CRs-Fixed: 3013758
With g_sta_sap_scc_on_lte_coex_chan=0, when SAP working on 6Ghz,
STA connects to another 6Ghz unsafe channel, move SAP to 2G safe
channel for DBS. Add unsafe channel check in
policy_mgr_check_6ghz_sap_conc for such condition and select
alternate 2G channel.
Change-Id: If9d7be045835b4faa36b5d123f820032dabc2b64
CRs-Fixed: 3039791
In STA+STA roaming case, when primary interface is changed
and roaming is enabled on other interface rso stop will be sent.
But the roam scan mode is not set to 0.
So add check for primary interface change to reset roam scan mode
before sending RSO stop to FW.
Change-Id: Ia880b58a57b3d9b74f3c4e100d4724aac46b67cd
CRs-Fixed: 3042416
Fill the QCA_NL80211_VENDOR_SUBCMD_DIAG_DATA event data and
send the event to userspace.
Add dispatch table for the connectivity events to lookup
attribute type, id and length.
Change-Id: I1fc8467409852a430874ac1d926b06ec8dafb736
CRs-Fixed: 3030085
Fill the management frame data and enqueue the filled record to the logging
queue.
Frame sequence number, peer rssi, tx_status, authentiation algo,
authentication frame transaction sequence number will be filled to the
log record.
Change-Id: I069b7816fdc52eeed964d6586c52b58d1a5d5cd4
CRs-Fixed: 3030075
When NAPI enabled for Non-SMP platform, the 32th pkt is
send to tcp stack by netif_receive_skb, the first 31 pkts
are still in backlog queue, out of order issue will happen
Change-Id: Ieef5250fef9fcabb86e0e65673529c7db89a96c1
CRs-Fixed: 2997452
Don't populate the MLO IE in the assoc req in legacy connections.
Don't create the MLO partner peer in legacy connections.
Change-Id: Id34662608a65ba9b85871d328099849c578f1585
CRs-fixed: 3038615
When WLAN_FEATURE_11BE_MLO is enabled, 11be AP without mlo IE fails
to start because of number of links being 0.
11be AP without mlo IE is a valid case. It should be supported.
Change-Id: I66fce67e7235cd75db4599f7f06d239f7e1d965a
CRs-Fixed: 3042868
rem_len is calculated based on MAX size of the WMI message
(WMI_SVC_MSG_MAX_SIZE) while extracting data from
WMI_ROAM_STATS_EVENTID event data.
Correct this by considering the actual message length
received in the event.
Change-Id: If24f732a8fdc0ad403e9b8a936ff8cfa0b7f7737
CRs-Fixed: 3035196
If driver receives the command with parameter -1, the driver is enabling
all bands. Add check to see if the device supports 6G first, otherwise
don't change the band settings.
Change-Id: I2e0980015d8e8bad10fbdcd6f397ac1ca383a5bb
CRs-fixed: 3038801
Currently lim_process_probe_req_frame_multiple_bss sends probe
response for all AP sessions. If probe request is received on 2g
and 2 AP sessions are present then probe response will be sent
for both AP's operating frequencies which is not desired and
can cause delay to send probe response on required frequency.
Fix is to check probe request frequency and vdev operating freq
if both frequencies are same then only send probe response.
Change-Id: I8df0b0e78a5f9a586567dbe4b1d496f6cee04ff8
CRs-Fixed: 3042791
STA connection with OWE transition mode SSID fails due to join
failure timeout. Since, it is OWE transition mode, STA needs probe
response for join success.
The scan table entry of the candidate BSSID is sent in the join request.
This entry is used to create session and to send probe request to AP.
In case of OWE transition mode, the beacon carries wildcard SSID.
Therefore, the scan table entry also has wildcard ssid. Also,
during the candidate selection, scm_ignore_ssid_check_for_owe check
allows even entries with wildcard SSIDs to be selected as candiates
for OWE transition mode.
The join request with Wildcard SSID in the scan entry is used by LIM
to create session, as well as to send probe request.Therefore,
the AP doesn't respond to the probe request with wildcard ssid
leading to join failure timeout.
This change adds ssid from connect request to the cm_vdev_join_req,
which can be used by LIM to create session and to send probe request
whenever the SSID in scan entry is wildcard.
Change-Id: I02e19e16f2620b5568fbff82ff29d394ab9ee00d
CRs-Fixed: 3041073
Add an error log in cds_trigger_recovery_handler() before forcing a fw
crash to help with debugging stability issues revolving around it.
Change-Id: Ifc5faa14e1812d145abc7aecd12f66db51eef3b4
CRs-Fixed: 3043316
In case of STA+STA roaming, to enable roaming on primary vdev
check is added to handle SCC concurrency case.
Change-Id: Id43856b344ce016a17e5bf921c629f3dcc2be138
CRs-Fixed: 3041409