In addition to actually registering with wireless extensions,
hdd_register_wext() initializes data structures associated with the
STA's roam profile. Since roam profile initialization is independent
of wireless extensions, refactor all of the roam profile
initialization code out of hdd_register_wext(), and relocate it to
wlan_hdd_assoc.c.
Change-Id: Ibd19b02373694b169ba9c122c812a264e6b8a63b
CRs-Fixed: 2212067
Correct wrong EID in wlan_hdd_set_sap_hwmode.
It should be WLAN_EID_SUPP_RATES.
Change-Id: Ic80f8b6bd32cc681ca5ae86c4cedf8435239350c
CRs-Fixed: 2204402
Update wiphy with feature to modify dwell time
and DBS scan based on scan request from cfg.
Change-Id: I23498799c05a252cbc9c9f6d50b847130dd0ceac
CRs-Fixed: 2197172
Support for standard wireless extensions has been removed from the
driver so remove the (now empty) dispatch tables as well.
Change-Id: I274906978302c029e4132cd119cefe5b02074a55
CRs-Fixed: 2211125
Previously the INI item standard_wext_control was used to control
whether or not standard wireless extensions (wext) ioctls were allowed
to be called. But since they were obsolete, all support for standard
wireless extensions ioctls have been removed from the driver. As a
result this INI items is also obsolete, so remove it.
Change-Id: I608f54fc13df691fe3d3774fdecdbfa9e0b553f8
CRs-Fixed: 2211124
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
SAP implementation of SIOCGIWFREQ should no longer be used, so remove
it.
Change-Id: I2d0205a854c6216ef36274954027c3d383deea39
CRs-Fixed: 2211123
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWNAME should no longer be used, so remove
it.
Change-Id: Ic2c5d20fe3837d0481b4ef2f936e22c6ba867ec8
CRs-Fixed: 2211122
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWRANGE should no longer be used, so remove
it.
Change-Id: I428e350e43cae5b8a67e8edfedc156102d9d7e3c
CRs-Fixed: 2211121
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWCOMMIT should no longer be used, so
remove it.
Change-Id: Id5bceb081666f5f396765ac01ab6d4ee532719b5
CRs-Fixed: 2211120
None of the data items contained in struct hdd_wext_state is actually
unique to wireless extensions(wext) -- cfg80211 also uses these data
items. Since all of these data items are now being accessed by
accessor functions, rename and relocate them to struct
hdd_station_ctx.
Change-Id: Icfdde73ed3f01fb1c48105e0728f610fe1d94717
CRs-Fixed: 2208687
Currently HDD maintains an auth key management bitmap as field
authKeyMgmt in struct hdd_wext_state utilizing bitmaps defined by
wireless.h. This current implementation suffers from the following
issues:
- The implementation is independent of wireless extensions so it
should not use wireless.h definitons or be stored in a wext-related
data structure.
- The name uses camelCase which is inconsistent with the Linux coding
style.
To address these issues define a new set of bitmps along with a
properly named field located in struct hdd_station_ctx.
Change-Id: I0d1c66236f88b7e6486b2d03c3383ef38f80c134
CRs-Fixed: 2207904
There is a race condition between complete wait events as part of fw_down
indication and wait for timeout of stop_bss_event during stop_ap.
When stop ap and SSR runs parallel, first as part of SSR, fw_down
indication comes and all the wait_events are getting set. After this
as part of SAP stop, driver is waiting for stop_bss_event which will
be never set as fw_down indication is already processed. Timeout of
stop_bss_event is much higher than the timeout of wait-for-external-
thread-completion during shutdown, hence shutdown will proceed without
setting the stop_bss_event. Now as part of the SSR, hdd_re_init gets
invoked and the memory of the hdd_hostapd_state (and as part of this
memory of stop_bss_event) is getting memset inside hdd_init_ap_mode.
After this memset the timeout of the stop_bss_event occurs and
stop_bss_event tries to access this memset memory.
To address this issue, all the events which were added in between fw_down
indication and shutdown process, should be completed as part of
the shutdown.
Change-Id: I022f125b2afc99862351407b140f2d1b72f43bc4
CRs-Fixed: 2206326
As center_freq1 and center_freq2 passed in bss start params
by hostapd are not stored in sap_config, center_chan derived
in sap_ch_params_to_bonding_channels() is coming 0. And so BSS
start failed.
Store center_freq1 and center_freq2 in sap_config in
__wlan_hdd_cfg80211_start_ap().
Change-Id: I3a5869c2d8488a5bd272762b8dab67b340d72817
CRs-Fixed: 2193663
IPA module has been moved to CLD component under the converged
driver model. Move the legacy HDD IPA SMMU functions to the
IPA component.
Change-Id: I3ac5ebe87cc48913f3e8e075e60737e78664f861
CRs-Fixed: 2177925
IPA module has been moved to CLD component under the converged
driver model. Move the legacy HDD IPA WLAN event handler to
the IPA component.
Change-Id: Ia53adce7ef29eea747f288fa074f96a84e47925d
CRs-Fixed: 2177925
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA UC offload initialization to
the IPA component.
Change-Id: I221a11e7f8aa2459918f87c6b043d4682e05cb04
CRs-Fixed: 2177925
As part of converged driver model remove IPA from
HDD and create a new IPA CLD component. Remove the
legacy code from the HDD.
Change-Id: Id4691e0f490c2f9bd9ccc8d5225be32002a5df9e
CRs-Fixed: 2177925
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA stats and debug info APIs to
the IPA component.
Change-Id: Ieb68a1579986c835f66c84e5e3b7aa2a4004383d
CRs-Fixed: 2177925
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA set perf level APIs to the IPA
component.
Change-Id: Idbbab9cc6885b6acf1cd40d432a236f0629c8dff
CRs-Fixed: 2177925
IPA module has been moved to CLD component under the converged
driver model. Move the legacy IPA setup and initialization code
to the IPA component.
Change-Id: I63717eb2601c569131c6642f7330e4182e604424
CRs-Fixed: 2177925
As part of converged driver model remove IPA from
HDD and create a new IPA CLD component. Add files for
IPA core, dispatcher and target_if. Define IPA related
public and private structures.
Change-Id: I8848331edc7dd878f9fc51ef9f5e311ad91ed70b
CRs-Fixed: 2177925
Update wlan_hdd_wext.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: I0b7998f674fae9b021b2f5c4d5911b930ed40a39
CRs-Fixed: 2207896
Update wlan_hdd_scan.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: I0aec410024263a2f44b79cbcb5f49b3347a5b46f
CRs-Fixed: 2207895
Update wlan_hdd_power.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: I1d7be21fa5bec21f9502e7c078360d72fc426a6d
CRs-Fixed: 2207894
Update wlan_hdd_nan_datapath.c to use the recently introduced roam
profile accessor function hdd_roam_profile().
Change-Id: I442aa7a4ea62f8a5105ed7d7783394f883d5f215
CRs-Fixed: 2207893
Update wlan_hdd_main.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: Idfb20fbf55c45051e8e67d6a2a746e44c5176ff3
CRs-Fixed: 2207892
Update wlan_hdd_ioctl.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: I6a535f56ed93ebbeb77d3b23f21562e8cd1beb1e
CRs-Fixed: 2207891
Update wlan_hdd_hostapd.c to use the recently introduced roam profile
accessor function hdd_roam_profile().
Change-Id: Ieb772ec0b851d9a036f01f5002f35033c628d8db
CRs-Fixed: 2207890
Update wlan_hdd_cfg80211.c to use the recently introduced roam profile
accessor functions.
Change-Id: I7170a1c8c3d499fd84c5187ea5f3097c5c566c35
CRs-Fixed: 2207889
Update wlan_hdd_assoc.c to use the recently introduced roam profile
accessor functions.
Change-Id: Ie74414bf0038ae8f12e18c8bc13de48c3e37f8a5
CRs-Fixed: 2207888
Currently the roam profile associated with an adapter, along with two
accessory buffers, are located within the adapter's hdd_wext_state
structure. However the roam profile is independent of wireless
extensions (WEXT) support, so there is a plan to relocate these
structures. In order to facilitate this relocation first introduce
accessor functions.
Change-Id: Ifdec89d3b529eb50042b08b31615854791024e4d
CRs-Fixed: 2207887
Send NUD failure event to diag only when ARP tracking
is enabled, otherwise ignore.
CRs-Fixed: 2178801
Change-Id: I9296df8461671f46d6d90c510a6d47c0d3c13d5c
Several logs are using QDF_TRACE with QDF_MODULE_ID_HDD directly.
Migrate these calls to the hdd_* logging wrappers instead.
Change-Id: I191014f0fd1ae55db71393655d96407ffa5953cb
CRs-Fixed: 2209514
WLAN TX/RX connectivity stats are supported only
for STA mode. Host driver does not honour set/get
connectivity stat command for mode other than STA mode.
Change-Id: I0a96562478ede38321a1e323fb798b7e414b5f59
CRs-Fixed: 2195563
In order to better align with the rest of the driver, rename the
following macros:
* ENTER -> hdd_enter
* ENTER_DEV -> hdd_enter_dev
* EXIT -> hdd_exit
For part 5, remove the original macro definitions
Change-Id: Ic456c9ded0006989410bd7b2a318f4583c99f54b
CRs-Fixed: 2205851
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level-
specific logging wrappers to support compiling out entire levels of
logging messages. Migrate the HDD logging wrappers to consume these
new APIs instead of QDF_TRACE.
Change-Id: I20dd9e4844ef9b2170cee0297ef52fd4d27780ff
CRs-Fixed: 2208572
Change Ie062ada403f8a31aebcde691396987ad9e5352b5 introduced level-
specific logging wrappers. Instead of using QDF_TRACE_RATE_LIMITED
directly, use the level-specific versions.
Change-Id: I21b47f443ae53d1780fd21e352f69b0ea48ae726
CRs-Fixed: 2208563
Do not clear all the stats at one shot. Clear based on the
packet bitmap received from the hal-proxy daemon.
CRs-Fixed: 2176078
Change-Id: I5ce671e52cd51b073a4bc5f2481888fbe8ad1443
Extend to collect connectivity check stats other
than ARP such as DNS, TCP SYN/SYN-ACK/ACK, and Ipv4.
Add extra attributes in existing vendor command(set/reset
and get NUD debug stats) for above connectvitiy stats.
CRs-Fixed: 2161889
Change-Id: I037c4ec29b181a0b3117ae2abbc7a2229b373ac2
In order to better align with the rest of the driver, rename the
following macros:
* ENTER -> hdd_enter
* ENTER_DEV -> hdd_enter_dev
* EXIT -> hdd_exit
For part 2, migrate usages of ENTER
Change-Id: Icd1588b7d2474beaa4a86f5b6dd02ce915386d4e
CRs-Fixed: 2205838
Currently even if IPA HW support is not there during load
HOST is checking for SMMU enable status which returns error.
As a result driver load fails. So check for IPA HW support
before checking for SMMU enable status.
Change-Id: I5705f98f88d495b100af7cb2b3d2ad40e7030a8d
CRs-Fixed: 2185620
Update WLAN-IPA WDI-2 datapath buffer sharing for SMMU Stage 1
translation support. When SMMU Stage 1 translation is enabled
DMA APIs return IO virtual address(IOVA) instead of physical
address. This IOVA need to mapped to physical address by IPA
module before accessing them
Change-Id: I969ad020d5b423c785539f346286b212ea5830a1
CRS-Fixed: 2072960
Update WLAN-IPA datapath buffer sharing for SMMU Stage 1
translation support. When SMMU Stage 1 translation is enabled,
DMA APIs return IO virtual address(IOVA) instead of physical
address. This IOVA needs to be mapped to physical address by IPA
module before accessing them.
Change-Id: I6b24cde7b7805395053a8fd8f9afbad202e6105f
CRS-Fixed: 2072960
When enable DFS scan via wpa_cli, the related flag in mac context
also need to be updated so that DFS channels will be included in
configurations sent to FW accordingly when DFS scan is enabled.
Change-Id: I6033637364ddbc7e916627e5ab6a94aee825db98
CRs-Fixed: 2201307
QDF_TRACE_RATE_LIMITED recently lost its 'rate' parameter in
I31a3f48f68fb6bc67f59f3157a635345943d3331. Update call sites to account
for this change.
Change-Id: I301a36a445be4ecc3e1d24e007d7ca6f05898fc5
CRs-Fixed: 2205796
In hdd replace typedef tCsrRoamProfile with struct csr_roam_profile to
align with the Linux coding style.
Change-Id: I38959a6dadc7f1816548f2fa1c4b404e57070590
CRs-Fixed: 2206694