Commit graph

8,469 commits

Author SHA1 Message Date
Varun Reddy Yeturu
371404beda qcacld-3.0: Handle set key response failure
If roaming is happening and then a set key response is
generated from WMA to PE, then there is a possibility
of not finding the PE session as the roaming happened
and new session is established. In such cases, return
failure from PE to SME so that the set key command is
released and the command queue is not stuck

Change-Id: Ieba8ea76a2a53322f2e392e6b0bf30360b1e8f8a
CRs-Fixed: 2150731
2017-12-11 15:46:33 -08:00
Nachiket Kukade
08b9f2903b qcacld-3.0: Use new event infrastructure for session open/close events
With current implementation, if sme_open_session sends down a command
to the Firmware and an SSR/PDR occurs, the thread is stuck on waiting
on an event. The thread also holds the rtnl lock and will keep
blocking any other thread from acquiring it till timeout occurs. This
can result in deadlock situation with IPA driver trying to execute
driver ops during the SSR/PDR notification callback.

Use the wait_for_event_completion API for waiting on event. With this
the event will be purged when driver receives FW_DOWN indication.

Change-Id: I2920fd36c0eb5bb5994e66e584d12a2a9d8f409a
CRs-Fixed: 2120226
2017-12-11 15:46:30 -08:00
snandini
5536a99c2d Release 5.2.0.57E
Release 5.2.0.57E

Change-Id: Ib06c69d58a70f1d86319f126695bdf408904f5b0
CRs-Fixed: 774533
2017-12-11 13:56:39 -08:00
psimha
0b6bb897f3 qcacld-3.0: Add 11AX header flag in Kbuild
Add a new CONFIG_QCA6290_11AX flag to track & enable all 11ax related
header changes.

Change-Id: I265364eafb05c34eea18235a15c5e317716f6ecf
CRs-Fixed: 2124274
2017-12-11 13:56:39 -08:00
snandini
d0f7ac32a0 Release 5.2.0.57D
Release 5.2.0.57D

Change-Id: Ifafbf46eea7d0704408341b7c349a54e1ee07553
CRs-Fixed: 774533
2017-12-11 03:38:08 -08:00
Padma, Santhosh Kumar
ecbcafcb96 qcacld-3.0: Reduce the max join attempts for connection
Limit the max join attempts to two less than 1/3 of the total
command timeout value.

Change-Id: Ic52ec1cfa268a9e24e944f5d6e875e42d5a7b2be
CRs-Fixed: 2137346
2017-12-11 03:38:08 -08:00
snandini
66a74d85a5 Release 5.2.0.57C
Release 5.2.0.57C

Change-Id: I52593cc508b69ab22b5185a9cabcad0dc69d88dd
CRs-Fixed: 774533
2017-12-10 23:38:27 -08:00
Tiger Yu
6211cd7436 qcacld-3.0: Fix potential BUG_ON in the htt_rx_offload_msdu_pop_ll
qcacld-2.0 to qcacld-3.0 propagation

For HTT_T2H_MSG_TYPE_RX_OFFLOAD_DELIVER_IND, the msdu_cnt is a signed
integer coming from firmware. If set the msdu_cnt to a negative value,
or be greater than the number of current elements in the queue, the loop
will execute lots of times in ol_rx_offload_deliver_ind_handler, the
htt_rx_netbuf_pop will cause the BUG_ON issue sooner or later if it is
low latency solution.

Change the msdu_cnt type from signed to unsigned and add the validity
msdu_cnt checking will fix this issue.

Change-Id: I436557a124074f59ab11fd937dfdc975b9caebe8
CRs-Fixed: 2149461
2017-12-10 23:38:26 -08:00
snandini
ab09ed083c Release 5.2.0.57B
Release 5.2.0.57B

Change-Id: Ic09b58f837275c90ec37ce353837608d0c9f5fc2
CRs-Fixed: 774533
2017-12-10 22:16:22 -08:00
Tiger Yu
25c131e8a8 qcacld-3.0: Fix potential buffer overflow in htt_t2h_lp_msg_handler
qcacld-2.0 to qcacld-3.0 propagation

