1) In function lim_populate_he_mcs_set in case 2x2 is disabled, mcs is
being set incorrectly. Fix this assignment by using correct macro to
disable 2 or higher MCS set.
2) Fix HE_GET_NSS macro to get NSS.
2) In function lim_populate_peer_rate_set, NSS was being calculated
on peer MCS, instead of intersected MCS. Fix this by using intersected
MCS for NSS calculation.
Change-Id: Id674a90b69771b83c75c7aa316ead0b63df93891
CRs-Fixed: 2135014
Don't drop the connection if multiple auth frames are received from client
due to retransmission on bad rf condition.
Change-Id: I16d065ff6ada35b0c69b6b4cec84f9fac96ce8d7
CRs-Fixed: 2136412
Current driver is not having wlansap_open() and wlansap_close()
symmetrical and same goes for wlansap_start() and wlansap_stop()
which may create confusion in understanding.
Create a symmetry and clean-up any unnecessary data-structure.
CRs-Fixed: 2135995
Change-Id: I2c3b96e1f2ee44c9f1158108d4b5e48495222080
Current driver is not having wlansap_open() and wlansap_close()
symmetrical and same goes for wlansap_start() and wlansap_stop()
which may create confusion in understanding.
Caller of these APIs should also maintain the symmetry while calling
them. Fix callers who are not following the symmetry.
When hostapd starts, it sends change interface command. After that if
user does "ifconfig <intf> down" to temporary tear down the SAP session
then in such cases driver needs to wipe-out the sap session.
Again if "ifconfig <intf> up" comes down to bring up SAP session again
then SAP session needs to be re-initialized.
Remove some of the unused APIs related to SAP operations.
CRs-Fixed: 2135994
Change-Id: Ib22dfa375217a48448c5a7872a9a2ed154dd862f
Update driver to conform with Draft 1.4 MCS frame parser changes made
as part of Change-Id: I207db123d463f54ed6b148c9e957eb551d617ca2.
Change-Id: I4007ce0303b87c281b6fb2a94df576ee0da3f3e8
CRs-Fixed: 2130185
Add wlan_objmgr_peer_debug_log() calls in WMA, ol_txrx for
tracking of peer create/delete/map/unmap events and related roaming
events. These calls, added in lnx.1.1 driver in different change lists,
are consolidated in this change.
Add wlan_roam_debug_dump_table() call to the functions that perform
recovery after detecting peer deletion error.
CRs-Fixed: 2130256
Change-Id: Ia3bb6a01b2f62889fe542a02ca42ffab5a8a76aa
New files are added to qca-wifi-host-cmn project for roam debug
infrastructure. Add the corresponding entry to Kbuild for compilation
of utils/logging/src/wlan_roam_debug.o.
CRs-Fixed: 2135189
Change-Id: I50a3ed760b454ce0de59caec6af7c0b86c556e3e
Currently, API to get RCPI value is wlan_hdd_get_rcpi(),
invoke this API to log computed RCPI.
Change-Id: I99e137e37a0c2c4a94f37009b6c00d992c440ec6
CRs-Fixed: 1115232
RCPI is measure of received RF power in the selected channel for a
received frame and is measured at the antenna connector and shall be
measured over an entire frame. It is a monotonically increasing,
logarithmic function of received power level.
Wlan firmware computes RCPI.
Add host support to query firmware for RCPI information of peer
mac address in sta, p2p client, softap and p2p go modes.
Change-Id: I43a061ad4ed0fceb66dbd82b1c35b7678ee2259c
CRs-Fixed: 1092612
The function wlan_hdd_cfg80211_scan_randomization_init
will set mac spoofing scan feature ignore the ini
configuration on gEnableMacAddrSpoof.
CRs-fixed: 2108137
Change-Id: I8164aa15e83c6fbe1a4249efeca4c7f6474604f8
In some of the stress and stability testing, it has been found that
lim_del_pmf_sa_query_timer() is not getting called which results in
to memory leak.
Move lim_del_pmf_sa_query_timer() API to pe_delete_session() to make
sure that pmf timer gets deleted in all the cases.
CRs-Fixed: 2133344
Change-Id: Iefed50ad0c473deb8c3803d0bd6b2997624f2f82
To fix pmo_ctx memory leak by call component_deinit in
failure path of __hdd_module_init.
Change-Id: I66ee4566e805c9510d6dec219dc397bc7191952c
CRs-Fixed: 2131441
Compiler is throwing error - undefined variable
'busBandwidthComputeInterval' after MSM_PLATFORM disabled.
Wrap the related code within MSM_PLATFORM.
CRs-Fixed: 2135338
Change-Id: Iad1b7a4deefec0d454d12c257d885f0fa256d33f
If vendor scan and nl scan happen and abort at the same time, before
scan_block_work is scheduled, pAdapter->request may be set as vendor
scan request firstly, then scan_block_work is scheduled while at the
same time pAdapter->request may be as nl scan request by nl scan.
This causes memory leak and incorrect scan done called.
Change-Id: Id730f2d0041641099a26e76ab13ec419a48b4241
CRs-Fixed: 2134652
Per the Linux coding style "mixed-case names are frowned upon" so
rename field wepKey in struct hdd_ap_ctx.
Change-Id: I8964d07ebaf77c9ff14ec0a055c800f3923a9b55
CRs-Fixed: 2134927
Per the Linux coding style "mixed-case names are frowned upon" so
rename field groupKey in struct hdd_ap_ctx.
Change-Id: I3dcac71706cee8c97593370e7c3d0c99d56dca20
CRs-Fixed: 2134926
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
ucEncryptType in struct hdd_ap_ctx.
Change-Id: Id729616f27bc944b24797786d715cd43f10efc7f
CRs-Fixed: 2134924
Per the Linux coding style "mixed-case names are frowned upon" so
rename field apDisableIntraBssFwd in struct hdd_ap_ctx.
Change-Id: If2442e605a95c8d82df8adf1395e4ed6b53bbbd5
CRs-Fixed: 2134923
Field uIsAuthenticated in struct hdd_ap_ctx is written but never read.
And when the interface is in AP mode it is the master doing the
authenticating, so this field doesn't even make sense, so remove it.
Change-Id: Ib03a4b80f61c0cb32486cf3f8a9bd6744ea5edee
CRs-Fixed: 2134922
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
uPrivacy in struct hdd_ap_ctx.
Change-Id: I9e0af2e7b61b4678f28868142a0864b1d5d5db77
CRs-Fixed: 2134920
Currently hdd_clear_all_sta() has a usrDataForCallback parameter that
isn't actually used, so remove the parameter.
Change-Id: Ib1901564ad637a433588c9975037d3cc069ee98c
CRs-Fixed: 2134918
Per the Linux coding style "mixed-case names are frowned upon" so
rename field uBCStaId in struct hdd_ap_ctx.
Change-Id: Id23184e2daa074016672ec69cf46261ae604f0c5
CRs-Fixed: 2134917
Per the Linux coding style "mixed-case names are frowned upon" so
rename field HostapdState in struct hdd_ap_ctx.
Change-Id: I25a7ec870f250a0062619c0025c0aa9e137a576e
CRs-Fixed: 2134916
Field isFilterApplied in struct hdd_multicast_addr_list is no longer
used, so remove it.
Change-Id: I3018c55a82741e7fc80e37f2ebaa08370f2411e0
CRs-Fixed: 2134915
Field mScanPendingCounter in struct hdd_scan_info is no longer used,
so remove it.
Change-Id: Ia118215af9ce575127b6d32f323921f4496b3721
CRs-Fixed: 2134906
Separate tcp-del-act and tcp-advanced-window-scaling triggers
so that these system parameters can be set separately.
Change-Id: If2f869243152e698409e8a38459f5fabe44f35cb
CRs-Fixed: 1115614
Add device pointer in all PLD PCIe APIs in order to support
numerous WLAN devices.
Change-Id: Id9b2fb14ef3de715f6127ac2301d7ad87d493c14
CRs-fixed: 2134245
These APIs are used with legacy platform driver for PCIe bus based
targets which are no longer needed for new platform driver.
Change-Id: I6e01ea632e902f2c0a3a7cde07c85dfa835b84d3
CRs-fixed: 2134245
one octet of ElementIDExtenstion is added in HE caps IE.
In lim_send_he_caps_ie(), he_caps buffer does not take extra
ElementIDExtenstion into account, which leads to stack overflow.
Fix is to entend he_caps buffer by one octet to account for
ElementIDExtenstion in HE caps IE.
Change-Id: Ib1bc3c65a0e3c5c2ce33085c1e71430acbd67d65
CRs-Fixed: 2134692
* changes:
Release 5.2.0.51W
qcacld-3.0: Code cleanup in Vendor ACS support code
Release 5.2.0.51V
qcacld-3.0: Add iwpriv support to set HE bss color
Release 5.2.0.51U
qcacld-3.0: Fix 80211 frame subtype value in DoS attacks check
Release 5.2.0.51T
qcacld-3.0: Add knobs to configure the scan paramters
Release 5.2.0.51S
qcacld-3.0: Add "static" to fix compilation error for HL bus
Release 5.2.0.51R
qcacld-3.0: Fixed wrong warning log for no return issue
Release 5.2.0.51Q
qcacld-3.0: Fix incorrect length of encrypted auth frame
qcacld-3.0: Fix build error in LRO without MSM_PLATFORM
Release 5.2.0.51P
qcacld-3.0: Set CPU floor freq on high throughput
Release 5.2.0.51O
qcacld-3.0: Restrict AP switching to DFS channel
Release 5.2.0.51N
qcacld-3.0: Rework HDD IPA stats
qcacld-3.0: Add warning log for IPA session control critical code path
qcacld-3.0: Check firmware MAWC capability
qcacld-3.0: Check vdev status before sending vdev up
Release 5.2.0.51M
qcacld-3.0: Return failure from cds_open for all failure paths
qcacld-3.0: Allow recovery during firmware down
Release 5.2.0.51L
qcacld-3.0: Cleanup ACS channels in stop adapter
Release 5.2.0.51K
qcacld-3.0: Adding the missed p2p_listen_defer_interval
Release 5.2.0.51J
qcacld-3.0: Enable/Disable LRO for low throughput based on rx packet count
Release 5.2.0.51I
qcacld-3.0: add device pointer in pld snoc API
Release 5.2.0.51H
Propagation from qcacld-2.0 to qcacld-3.0
The subtype values used in the Dos attacks check are not correct.
No MGMT frame will be dropped in a DoS attack.
Change-Id: I0fdcffd7151a78abf21bb0f4223aaba3e86a46ab
CRs-Fixed: 2103880