Currently hdd_parse_user_params() has a few places where it is not
compliant with the Linux coding style, so refine the code.
Change-Id: Ic18e1dfd82e4a8d820fb871801ead464bc146d04
CRs-Fixed: 2407327
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable dataEnd to be compliant.
Change-Id: If3f44f677eb14849b0935463f7fa0d05565028b3
CRs-Fixed: 2407326
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pBuf to be compliant.
Change-Id: Ie24b53fc3efaa8d0940a369a97ebec4ed434457e
CRs-Fixed: 2407325
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pBufLen to be
compliant.
Change-Id: Id9031a9bda31d838f0fd095dcda6ad1a00685f84
CRs-Fixed: 2407324
The Linux Coding Style frowns upon mixed-case names so rename HDD
local variable rateUpdateParams to be compliant.
Change-Id: Ie46a322046ce864d9c6dcfcb5057e92d99c6a570
CRs-Fixed: 2407323
As a result of configuration convergence the local variable pConfig in
wlan_hdd_set_mc_rate() is assigned but never dereferenced. Since this
is obsolete, remove it.
Change-Id: I8f23fe4ce89a0946e9a3a307fa8451646f0c76d6
CRs-Fixed: 2405775
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pRate to be
compliant.
Change-Id: Ib17924063a07ccdace7ece61c4683937500c2387
CRs-Fixed: 2405774
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pRateStats to be
compliant.
Change-Id: Ic617f9a67fdf336c09a1292248676d377fbfc7f3
CRs-Fixed: 2405773
Host presently stores NAN Peer specific info, such as number
of active NDP sessions, in an array inside vdev private object.
The array uses Peer index from HDD connection info. Instead,
use object manager to define peer private objects to store
this information.
Define NAN peer objects for storing NDP Peer info
Change-Id: I43d9339d06acc0eff61cafb337ccb084c372c7e1
CRs-Fixed: 2405507
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
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
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
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
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
Rename the osif_*_sync_create_with_trans() to a slightly more
appropriate osid_*_sync_create_and_trans(), to help convey the fact that
the transition does not end when the function returns.
Change-Id: I5606fb613d786d65de773dae49fe8ad431b5342f
CRs-Fixed: 2406713
Remove logging of Rx drops due to gratuitous_arp and multicast_replay
packets. Add separate stats counter and log it part of periodic stats.
Change-Id: Ib70505bbb8e6b2d363e04493f9e3d2d99e417e8d
CRs-Fixed: 2403211
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
calls with appropriate osif_sync op start/stop calls in IP address
change handlers.
Change-Id: I1e274fdda7465582046bcfd5266c242265328efd
CRs-Fixed: 2406548
As part of DSC integration, replace remaining cds_ssr_protect/unprotect
calls with appropriate osif_sync op start/stop calls in spectral scan.
Change-Id: I6a2f221aea47b31a0926e64f614999452d21a9f0
CRs-Fixed: 2406599
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pValue to be
compliant.
Change-Id: Id61c93b87a05d8207ff828728a47bc268d3b1235
CRs-Fixed: 2405755
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pUserData to be
compliant.
Change-Id: Ia6e960b2666ef2dc958cdc97cef0b525cfa9e58d
CRs-Fixed: 2405754
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pPeerInfo to be
compliant.
Change-Id: I1b8eb881e6c5fc164a587ba6305bbdf22002d865
CRs-Fixed: 2405753
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD local variable pStaCtx to be
compliant.
Change-Id: Ief8942a12c802720d5eb2819e85eb895c6d8df40
CRs-Fixed: 2405752
Currently wlan_hdd_set_filter() uses sessionId as a parameter name.
In order to align with converged naming, and to adhere to the Linux
coding style, change this to vdev_id.
Change-Id: Icf284b27bf72df0bac1c3b7a2a60b5a7129b49e5
CRs-Fixed: 2404328
Introduce new CSR auth type eCSR_AUTH_TYPE_FT_SAE to support the
akm suite selector 00:0F:AC-09(FT-SAE) and 00:0F:AC(FT-Suite-B).
Based on the sta_ctx authType, rsn auth type and hdd key
management type, set the auth type eCSR_AUTH_TYPE_FT_SAE to the
roam_profile during initial connection.
csr_scan_get_result() pushes the scan filter to scm module.
Translate the legacy eCsrAuthType to wlan_auth_type and push it
to the filter->auth_type.
Change-Id: I3ab91799ac280b85cdd67ad26b0eb7519d3b8b14
CRs-Fixed: 2400679
When receiving assoc request from OWE STA, always send update OWE
info event which contains the following information:
- MAC address of STA
- RSN IE in assoc request
- DH IE in assoc request
Change-Id: I7017c5d2730e493db2472ae53d5dfa69553cfe45
CRs-Fixed: 2396925
Incase there is a scan for ssid failure connect_timeout is set to
true even when there is no BSSID has been found in the scan result.
Set the connect_timeout to false for the cases wherein there is a
scan for ssid failure.
Change-Id: I822371bbbe2a034b673798b28c993ba53468aa49
CRs-Fixed: 2404646