The functionality provided by cds_rand_get_bytes() replicates
functionality provided by qdf_get_random_bytes(), so use
qdf_get_random_bytes().
Change-Id: I0b855556c9a9861c7067dfadaf0b8a4cdaf8709e
CRs-Fixed: 2366960
WNI_CFG_WPS_UUID should be refactored and adopted by the mlme
component.
Move the cfg item to cfg_mlme_wps_params.h
Change-Id: I79db155ad16998e9d7a7e20c01efbcba1681d61e
CRs-Fixed: 2366599
During channel switch if the new channel's phymode is different
than the old channel the host will update its phymode and
send vdev restart to firmware. Once vdev restart resp is received,
host sends new phymode and channel width to the firmware.
If host process beacon with opmode IE while waiting for vdev restart
response, it check if new channel width in bcn is valid for new
phymode and send channel width to firmware. If channel width changed
is greater than allowed value for older phymode, firmware is not able
to handle it.
Fix is to ignore any opmode IE during channel switch. Also ignore
the beacons with CSA/ECSA IE if channel switch detection is
offloaded. The opmode or any other change in beacon will be detected
with the beacons on new channel once AP moves to new channel.
Change-Id: If3bfb555dfa7b63dc997bbdf2fe6a0836bcf17fd
CRs-Fixed: 2361553
WLAN Latency Manager support is one of the capabilities that is sent
along with the service bits by firmware. Currently, driver is not
exposing this feature to the user space.
Create and add support for a feature flag to expose this feature to the
userspace.
Change-Id: Ica8213bdaeb32c7be01b6a71a7d8b7a32dc8611b
CRs-Fixed: 2363704
Modify the max tx power value form 22db to 30db
to cover regulatory power requirements.
Change-Id: Id24ed354ed364037ba0ff5dea9de9810fb255962
CRs-fixed: 2362060
parser_api.h contains two prototypes for functions that are no longer
a part of the driver, so remove them.
Change-Id: Id4cc9967ba95d624a2910dec564c68c679279b09
CRs-Fixed: 2365052
The current version of the driver no longer uses the eWNI_SME_SCAN
message IDs, so remove them.
Change-Id: Ia2717c18606e5e771b5d5880bac6f494689ab802
CRs-Fixed: 2364273
The typedef tSirSmeScanRsp is not used by the current generation of
the driver, so remove it.
Change-Id: Id38ae6fe4b0c92e69c6a3f16db7f22ae13ba2fb7
CRs-Fixed: 2364272
Ongoing CFG componitization removed the enumerations for some
legacy configuration items that are now supported by component
configuration. However some of the changes did not remove the
MIN/MAX/DEF/LEN macros or enumeration macros. For all of the
ones that are now unused, remove them now.
Change-Id: Ib48e10cd09ef6811c9104c0b92f4b8f1665e5a5d
CRs-Fixed: 2364270
QBSS IE uses min length of 4 bytes for version 1 and
min length of 5 bytes for version 2. Min length used
for IE is 5 bytes in driver which can cause WPA IE
parse failure if QBSS IE is 4 bytes resulting in failure
in fetching scan results due to security mismatch and
subsequently connection failure.
Fix is to skip the IE which has length less than the
minimum valid length.
Change-Id: I00fbffad221e2d9ecedcb87c9607ac8abd7c55b1
CRs-Fixed: 2364663
Implementation of Host driver support to collect per Vdev Beacon
reception Stats from firmware and display the stats in sysfs.
"adb shell cat /sys/class/net/wlan0/beacon_stats"
vdev id: 0
Total Beacon Count: 255
Total Beacon Miss Count: 21
Beacon Miss Bit map [0x800] [0x10000000] [0x22000400] [0x100]
[0x84000000] [0x4030002] [0x5034000] [0x28084]
Change-Id: Iadd31042320f7815a6a6f4733f5393dba93b5b3e
CRs-Fixed: 2360913
A recent set of changes replaced almost all occurrences of typedef
tpAniSirGlobal. The only ones left intact were the ones within the
auto-generated files dot11f.c and dot11f.h. Now to prevent new
instances from being introduced, change the definition.
Change-Id: I31924e45242320fee5d8432b624bb9ba00bf7531
CRs-Fixed: 2364097
The current generation of the driver has never used typedefs
tBADirection, tBAEnable, tBAPolicy, or tBAPolicyType. Since these are
obsolete remnants, remove them.
Change-Id: I27645a6d4a1d9f472fbe204aea96f3ec9539a7c2
CRs-Fixed: 2363227
The current generation of the driver has never used typedef
tSirMacPropIE. Since it is an obsolete remnant, remove it.
Change-Id: I120162ffc62be87d7f4616abd0cb265799aeaf06
CRs-Fixed: 2363226
The current generation of the driver has never used typedef
tPacketType. Since it is an obsolete remnant, remove it.
Change-Id: If59f5bd145895c6821635a7e4099090f2db096c2
CRs-Fixed: 2363225
Previously change I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
("qcacld-3.0: Remove obsolete eWNI_SME_TKIP_CNTR_MEAS_REQ") removed
the only reference to typedef tSirSmeTkipCntrMeasReq, so remove it as
well.
Change-Id: I10ef269ae5e551c4a7b7dfb80418bb3d372a7437
CRs-Fixed: 2363224
Previous change I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
("qcacld-3.0: Remove typedef tAniSecurityStat") removed the last
references to typedef tAni64BitCounters, so remove it as well.
Change-Id: I9327c3654acd10ed6e535748f322546578f14afc
CRs-Fixed: 2363223
Previous change I2aa270b6c3b90fb0b631c01ad873fbf2852764ed
("qcacld-3.0: Remove typedef tAniSecStats") removed the only
references to typedef tAniSecurityStat, so remove it as well.
Change-Id: I112d7ffb9a7d1b011f37ce2893cb0149a5703da7
CRs-Fixed: 2363222