Check for the validity of peer_id when received the htt message of
HTT_T2H_MSG_TYPE_PEER_MAP or HTT_T2H_MSG_TYPE_PEER_UNMAP from firmware
to ensure the buffer overflow does not happen.

Change-Id: Ib3f92f4de0b406a78bf34d348c07cb3981277513
CRs-Fixed: 2147119
2017-12-10 22:16:21 -08:00
Tiger Yu
62ef4fb08d qcacld-3.0: Fix potential buffer overflow in ol_rx_flush_handler
qcacld-2.0 to qcacld-3.0 propagation

Check for the validity of tid when received the htt message of
HTT_T2H_MSG_TYPE_RX_FLUSH & HTT_T2H_MSG_TYPE_RX_PN_IND from firmware
to ensure the buffer overflow does not happen.

And correct the sequence number type from signed int to unsigned.

Change-Id: Ibff86e891c335bfe8c2f9db82410545036463ed3
CRs-Fixed: 2149399
2017-12-10 22:16:17 -08:00
Tiger Yu
a007b9a256 qcacld-3.0: Fix potential buffer overflow for TX_COMPL_IND
qcacld-2.0 to qcacld-3.0 propagation

Check for the validity of num_msdus when received the htt message of
HTT_T2H_MSG_TYPE_TX_COMPL_IND or HTT_T2H_MSG_TYPE_TX_INSPECT_IND from
firmware to ensure the buffer overflow does not happen.

Change-Id: Ic6ce75f34c5e2705d174eda014350e6ef0391388
CRs-Fixed: 2146869
2017-12-10 22:16:13 -08:00
snandini
99ec257084 Release 5.2.0.57A
Release 5.2.0.57A

Change-Id: If5f9c1055c259b100111da509351e055801b6836
CRs-Fixed: 774533
2017-12-10 21:26:56 -08:00
Tiger Yu
c35fbb1e72 qcacld-3.0: Fix potential integer overflow when TX_CREDIT_UPDATE
qcacld-2.0 to qcacld-3.0 propagation

Check for the validity of credits when received the htt message of
HTT_T2H_MSG_TYPE_TX_CREDIT_UPDATE_IND or HTT_T2H_MSG_TYPE_TX_COMPL_IND
from firmware to ensure the integer overflow does not happen if these
messages invoked many times.

Change-Id: I01386b88f1b677153f3e51e055b7fbac073cd6b3
CRs-Fixed: 2147127
2017-12-10 21:26:54 -08:00
snandini
8159423fff Release 5.2.0.57
Release 5.2.0.57

Change-Id: Ida6ab2930cbd104aca1fd57b17d0017eb26a35eb
CRs-Fixed: 774533
2017-12-09 23:27:10 -08:00
Venkata Sharath Chandra Manchala
1240fc7c98 qcacld-3.0: Enable Packetlog for Napier
Add ATH_PKTLOG_LITE_T2H and ATH_PKTLOG_LITE_RX
support for Napier.

