In function get_container_ies_len, output parameter pnConsumed is
uint8_t and poses a risk of integer overflow. Check value against 255
before assigning to output parameter.
Change-Id: I6e02037952ced13de45a6c030cc5a1e85070f5cd
CRs-Fixed: 2125781
The genIE field in struct hdd_wext_state is no longer being used, so
remove it.
Change-Id: I09d753d72d27cee53cb9c690924d62a1676abe05
CRs-Fixed: 2130211
If AP candidate is not found in scan cache during processing of
cfg80211_connect request, it calls csr_scan_for_ssid() to find it.
However default scan type is passive and dwell time is not enough
to capture a beacon. Convert it to active scan.
CRs-Fixed: 2130197
Change-Id: I11880473cce9089520c57542659e1b892417fc72
Multiple fields within struct hdd_tx_rx_stats are currently defined
with camelCase. Rename these to align with the Linux coding style
which states "mixed-case names are frowned upon."
Change-Id: I28f81baab8ed43e3e87449e8a4476e540477b57a
CRs-Fixed: 2130212
Few of the SME APIs are dereferencing the pointer without
checking it against NULL.
Add a NULL check before deferencing it.
CRs-Fixed: 2124948
Change-Id: I109518332e593e1f32936404021db1db7a332df7
In __wlan_hdd_cfg80211_add_key() several calls to hdd_debug()
explicitly add the function name and line number. This causes that
information to be replicated in the actual log since hdd_debug()
itself already logs the function name and line number. Fix this by
removing the explicit function name and line numbers from those calls.
Change-Id: Ib336ca941c709d528df20e74229aa52349929485
CRs-Fixed: 2129324
Currently the key sequence counter received from userspace is not
propagated to SME, so add logic to propagate it.
Change-Id: I5371700003744eb967c578c44e4d130628efcdc8
CRs-Fixed: 2129237
SME module calls enqueue request API, if API returns failure status then
SME itself is releasing the memory which is not correct.
Let serialization module give a callback to release the memory. Fix the
reference count issue along with it.
CRs-Fixed: 2123634
Change-Id: I18d490a91cf07474df3bd412d9339399df137d5d
In legacy code, remove reference of fine_time_meas_initiator and use
public APIs provided by WIFI_POS to get and set FTM value.
Change-Id: I8685b6024693cc3f9a24e29dea25ea6b868ddcf6
CRs-Fixed: 2122876
If probe failed because of no memory, the return values are
not properly perculated up the call stack.
Fix this to return error values properly up the call stack.
CRs-Fixed: 2124159
Change-Id: Iba20a73555c86c26f3f07fe89e9030159e3974c0