Adds the following support:
1) Add FILS IE's to assoc request.
2) AEAD encrypt/decrypt the assoc request/response frames for FILS
3) Process/Verify the Assoc response for the FILS params
4) Plumb the Auth keys to firmware after successful FILS assoc
5) Update the user space with Auth key details
Change-Id: I57f6319cecdf10e08047b510321b885c3cd711b5
CRs-Fixed: 2030038
qcacld-2.0 to qcacld-3.0 propagation
In the current code, there is no log of rssi value in wlan_hdd_get_rssi.
To fix this, add print for rssi.
Change-Id: I7db04c7defd26d2cd9792e96805ff524d88bb9b4
CRs-Fixed: 2045201
During the driver unload driver de-registers the netdevices taking
hdd_init_deinit_lock and if any userspace entity trying issues the
interface taking the rtnl_lock resulting in the deadlock as one
thread is waiting for the rtnl_lock to be released taking the
hdd_init_deinit_lock and other thread is waiting for hdd_init_deinit_lock
taking the rtnl_lock. Since the driver is unloading reject the
interface up request before acquiring the hdd_init_deinit_lock.
To address this issue do not proceed with hdd_open if unload is in
progress.
CRs-Fixed: 2078720
Change-Id: Ie8c8bba8d142312d3504c40a839343e16fc3b31e
kmsg is flooded with excessive logs from lim_enable_11a_protection.
Fix is to change log level to debug.
Change-Id: I05d8def15660cc519c44870359ff6c337a44ed60
CRs-Fixed: 2072944
Linux kernel 4.12 renamed center_freq_seg2idx to center_freq_seg1idx and
center_freq_seg1idx to center_freq_seg0idx. Add conditional compilation
to access the correct fields based on the kernel version.
Change-Id: Id8c20f9e47eecdbdf121c88cb5e017f662e2e15e
CRs-Fixed: 2091058
The header guard within csr_inside_api.h ends before the end of the
file. Move the end of the header guard to the end of the file.
Change-Id: I7c9e62b9eaee8815f6d1e496d88b6b79f489299b
CRs-Fixed: 2090171
Currently, host driver sets bitmap of allowed action frames to fw.
For a particular action category, there are certain action id
frames which are not processed. This causes host wakeup and leads
to power drain.
Set action id along with action category to fw for action frames
to be allowed to host driver.
Change-Id: Ifa0b40b290fcabb9ce5e48f69bd462aebb9017ac
CRs-Fixed: 2072123
net_device->last_rx has long since been depreciated, and was finally
removed in Linux kernel 4.11. Simply remove any reference to the field.
Change-Id: Ia7896707f8ebc7105fcc4b89dd9d1e7f9334d584
CRs-Fixed: 2093262
In the case of low memory allocation failures, the system should be able to
continue functioning after the connect_service failure.
Change-Id: Icd054d541aa95dbf4099426cf73f3dfe6c2c4565
CRs-Fixed: 2097391
Linux kernel versions 4.12+ define WLAN_AKM_SUITE_FT_8021X. Avoid
redefining WLAN_AKM_SUITE_FT_8021X when compiling against 4.12+ Linux
kernels.
Change-Id: Iaaaeb0c348933c69034cb852191bed4d6a6862b1
CRs-Fixed: 2093922
Add changes to add support of sending and parsing
authentication packets based on 80211ai specifications.
Change-Id: I684dbc89945ba3aef3186c872e5e1f7564d7e44c
CRs-Fixed: 2028113
Add support for PMK and PMKID cache based on either bssid or
ssid + cache identifier.
Change-Id: I23c50472e4c2032b953ccf264fc4cadb2ea573ca
CRs-Fixed: 2028113
Add changes to parse fils indication element and add the info
to bss descriptor for further use.
Change-Id: If4b56435180a226438c9f0afdda0f58a26854d88
CRs-Fixed: 2028113
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_wext_state_s to align with that guidance.
Change-Id: I27fffbb103aab157356c98d8af2a8716512ef417
CRs-Fixed: 2094519
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The qcmbr_data_t & qcmbr_queue_t
typedefs do not meet any of those criteria, so replace them with well
named structs.
Change-Id: I8faca21ec5e9fa6d1b46fa4cb77764ca7de2e6b9
CRs-Fixed: 2097978
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_priv_data_t typedef does
not meet any of those criteria, so replace it with a well named
struct.
Change-Id: I1f31b7d8035e7025abd23cede7b2e8830a8db5d2
CRs-Fixed: 2094518
Auto ps timer is started as part of the interface up
but not disabled as part of the interface down.
Meanwhile if interface down happen hence sme session
get deleted. But if ps timer expire later then it try
to access invalid sme session and lead to abort.
As a part of fix, Disable auto ps timer on interface down.
Change-Id: If67f7ec66d7dea7b8e7e674dc86efe7124244dde
CRs-Fixed: 2061845
Napier does not yet support PCIe link-down suspend. For the time being,
prevent the PCIe link from going down during suspend by default on
Napier. This is to be reverted once Napier gets proper link-down
support.
Change-Id: I55adea9a1421977fc018193ecfa25eeb51987192
CRs-Fixed: 2092853
If a OCE AP is found in previous scan cache in fw, fw need to defer
sending probe for sometime to check for broadcast probe response
from OCE AP.
Send the probe deferral time and the time gaps between the two probes
from host for STA vdev.
Change-Id: I973fc1e2ea43950bd4e2168083644a240a298c22
CRs-Fixed: 2068490
On MDM platform, scm or wlan_services will take care
the Hostapd restart when get LTE coex event.
To make it configurable to avoid duplication of restart
SAP.
Change-Id: Idfb0b6967643d85315df23264a38fc68863a9fea
CRs-Fixed: 2073634
Currently, cds_trigger_recovery is unconditional. Instead, avoid
triggering recovery if recovery is already in progress.
Change-Id: I5c77048701930591e0e520e07275e6f8631108a0
CRs-Fixed: 2070845
In SAP mode, during data transfer, ifconfig down, then up in 1-5s,
Tx queue is enabled before SAP reconnect. can't find peer in
hdd_softap_hard_start_xmit, much following log in prink will lead
to watchdog timeout.
R0: wlan: [0:E :TRX] PEER [1] not found
R0: wlan: [0:E :TRX] ol_txrx_get_tx_resource: Invalid sta_id 1
Change-Id: I4b6635ac71f3bff95db67791e557cafd539f9ca4
CRS-Fixed: 2088402
Add a stub for hdd_lte_coex_restart_sap when channel avoidance is
disabled, as LTE coexistence cannot operate without channel avoidance.
This fixes a compilation error when FEATURE_WLAN_CH_AVOID is not
defined.
Change-Id: I90235eb7b3c51422aaeb5aa553b71ec674b57f71
CRs-Fixed: 2093226
__hdd_set_multicast_list() currently does not validate the adapter
before forwarding the request to PMO. Make sure the adapter is valid
and up before forwarding the request to PMO.
Change-Id: I738da67a1e501e71b8ad748ff50e70088ed77747
CRs-Fixed: 2086025
Versions 4.11+ of the Linux kernel removed '__' from the beginning of
ieee80211_get_channel(). Migrate all calls from __ieee80211_get_channel
to ieee80211_get_channel instead.
Change-Id: I255367d1e1d815e7ebbda43dc06d6d854e1534f4
CRs-Fixed: 2093213
WMA layer needs to use host defined target params as
direct access of wmi target definition is not allowed.
Use host defined wmm params in wma layer.
Change-Id: I8af9c7802c20ce88a6fa158db5acab018807506e
CRs-Fixed: 2072166
When wow resume happens, if hdd_bus_bw_work_handler is called
before we complete the resume in host, it causes warning when
sending cmd to fw.
Ignore bus bw compute when device not yet resume from WOW.
Change-Id: I607807d429f0f10207ffa2f4d878e38184415dc7
CRs-Fixed: 2096749
Make sure to update NOL correctly for all the right bonding channel.
Irrelevant channel will be marked as eSAP_DFS_CHANNEL_UNAVAILABLE if
wrong bonding channel is gotten.
Change-Id: I40420bdc881ce83aadbce87c10911507be4f3144
CRs-Fixed: 2093557
During target attach procedure, there are a number of messages sent
to the FW. Some of these sends did not check return codes. Add
return code checks and treat the codes accordingly.
Change-Id: Ib515e040b6c7e2ecc23d2d422bb359e83342fcfa
CRs-Fixed: 2064904
If STA LTE antenna sharing is enabled sometime STA connect with NSS1
even AP is broadcasting NSS 2 capability if the chainmask received in
vdev start resp indicate 1x1. But the connection should be 2x2 and
after association the chainmask mgr will drop it down to 1x1.
Thus initiate connection in with 2x2 even if antenna is shared by LTE
during connection initiation.
Change-Id: Ia31d1ac3a0a5dcafe62e43f122fc81f655cdba63
CRs-Fixed: 2094177