Change I16679abc7b3b61e6814fc1b0f13c6bc0e0fb7a39 ("qcacmn: Replace
session_id in roam_scan_filter_params") is renaming the legacy
identifier session_id to vdev_id, so concurrently change the usage in
the legacy project.
Change-Id: Ibeab45d4badbeda6baec6a53ab4ec561dd70ccd9
CRs-Fixed: 2407403
With the recent addition of osif_driver_sync APIs, DSC use is abstracted
behind a common interface. Migrate HDD to the new interface by updating
driver transitions to use the new APIs.
Change-Id: I394f007dd5485cd8d22aee84af74f8854ed54bb6
CRs-Fixed: 2408211
To bring OSIF driver synchronization in line with recent VDEV and PSOC
enhancements, add osif_driver_sync APIs. These allow for atomically
acquiring the driver synchronization context, and protecting various
call flows via DSC primitives.
Change-Id: Iba8df54bb1a3894118adf3daf1d0de8a554284ae
CRs-Fixed: 2408210
A previous change (Ibe982d1b52647b78dbcdbc2f9dcef609a6b2c02d) introduced
forward declarations in hdd_main.c. Move the relevant logic so as to
avoid needing these forward declarations.
Change-Id: I2bbd95a7eb51e8288eeb121923e9cecc7e238886
CRs-Fixed: 2408209
A kernel module parameter's change callbacks can be invoked before the
module's init function has completed. In the Wlan driver, this leads to
a race window where the driver's mode can be modified before it is safe
to do so. Abstract the driver mode change logic behind a callback
registration mechanism that allows the driver to opt into handling the
driver mode change once it is safe.
Change-Id: Ibe982d1b52647b78dbcdbc2f9dcef609a6b2c02d
CRs-Fixed: 2408208
During roaming, the firmware updates the host driver without
the next erp sequence number. Currently the host driver updates
the erp sequence number in roam info without checking if the
connection is FILS connection. This results in potential NULL
pointer dereference in case of non FILS connection.
Add check to see if session->pCurRoamProfile->fils_con_info is
not NULL before updating the erp sequence number.
Change-Id: I96541528d179b2b895a3f7f581e073e04bce76af
CRs-Fixed: 2405492
Previously I06f948d8de4b8a98bfe66e18ae38b1040204fdb4 ("qcacld-3.0:
Replace wlan_hdd_validate_session_id()") replaced all instances of
wlan_hdd_validate_session_id() with wlan_hdd_validate_vdev_id().
However this change left behind the wlan_hdd_validate_session_id()
macro. Subsequently I7584fb5db036d1643bd7d56076d30a0c75008a98
("qcacld-3.0: Handle OWE info update from hostapd") added a new
instance of invoking wlan_hdd_validate_session_id(). So rename the new
instance, and remove the macro to prevent the addition of any future
instances.
Change-Id: I132a749d2f694b44296a44f2aa31e9aec5f0878f
CRs-Fixed: 2408166
In hdd_tx_rx_is_dns_domain_name_match, during strncmp for
domain_name and dns_payload there may be possibility to access
data more than skb->len if track_dns_domain_len is corrupted.
Add a check to verify if track_dns_domain_len during strncmp
is within skb->len to avoid OOB.
Change-Id: If936272a1b57c9239d4817e99d8bebdbc120fd20
CRs-Fixed: 2368165
Chk frame member of the tdls_mgmt_req is declared locally inside of
the local function wlan_cfg80211_tdls_mgmt and address is copied
in the mgmt request, and posted to scheduler thread.
But, the validity of the chk frame variable is lost once returned
from the wlan_cfg80211_tdls_mgmt function. And the chk_frame
is used when processing the tdls_mgmt_req in scheduler thread.
And the stale data of chk_frame can be used.
Hence, make the chk_frame as a variable instead pointer inside
tdls_action_frame_request request.
Change-Id: Ib2a8a81e8f6db5550b1d0abee31d9f7ea5dacd9b
CRs-Fixed: 2402124
Remove message LIM_MLM_REASSOC_REQ. lim_post_mlm_message is calling
the API lim_process_mlm_req_messages and not posting.
So, in the Ieefbcf0a28867be3c8a86d9a912143857c54fe06
LIM_MLM_REASSOC_REQ is replaced by directly calling the API.
Change-Id: Id8c4460058ebca7e12daa1a60afaa578b8aa5cc2
CRs-Fixed: 2396477
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
with appropriate osif_sync op start/stop calls in PLD callback handlers.
Change-Id: I60c5b41635a861f1e7cbf7e2f14a33d1d95a7bea
CRs-Fixed: 2406534
Function csr_send_assoc_ind_to_upper_layer_cnf_msg() currently uses a
combination of direct structure writes and serialized buffer writes to
fill the eWNI_SME_UPPER_LAYER_ASSOC_CNF message. Bring this logic up
to date by removing all serialized buffer writes and exclusively use
direct structure writes. In the process rename all function params and
local variables to be compliant with the coding style.
Change-Id: Ib9a986bcb1928b7d586a820521a72879f780be57
CRs-Fixed: 2406618
Change I20cf9f54a7ec920a90575ffd73c51708414d46a0 ("qcacld-3.0: Use the
redesigned STA keepalive interface") updated the manner in which STA
keepalive parameters are passed to WMI. Unfortunately that change
introduced three instances of qdf_mem_copy() where the source pointer
may be NULL, so update that logic to test for NULL before performing
the copy. In each case the destination buffer will remain zeroed if
the source pointer is NULL.
Change-Id: I24aaad82bb73dba37297ac17b21f758da16617b4
CRs-Fixed: 2407449
If ACM is off and can't send AddTspec too, we should
be still ok to send uapsd info to AP via reassoc req.
If roam offload is enabled, when csr_reassoc is called, vdev
start cmd is sent during vdev started status, assert will happen.
Fix: call sme_fast_reassoc in sme_qos_request_reassoc to invoke
LFR3 roam if roam offload supported.
Reproduce steps:
1. Change ini: gAddTSWhenACMIsOff=0
2. DUT STA connected AP
3. iwpriv wlan0 addTspec 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Change-Id: Idbd53ff0af36cb3b68c514e399d0033c41c74a78
CRs-Fixed: 2402542
Add the support to allow user space applications through cfg80211
vendor command to check if wlan firmware is alive or not.
Change-Id: I96bb16e01974f7689493577741a36e3832963996
CRs-Fixed: 2399508
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pRmcEnable to be
compliant.
Change-Id: Id5c57e4c2bb01415d2315ad0043105fed16a6bcc
CRs-Fixed: 2405772
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable targetApBssid to be
compliant.
Change-Id: I49f3480e3ab40f1a582cef8cbf4164b7a76d926b
CRs-Fixed: 2405771
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable cckmIe to be
compliant.
Change-Id: Ic02fa6f44f859543905213e67ef7e1d0a08f619b
CRs-Fixed: 2405770
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable cckmIeLen to be
compliant.
Change-Id: Idcc7bf6cbd65b2c68942ab163e73b6c94691b8c0
CRs-Fixed: 2405769
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pCckmIe to be
compliant.
Change-Id: I93e0dae41ee2346c20da21f5f134daebb0bfe1bc
CRs-Fixed: 2405768
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pCckmIeLen to be
compliant.
Change-Id: Iaff516cbe9b5b34d3f2949cd077f81797374873f
CRs-Fixed: 2405767
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pTxPower to be
compliant.
Change-Id: Iff5671598d611a1d25685a2ef916141413e731e4
CRs-Fixed: 2405766
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable cmdPtr to be
compliant.
Change-Id: I271d6056adc193a596566f4bd50a7e53fdf9bc10
CRs-Fixed: 2405765
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable inPtr to be
compliant.
Change-Id: Ib5c6ed64f41f6f1eea9cc3c8241c941b18565372
CRs-Fixed: 2405764
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pPeerMacAddr to be
compliant.
Change-Id: Ifa0d639c2346ace4fced4420934f47f07352c8b0
CRs-Fixed: 2405763
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pChannelList to be
compliant.
Change-Id: I865feb3294644a6c6d8342fef1baeda5d080da10
CRs-Fixed: 2405762
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pChannel to be
compliant.
Change-Id: I8dcb09f5629880694d6446d3944d4584aa57f1bb
CRs-Fixed: 2405761
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pTargetApBssid to be
compliant.
Change-Id: I976939bf9093d3f5a1bdd523090cc659cd15864a
CRs-Fixed: 2405760
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pDwellTime to be
compliant.
Change-Id: Ifad1ba3569292b22b4f974a6e0685ce4462d4e70
CRs-Fixed: 2405759
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pEseBcnReq (used by both HDD and SME) to
be compliant.
Change-Id: I377e1c4ff65bafeba403aa87a6542891f03bb2ba
CRs-Fixed: 2405758
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pPlmRequest to be
compliant.
Change-Id: If4f3eaca226356eb120f13ff1d280ab8af38add4
CRs-Fixed: 2405757
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variables pTxFlags and txFlags
to be compliant.
Change-Id: I737a9477958858cd3310b9c6104172fbe6340249
CRs-Fixed: 2405756
Currently, INI gSkipDfsChannelInP2pSearch is initialized in P2P
component and later copied to scan component for usage.
Since this INI is only used by scan component and not the P2P
component, move the initialization part also to the scan
component.
Change-Id: I44a6208ab5f3ee062073550143e23e5800342376
CRs-Fixed: 2405395
rssi_disallow_bssid could be accessed from different thread,
mutex protection is added to avoid node invalid access when
node has been deleted or updated.
Change-Id: I2b19d48f19a3da55030384f26c501aee283801c7
CRs-Fixed: 2405157