Add additional sanity checks for total_peer_len in wma_get_ll_stats_ext_buf.
Missing changes for CLD3.2 from I2689873c2c5e63c83e5059563662c0c69dc659fc
Change-Id: I6f82c9ef251e0290f9cf68e9fcd2d8868a5a302c
CRs-Fixed: 2121194
TDLS set state cmd to firmware is going out of sequence, if STA
is disconnected, when concurrent TDLS connections are active.
This out of sequence causes crash in the firmware.
Fix the out of sequence issue, by grouping all the TDLS delete
peer commands into one single command.
Change-Id: Ie4fe5888587755719b5540fd328022fa4f966c40
CRs-Fixed: 2073506
In AP + STA case allow MCC if the STA's channel
is DFS or passive or part of LTE avaoidance channel list
Change-Id: Iece69bf5d70d5e2ed9f9505a72c7a40f35d11b75
CRs-Fixed: 2127091
Updated the CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MAX to support
the new value QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION
Change-Id: I69f535e6d0e591b3b5ea9e93cf4ecfd1e31f31a9
CRs-Fixed: 2127091
Update to find channel overlap in case of 3-port concurrency.
The changes are made as mentioned below:
1. Find active session on same band channel
2. If found, then set same channel to achieve SCC
Change-Id: I87ba2121608c789814b1213dc807fed82fd0f882
CRs-Fixed: 2127091
If SME is in disconnecting state disconnect from supplicant will not
get queued. Thus supplicant can start a connect req as soon
as HDD returns from disconnect req. If this connect req is processed
by HDD before the SME disconnect is indicated to HDD, it will cause
HDD/supplicant and SME out of sync.
This results into scan allowed even when SME is waiting for key.
SME will not allow scan until set key is completed, which may not
happened as HDD has indicated disconnect to supplicant after connect
was received by HDD. This will eventually lead to HDD scan inactivity
timer to expire.
To fix this wait for WLAN_WAIT_DISCONNECT_ALREADY_IN_PROGRESS time
in HDD for SME disconnect to get processed before returning.
Change-Id: I21f2c2e2f9b97fc50f9ac43bc5bbb5fd5188f3b7
CRs-Fixed: 2125636
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