Change-Id: I6e2833e2f7e1a4c68c51f7ae83d0ae76f63c9b0f
CRs-Fixed: 2133558
2017-12-09 23:27:07 -08:00
CNSS_WLAN Service
c4d5f251d0 Merge "Release 5.2.0.56Z" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:29 -08:00
CNSS_WLAN Service
da52068904 Merge "Revert "qcacld-3.0: Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback"" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:28 -08:00
CNSS_WLAN Service
a7737fba22 Merge "Release 5.2.0.56Y" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:26 -08:00
CNSS_WLAN Service
043eca59ff Merge "qcacld-3.0: Check regulatory domain before assuming ETSI channels" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:25 -08:00
CNSS_WLAN Service
174be443e0 Merge "Release 5.2.0.56X" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:24 -08:00
CNSS_WLAN Service
7753b89ff4 Merge "qcacld-3.0: Fix memleak in wlan_hdd_cfg80211_do_acs" into wlan-cld3.driver.lnx.2.0 2017-12-09 21:13:22 -08:00
CNSS_WLAN Service
7fb0864ac2 Merge "Release 5.2.0.56W" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:28 -08:00
CNSS_WLAN Service
033346946d Merge "qcacld-3.0: Validate Country IE length before copying country code" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:27 -08:00
CNSS_WLAN Service
53b0557f91 Merge "qcacld-3.0: Fix active cmd timeout issue" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:25 -08:00
CNSS_WLAN Service
9252c07495 Merge "Release 5.2.0.56V" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:24 -08:00
CNSS_WLAN Service
c7132a627f Merge "qcacld-3.0: cleanup scan queue in case of SSR" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:22 -08:00
CNSS_WLAN Service
b1f8f4ebd2 Merge "Release 5.2.0.56U" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:21 -08:00
CNSS_WLAN Service
c81f3cb238 Merge "qcacld-3.0: Fix implicit enum conversion in csr_fetch_valid_ch_lst" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:19 -08:00
CNSS_WLAN Service
91e38af93c Merge "qcacld-3.0: Fix implicit conversion in lim_process_sme_req_messages.c" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:18 -08:00
CNSS_WLAN Service
0b62b7cc01 Merge "qcacld-3.0: Add regpair for country AR and CL" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:16 -08:00
CNSS_WLAN Service
108353ce5a Merge "Release 5.2.0.56T" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:15 -08:00
CNSS_WLAN Service
18390a6274 Merge "qcacld-3.0: Fix potential integer underflow in lim_parse_kde_elements" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:13 -08:00
CNSS_WLAN Service
0a822a3c4d Merge "qcacld-3.0: Check for non zero length for FILS info" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:12 -08:00
CNSS_WLAN Service
8876e7dceb Merge "Release 5.2.0.56S" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:09 -08:00
CNSS_WLAN Service
a3c14f4ade Merge "qcacld-3.0: Avoid pkt drop in DFS CAC for SAP dual band mode" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:07 -08:00
CNSS_WLAN Service
3bf6e9b0a9 Merge "qcacld-3.0: Pass roam_info for SSID scan failure if FILS connection" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:05 -08:00
CNSS_WLAN Service
6291735e0e Merge "qcacld-3.0: Set PF_WAKE_UP_IDLE flag in the IPA Rx exception callback" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:04 -08:00
CNSS_WLAN Service
6b7b7dcc9b Merge "qcacld-3.0: Fix QDF_TRACE() in ol_txrx_peer_remove_obj_map_entries" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:02 -08:00
CNSS_WLAN Service
c26582b4a1 Merge "Release 5.2.0.56R" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:54:00 -08:00
CNSS_WLAN Service
f8238da07d Merge "qcacld-3.0: Statically allocate DPH hash table" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:58 -08:00
CNSS_WLAN Service
51f2f0dde3 Merge "Release 5.2.0.56Q" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:56 -08:00
CNSS_WLAN Service
92b3539c7b Merge "qcacld-3.0: Destroy pdev as part of module stop" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:54 -08:00
CNSS_WLAN Service
f9dfd24882 Merge "qcacld-3.0: Call new dispatcher enable/disable APIs" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:53 -08:00
CNSS_WLAN Service
f55dce8cb5 Merge "Release 5.2.0.56P" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:51 -08:00
CNSS_WLAN Service
6c00dc4d5c Merge "qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:49 -08:00
CNSS_WLAN Service
ae0bb339b3 Merge "Release 5.2.0.56O" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:48 -08:00
CNSS_WLAN Service
aaeb285e06 Merge "qcacld-3.0: Fix clang errors in dot11f_get_packed_iersn" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:47 -08:00
CNSS_WLAN Service
4314e8735f Merge "Release 5.2.0.56N" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:45 -08:00
CNSS_WLAN Service
395c894784 Merge "qcacld-3.0: Kbuild changes to add new scan files" into wlan-cld3.driver.lnx.2.0 2017-12-09 06:53:43 -08:00