An upcoming campaign will rename all instances of pMac to mac in the
driver. In function __lim_counter_measures() there is already a local
variable named mac, so the pMac renaming will cause a conflict. In
order to avoid the conflict rename the existing local variable.
Change-Id: If7438c9ca98a65c0a3c29b77d279f8bd41258165
CRs-Fixed: 2353461
The functionality that handles tAniIbssRouteTable is no longer
present, so remove the associated function prototype and data
structures.
Change-Id: I80eebe7494bf60b46165e0bd1eea04ce0f23c44b
CRs-Fixed: 2352149
Add missing change in handle_ht_capabilityand_ht_info to set the HT
OpMode field in the LIM capabilities.
Missing change from I019961016a2f0e39c7c62066c04788d3bd3d37e7.
Change-Id: If75ef4cfca5cdd3c42bedcf1f9303a63b264cea9
CRs-Fixed: 2346227
Refactor HE cap cfg items to new mlme component using
updated cfg architecture.
Change-Id: Ib983d3fc983dfffd2eee7efd1a4e3681d26d84a6
CRs-Fixed: 2351420
In SAP mode, when a STA is associated, the assoc request is
stored in session_entry->parsedAssocReq. The function
lim_send_mlm_assoc_ind is called to indicate the association to
SME. In lim_send_mlm_assoc_ind, parsedAssocReq is copied to
assoc_req which fills the assoc_ind to be sent to sme,
and session_entry->parsedAssocReq is dereferenced before
validating it against NULL. This could result in NULL pointer
dereference.
Add NULL pointer check before dereferencing parsedAssocReq.
Return if it fails.
Change-Id: Ied2b5f64c0351a648c1d398f616450aa406fc82e
CRs-Fixed: 2348565
With the introduction of new 32 bit ini for per vdev
nss and chains, the legacy inis are no longer required.
Cleanup the legacy inis of per vdev nss for both the
bands.
Change-Id: Ia4c8301062457a15a9bda49dca4a4a36a4372f88
CRs-Fixed: 2349204
Define two different mlme priv obj structures
based upon the flag CONFIG_VDEV_SM, for the
support of dynamic nss, chains update.
Change-Id: I00f39eb82973da86233ddfc8bdcc94b6ca8a439a
CRs-Fixed: 2349200
Add prefix NSS_CHAINS to band info to remove duplicate band
info in driver, and minor code cleanup.
Change-Id: I3a8446af6b6c272cfcb19583540e2384f64e3a1a
CRs-Fixed: 2347624
For the FW to configure the roaming module to roam either in
1x1, or 2x2 mode, the driver needs to configure the correct
MCS according to the ini params in respective vdev.
Populate the correct MCS values in MCS set of HT, and VHT.
Change-Id: Idfe595d5653ad52455d661f34e58a1502b9e3745
CRs-Fixed: 2347493
Recently all instances of tHalHandle were replaced with mac_handle_t
to align with current usage and the Linux coding standard. To align
with the new naming now replace all instances of hHal with mac_handle
in wlan_qct_sys.
Change-Id: I4f5b7c46ae56140d0a2456f9ba48fdcf54d9262b
CRs-Fixed: 2349568
Enums tdls_add_oper and TdlsAddOper are same. Instead redefining
use the same enum across different files.
Change-Id: Ibb71b0f80e156e4bd3a345a56c7b4d99ce770ef7
CRs-Fixed: 2349616
on mac_close, current global mac_context is not getting memset
to zero, so when new mac_open occures this global mac_context
contains the previous configuration which leads to undefined
behaviour.
Initially during load time, driver type is set as production in
global mac context, on change of the con_mod to FTM, this driver
type is chnaged to MFG, now again if the con_mode is changed to
MISSION mode or MONITOR mode this driver type should be updated
to production, but since during mac_close, mac_ctx is not memset
to zero, this driver type is not getting updated and having the
previous value as MFG, because of this in pe mc process handler,
message is not getting processed leading to mem leak at stop
modules.
Change-Id: I342ad5c9bd4b710c668d8121f41f5ffd98d2c221
CRs-Fixed: 2349670
In case PEER send BW as 80Mhz in OPmode IE in 2.4Ghz, driver doesn't check
the SAP session BW and allow this BW in PEER assoc command to firmware.
Fix this by limiting the PEER BW to less than or equal to SAP session
BW.
Change-Id: Icf9e53fec32d30e5620e51b8664b0e92ba2b26d6
CRs-Fixed: 2346537
All references to the legacy tHalHandle have been removed, so remove
the definition itself.
Change-Id: I41e93fc7dd1bc7cb5d06300c607854b7c691f3c1
CRs-Fixed: 2348558
The LIM code should deal exclusively with the "real" MAC context, so
replace references to the opaque handle tHalHandle with references to
the actual underlying struct.
Change-Id: I2801f6531d810710d6ec0fdbd517d30f85407c25
CRs-Fixed: 2347928