Currently with CONFIG_WLAN_FEATURE_FILS set to n in Kbuild,
compilation issues are seen in the function hdd_save_gtk_params
due to usage of fils related structure without the compilation flag
checked.
Add new definition for the function hdd_save_gtk_params to fix
compilation issues with hdd_save_gtk_params set to n
Change-Id: Iab96c97df50f50c601ba52060440668373f74744
CRs-Fixed: 2111640
Currently the debug logs print only the KEK, KCK and other
keys during FILS Roam sync indication from FW to Framework.
Add additional debug logs to print Next ERP Sequence Number
from the firmware during roam sync indication to Framework.
Change-Id: I3df03cd3d426ffa18e021a45d95edb3148838858
CRs-Fixed: 2106552
Currently, wmi_service_bitmap field in WMI_SERVICE_READY_EVENT is
exhausted. WMI_SERVICE_AVAILABLE_EVENT is available for upcoming
capability intimations.
Add service_available_event handler in host driver to extract
FILS roaming capability of fw. Based on this capability only,
send RSO, update connect params, HLP IE commands, GTK offload
are sent to fw.
Change-Id: I320ba86d29109d8cba23830ef9cb5e159792f19a
CRs-Fixed: 2094229
Currently, driver sends add/delete pmksa entry to fw
whenever supplicant sends set/delete pmksa to driver.
Add support to flush all PMKSA entries as well.
Change-Id: I044a25b071cab5c156b41bcaab338328b5439d64
CRs-Fixed: 2094257
Currently, in host driver, FILS Keys(PMK, KEK, ICK) are
printed in debug logs.
Remove all the Key dumps added as part of FILS.
Change-Id: Iafdd556b5c547d5d8f8184a33c0d2fad40cb96d0
CRs-Fixed: 2095631
Add FILS roaming support changes as follows:
- Update ERP info in RSO Start
- Update HLP info in a new command WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID
- Set/Delete PMK cache info with WMI_PDEV_UPDATE_PMK_CACHE_CMDID
- Process FILS TLV in Roam Synch Indication and update the FILS info
[seq number,PMK, KEK, realm] to Supplicant.
Change-Id: I78c3bdde080701deb8d2bdb92d8d57d18cceb864
CRs-Fixed: 2081252
Currently BcnNumIes is uint8_t, which is used to hold ie length,
and it cannot be used to hold if ie length is greater than 255,
it will wrap-around to zero or smaller number.
So change BcnNumIes variable type from uint8_t to uint16_t.
Also change to bss desc copy logic in
sme_rrm_send_beacon_report_xmit_ind function.
Change-Id: Ie92a9afbf6e3674a0730f5f48210424b1d34386d
CRs-Fixed: 2124579
Currently the "requested BSSID" is kept in struct hdd_wext_state. This
information is independent of wireless extensions, so relocate it to
struct hdd_station_ctx and rename it to improve readability and to
conform to the Linux coding style.
Change-Id: I3410103260d5be9cb405084f7f357fcfe08fb6f0
CRs-Fixed: 2128357
To reduce code size, remove legacy P2P codes in SAP layer. Remove
P2P files from Kbuild.
Change-Id: I83a704d3f03e9cb9e6a7420f32d609a323799a12
CRs-Fixed: 2111575
Introduce a new parameter in the ini file for the maximum
number of MSDUs per HTT_RX_INORDERIND message.
This parameter is now sent over to the FW through the RFS
configuration message.
Change-Id: Id0057861bc172a36483804170274b202198b6824
CRs-Fixed: 2106760
This reverts commit I3216a4c14ac624cc313d11226909efd4f63841d0
When alloccate free Tx desc list, Tx desc pool size is not initialized yet,
so tx_desc_size is set to 0.
This cause free Tx descriptor allocation failed.
Change-Id: I02ae2e59311e737dd9245228048d62f657d5b0d1
CRs-Fixed: 2085753
This change adds support for configuring voltage corner mode
thorugh INI parameter. User will provide a bitmap which will
be passed on to the FW during initialization. In this bitmap,
each pair of bits till BIT27 correspond to different phymode,
bw combination. Bit values signify voltage corner configuration.
Change-Id: I9e86d43079225b6f08fdd281c8f424b18abcffe9
CRs-Fixed: 2109884
The hdd_hostapd_state bCommit flag is a remnant from a prior version
of the driver. This flag is written, but never read, and hence
obviously has no purpose, so remove it.
Change-Id: If4fd93f474fcd6e01cdc51b1575a3509b538b504
CRs-Fixed: 2126889
Checkpatch reported the following issue, so fix it:
- ERROR:SPACING: space prohibited after that '*' (ctx:ExW)
Change-Id: I78a48d284d8b773a4a8c02f2196200f615836690
CRs-Fixed: 2126450
PMO resume timeout is 25 seconds which is too large
hence reduce PMO resume timeout to 6 seconds.
Change-Id: I9f29e136bc091ddd3ae2ca38a495edcbff6c1cb8
CRs-Fixed: 2128481
Remove P2P debug functions from legacy code and apply the new
functions in UMAC P2P component.
Change-Id: I1ff627a553108c74be144232fd0a0406d88de395
CRs-Fixed: 2105808
In WMI_SERVICE_READY_EVENTID, check for number of dbs HW modes against
the metadata.
Change-Id: I043c93c4e6bc0dfdd73dbdc65bab683c56269308
CRs-Fixed: 2119387
When receive STOP_BSS, send WLAN_CLIENT_DISONNNECT event send to IPA.
And upon receiving WLAN_CLIENT_DISONNNECT, check if all clients are
already disconnected to avoid redundant event processing.
Change-Id: Ibb3074cdaf65da9ea8c2032df86f9d66b2fce014
CRs-Fixed: 2096338
Propagation from qcacld-2.0 to qcacld-3.0
ipv4 and ipv6 workqueues are initialized in open adapter for STA
and P2P modes but not for AP mode. The workqueues are cancelled
in stop adapter. The cancel_work_sync may be called on AP adapter
workqueue also, if just in time, the AP adapter mode has changed
to STA mode, for example during hostapd stop etc. This can cause
the cancel_work_sync to continuously loop since INIT_WORK has not
been called, finally raising CPU stuck. There is no harm in calling
INIT_WORK on any workqueue since it only makes sure that in cases
as above there is no undeterministic behaviour.
Fix cancel_work_sync issues by initializing ipv4 and ipv6 workqueues.
CRs-Fixed: 2121723
Change-Id: Ief8dd0c797dd1492fa30ca4e41da9e583548e21d
__iw_softap_set_ini_cfg assumes a given user supplied buffer is null
terminated, which can lead to a buffer overrun. Ensure the buffer is
null terminated by copying it to a new, oversized buffer whose last byte
is zero.
Change-Id: If94e753026f79a368cd6b9cb7c745ade4ae29452
CRs-Fixed: 2118809
Netdev Tx/Rx stat counters doesn't reflect packet counter from IPA
offload data path.
Change to add Tx/Rx packet counts from IPA uC data path through IPA uC
stats query.
Change-Id: If80dee818e97f4f75407885c20ee9abf2257be7c
CRs-Fixed: 956283
The original version of the driver was based upon wireless
extensions. Later when nl80211/cfg80211 support was added, in some
cases data received with nl80211 semantics was converted to wireless
extensions semantics. One such data item is the WPA version.
Now that wireless extensions have been deprecated, it is desirable to
align on cfg80211/nl80211 semantics. Therefore now align on enum
nl80211_wpa_versions for maintaining the WPA version.
Change-Id: I2a0fb6996b42adfe6dec7c14493c2dc10f83230c
CRs-Fixed: 2126880
It doesn't record current scan request and won't cleanup being
process scan request. In some Rome platform, host driver just load one
time, scan request status mismatch to cfg80211 if didn't cleanup scan
request, and then cause crash.
Change-Id: I000db80bdf5175775f2415130ee3a2974aefa4ea
CRs-Fixed: 2111330
As part of configure default filters over suspend code
changes wlan module loading broken.
Fix the loading issue by adding the newly added files
to Kbuild.
CRs-Fixed: 2017259
Change-Id: Ib33efa8f7f5e2ca8d9734181df94f70557e9f9cd
In suspend mode multicast, broadcast packets wakes up host,
this leads to higher power consumption.
Add support to configure the IPv6/IPv4 multicast, IPv4 broadcast, XID,
STP, DTP/LLC/CDP packet filters based on ini bit map param, before the
device goes to suspend mode and clear the same filters in resume.
CRs-Fixed: 2011442
Change-Id: Ib355459132086902ba008f2abd17415a8f569b41
In Rome platform, it use invalid radio id in FW event
WMI_RADIO_LINK_STATS_EVENTID and cause crash. So check
radio id when handling this event.
Change-Id: Iadf61fbde53f80f1081da9a386cf13f0cce69e3c
CRs-Fixed: 2123782