1\ Optimize the log output;
2\ Remove the duplicate code;
3\ Fix issue about processing partner link in probe response frame.
Change-Id: I05a67cf9ee7c017c6f76924f9cf08bbe2185b81c
CRs-Fixed: 3410878
EasyMesh application will get current TX rate information of connected
station. Add API to support it.
Change-Id: I6778e1ae18f3efe89930a5423455ebf3f8084a95
CRs-Fixed: 3406509
Rename policy_mgr_is_ll_sap_present() into
policy_mgr_is_vdev_ll_sap(). As this api mainly checks
whether the given vdev is ll sap or not
Change-Id: I7f87aceeb0ed6ac5bb7014db1fd6213e62e6305e
CRs-Fixed: 3413644
Remove lim_print_mac_addr() API from lim and use
QDF_MAC_ADDR_FMT for MAC print.
Change-Id: I7047183768a40a628662588ad7ed53bfe8ba844d
CRs-Fixed: 3400047
Handle mlme_vdev_reconfig_notify callback to get notification
after receive the first ML reconfig link removal IE.
Override the delete timer tbtt to 0 to fire the timer early
if timer is less than 1s. This is to avoid host delay of sending
to link inactive command to FW and FW receive deauth before host
inactive link command.
Change-Id: I7865b7942813fd7facf4daa8624c976166814311
CRs-Fixed: 3380147
Handle link removal for ML STA vdev:
Send force link command to target if MLO STA link number > 1.
Select other inactive link to active if possible.
Change-Id: I40567364ad240399caf6be6683b96d17f6a4aab0
CRs-Fixed: 3352849
Process MLO Reconfig IE in beacon for link removal with common
api mlo_process_ml_reconfig_ie.
Change-Id: Ie1206794944d7979170a78c895b5b1c4ae45597f
CRs-Fixed: 3352907
Incorrect parameters exist in TWT documentation. Correct parameters
to match function.
Change-Id: Ida1c223b8e5735cc9126f321142218d56716d4be
CRs-Fixed: 3414468
Few of the CE descriptor related macros are moved from qdf to
ce_internal.h file. Hence rename the corresponding macros.
Change-Id: I64b74456fb3f349ab65b3c955461ef3693ca318d
CRs-Fixed: 3388380
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
trigger reason, trigger condition, abort reason,
scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
number, dwell type, max dwell time of each channel
and total scan time.
3.all types of roam related frame information, include
timestamp and successful or failed status for Preauth,
Reassoc, EAPOL-M1/M2/M3/M4.
Change-Id: I2a694b7c1df8f5da09505f65c9c797be2177b398
CRs-Fixed: 3391601
This change disables IPA offload and optional
wifi datapath feature. This change will be used
until kernel changes are merged.
Change-Id: Ib47d69ba8da2e1fa3f0a1bd05926bbf3d74f51e4
CRs-Fixed: 3401190
Currently when packets are routed from IPA to
HOST via the exception path, the system encounters
a use-after-free crash. This change eliminates
the access of nbuf pointer after being freed in the
hdd_ipa_send_nbuf_to_network().
Change-Id: Ib126ac9092562067cb8eeb2b1d6464941111796c
CRs-Fixed: 3410414
Currently, while fetching pcl for some vdev id, host driver retrieves
the number of ML connection and provide as max index value for vdev list
and info array. This max index can't be more than
MAX_NUMBER_OF_CONC_CONNECTIONS from functionality perspective.
But static analyzer tool complains that there are chances for out of
bound access of the given arrays while filling the indexes.
So, to fix this, add checks to avoid any such possible out bound access.
Change-Id: I09261e23620df5fc73887c9e5633b408afa66796
CRs-Fixed: 3412348
Currently vdev set parameters sends through
wma_cli_set command, during processing of cli_set command
some vdev set params stores in vdev_cli_config
For remaining params printing invalid
which creates confusion.
To fix this modify debug print to param is not part of
vdev_cli_config to avoid confusion.
Change-Id: I5644adfe6d7cff61b09a6191813109877c378fdd
CRs-Fixed: 3412198
Extend WMI_ROAM_STATS_EVENTID event information for
requirement of:
1.Roam trigger related information, include timestamp,
trigger reason, trigger condition, abort reason,
scan type, roam status and fail reason.
2.Roam scan related information, include scan channel
number, dwell type, max dwell time of each channel
and total scan time.
3.all types of roam related frame information, include
timestamp and successful or failed status for Preauth,
Reassoc, EAPOL-M1/M2/M3/M4.
Cache roam information in wlan driver, when qca vendor
cmd of QCA_NL80211_VENDOR_SUBCMD_ROAM_STATS get roam
information, driver send all the cached information to
user space.
change-Id: Ic5e1120b51c20c103100833b4296002c5939b021
CRs-Fixed: 3389269
When EasyMesh controller steers client from AP in EasyMesh controller
to AP in EasyMesh agent, EasyMesh controller will add this client to
blacklist ACL of its AP, then send BTM request to this client. When
client is added to ACL, deauth is not expected since EasyMesh controller
would like client to do roaming with BTM request.
Add new ACL command for EasyMesh. Do not deauth station when add station
to ACL or delete station from ACL.
Change-Id: I499c69108259799a9f0742d1371a666f2b3bbed1
CRs-Fixed: 3408175
As per current logic previous N-1 frequencies are passed by caller
to validate considering the current frequency as Nth freq. But
instead of comparing previous_n_freq - 1, index - min_index
is compared with previous_n_freq . Due to this current frequency
will not be selected as best frequency even if previous 3 or 4
freq depending on BW are free.
Fix is to pass previous N frequencies based on BW instead of N-1 and
compare index - min_index < prev_n_freq.
Change-Id: Ib78a6774f8d33b264fa2941255f043ea76c6e08b
CRs-Fixed: 3409806
If wlan_hdd_get_sta_stats() is called with non-assoc link's
peer MAC address, it will fetch link adapter with that BSSID.
Link adapter doesn't have pointer to partner link's adapter
and wlan_hdd_mlo_update_stats_info() cannot return the best
RSSI and SNR among all the links.
In wlan_hdd_mlo_update_stats_info() API, if link adapter is
passed to get the best RSSI and SNR of all links, then first
fetch ML adapter to loop through all the link adapters.
Change-Id: I33090fecfa0a20221fc8c465ad9f36f3eb941e60
CRs-Fixed: 3399641
The cfg80211 callback for get channel is returning invalid
channel in case of SAP as the check for is vdev associated
will return false for SAP mode.
Keep this check only for STA mode only so SAP can return
the valid channel in get_channel callback.
Change-Id: I5a03626291f0e20c8e07ae8fde48cb9eacafb2e4
CRs-Fixed: 3410453
Host receives channel list via an event
WMI_ROAM_SCAN_CHANNEL_LIST_EVENTID as
getroamscanchannels command response on disconnection.
Host sorts the channel list in descending order before
sending the list to the supplicant. As per current
logic, the host fills only the value of LSB for the
second channel onward. This results in host respond
the RCL list with an invalid format of frequencies
to the upper layer.
Fix is to make sure the host should respond RCL list
with the correct format of frequencies.
Change-Id: I1670ec4a99a7c9c7c438c430a9476802f8af83ce
CRs-Fixed: 3397397
Currently, while processing EHT protected action frames for action
id as EHT_T2LM_REQUEST, driver takes the peer reference but never
release it. This causes peer leak.
So, to fix this, release peer reference if peer is not null.
Change-Id: I826bfff3510e3b6ea4ce63762cac4bfc689dad4f
CRs-Fixed: 3406567
Currently, if Channel change is required via DCS then ACS
is triggered to select the best available channel . In case of
XR SAP optimization, SAP can not come on 2 GHz and frequencies
that can be shared by current SAP frequency on same MAC are
removed from scan list. As result of which frequencies
5/6 GHz in case of DBS and 5 GHz low/5 GHz high + 6 GHz based
on which 5 GHz range is shared with 2 GHz will be disacrded from scan
list. In short Scan can not be triggered on freqeuncies of same MAC
on which SAP is up and can not come in MCC. So, if any other device
mode is up on 2 GHz on other MAC turning on SAP on other MAC can
cause MCC in case of SBS and DBS HW which is not preferred.
Fix is to start SAP on random 6 GHz channel when case CSA is required
due to DCS in case SAP can't come up on 2 GHz and scan can not be
triggered for same MAC on which SAP is enabled i.e ACS optimization
is enabled for XR SAP.
Change-Id: I0cb46a409e3ee04044f7a0b12addec464e87ef7d
CRs-Fixed: 3404097
Indicate AP profile to FW , so that FW can
keep HW mode as SBS mode if BIT 0 is set in
param of vdev command.
Change-Id: I9ba024d11380590a31836ab468715e0b52c83fe8
CRs-Fixed: 3401583
Change absolute path to relative to fix below compile
issue for yocto system:
make[4]: /bin/sh: Argument list too long
And just need to do like this in the bb recipes files:
1. set LINUX_BUILD_TOP="${WORKDIR}/WLANSRC"
2. keep WLAN_ROOT=""
Change-Id: I2f03eb9aa5501eae887b41b4e6a134b55da16462
CRs-Fixed: 3408645
Fix EHT capability IE get and set macros. The EHT capability
element set and get macros for subfields
max_a_mpdu_len_exponent_ext, eht_trs_support, and
txop_return_support_txop_share_m2 use byte index 0. Thus,
these values are not populated correctly into EHT cap
structure that is sent via probe request frames.
The macros are fixed to use byte index 1 since the above
subfields are part of the second octet in EHT cap element.
Change-Id: I1a60f460c84b2678d729e7cd16e35777f0462bd5
CRs-Fixed: 3392063
Add support to configure EMLSR padding delay subfield.
Host should advertise this value in assoc request if
it's greater than the value configured by FW during boot.
Change-Id: Ia9b1e748745278ed502980697f4851f8044db658
CRs-Fixed: 3364158