Commit Graph

5355 Commits

Author SHA1 Message Date
Yun Park
57b82634ee qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.h
Fix Datapath kernel checkpatch warnings in ol_tx_sched.h

Change-Id: I123d2197294be6ae19174a4a40d02dd8047091e1
CRs-Fixed: 2032874
2017-06-14 08:24:39 -07:00
Yun Park
d1b045edcf qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_cfg.c
Fix Datapath kernel checkpatch warnings in ol_cfg.c

Change-Id: I42f9d34fb38ec1f990988d434965673401236ef4
CRs-Fixed: 2032874
2017-06-14 08:24:38 -07:00
Yun Park
1edc871c44 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c
Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c

Change-Id: Iaf14e45dac4fd3d7293379798976162d92ae58fb
CRs-Fixed: 2032874
2017-06-14 08:24:36 -07:00
Yun Park
04097e8e92 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_classify.c
Fix Datapath kernel checkpatch warnings in ol_tx_classify.c

Change-Id: Ic409ee871bff01669c6f042e44c6d71ce6e63a65
CRs-Fixed: 2032874
2017-06-14 08:24:35 -07:00
Yun Park
202403b5db qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.c
Fix Datapath kernel checkpatch warnings in ol_tx_sched.c

Change-Id: I1ea7dd958cee18b00bfee7dbac962fcd7cbf3e06
CRs-Fixed: 2032874
2017-06-14 08:24:33 -07:00
Yun Park
e459ea9fe5 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_event.c
Fix Datapath kernel checkpatch warnings in ol_txrx_event.c

Change-Id: Id116f007d12eebf8e207bc1ff89de8d3e27ec65c
CRs-Fixed: 2032874
2017-06-14 08:24:32 -07:00
Yun Park
28390e3ad5 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder.c
Fix Datapath kernel checkpatch warnings in ol_rx_reorder.c

Change-Id: I61d4486c56cd1a5c53566d5c40bfe35da6eba598
CRs-Fixed: 2032874
2017-06-14 08:24:30 -07:00
Yun Park
719aaea2ad qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx.h
Fix Datapath kernel checkpatch warnings in ol_tx.h

Change-Id: I187da81eb6edbcbede2bf6600d24002a04e610a4
CRs-Fixed: 2032874
2017-06-14 08:24:29 -07:00
Yun Park
502780fdb4 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_pn.h
Fix Datapath kernel checkpatch warnings in ol_rx_pn.h

Change-Id: Ic7edeb53ffed6672ad0bf8aedb34ce7371fc450a
CRs-Fixed: 2032874
2017-06-14 08:24:27 -07:00
Yun Park
29747c3af0 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_flow_control.c
Fix Datapath kernel checkpatch warnings in ol_txrx_flow_control.c

Change-Id: I240c2faf402fd0a2da51454598c041772c6ff2ab
CRs-Fixed: 2032874
2017-06-14 08:24:25 -07:00
Yun Park
3a65721b7a qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_params.h
Fix Datapath kernel checkpatch warnings in ol_params.h

Change-Id: I66ed8f3345e8c3664d7c17e6ce8d5f3cd3a28d22
CRs-Fixed: 2032874
2017-06-14 08:24:24 -07:00
Yun Park
73fbcf5a90 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_cfg.h
Fix Datapath kernel checkpatch warnings in ol_cfg.h

Change-Id: I61ee5d467f75f47b6b0ee97e76b9400fa08c4961
CRs-Fixed: 2032874
2017-06-14 08:24:22 -07:00
Yun Park
38d2eae0da qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_api.h

Change-Id: Ia8f2c0d2e93d0e394ee14b8ea78df8089edc6908
CRs-Fixed: 2032874
2017-06-14 08:24:21 -07:00
Yun Park
2b664bba3e qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_rx_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_rx_api.h

Change-Id: I1dd5783bc8e5eacb57b969282224e8f9d85510f5
CRs-Fixed: 2032874
2017-06-14 08:24:19 -07:00
Yun Park
50e8ab43c8 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_htt_api.h
Fix Datapath kernel checkpatch warnings in ol_txrx_htt_api.h

Change-Id: I48eebe427f88eda7a8baa9a0695a82c5aef35e76
CRs-Fixed: 2032874
2017-06-14 08:24:17 -07:00
Yun Park
01f6cc2d39 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_ctrl_api.h
Fix Datapath kernel checkpatch warnings in ol_txrx_ctrl_api.h

Change-Id: I90db6c51b5b78f61fa3a7067c6ca8964fbb613a2
CRs-Fixed: 2032874
2017-06-14 08:24:15 -07:00
Yun Park
cd97ea6a1d qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_dbg.h
Fix Datapath kernel checkpatch warnings in ol_txrx_dbg.h

Change-Id: I8cf0ca442bf84d0a57d656b285e09f2f4026aae7
CRs-Fixed: 2032874
2017-06-14 08:24:14 -07:00
Yun Park
9cb1c66e72 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_stats.h
Fix Datapath kernel checkpatch warnings in ol_txrx_stats.h

Change-Id: I162dd1de404847d58d1bf9c9dd7f9b2185b7aa8f
CRs-Fixed: 2032874
2017-06-14 08:24:12 -07:00
Yun Park
8ace0a1547 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_tx_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_tx_api.h

Change-Id: I3bb790287222915e8ccb404c0284429ca1f59512
CRs-Fixed: 2032874
2017-06-14 08:24:11 -07:00
Yun Park
4afce84bee qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_internal.h
Fix Datapath kernel checkpatch warnings in htt_internal.h

Change-Id: Ided3e682646abd68909b9af7ba62e59f541fe892
CRs-Fixed: 2032874
2017-06-14 08:24:09 -07:00
Yun Park
56e32d9063 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt.c
Fix Datapath kernel checkpatch warnings in htt.c

Change-Id: I65db694e92a3194a15c6ce5c0e928b4957e6357a
CRs-Fixed: 2032874
2017-06-14 08:24:08 -07:00
Yun Park
39ea12aec5 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_types.h
Fix Datapath kernel checkpatch warnings in htt_types.h

Change-Id: Id94b240612fcde52e6a4f3d5534b411e24fdc92d
CRs-Fixed: 2032874
2017-06-14 08:24:06 -07:00
Yun Park
a9319801ae qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_t2h.c
Fix Datapath kernel checkpatch warnings in htt_t2h.c

Change-Id: Ib8d870309ff534c2c658006df3598e559eb5fa41
CRs-Fixed: 2032874
2017-06-14 08:24:04 -07:00
Yun Park
f387e617ca qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_fw_stats.c
Fix Datapath kernel checkpatch warnings in htt_fw_stats.c

Change-Id: Ia6b62719abe9186af2e0a581d7d9a26552b7bba1
CRs-Fixed: 2032874
2017-06-14 08:24:03 -07:00
Yun Park
a63df43b92 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_h2t.c
Fix Datapath kernel checkpatch warnings in htt_h2t.c

Change-Id: If590589ca3fdd0dde238ee540dc3435042665fce
CRs-Fixed: 2032874
2017-06-14 08:24:01 -07:00
Yun Park
bd259aec9c qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_tx.c
Fix Datapath kernel checkpatch warnings in htt_tx.c

Change-Id: I8c1b967feb742ce3a1acec437822720421e1b333
CRs-Fixed: 2032874
2017-06-14 08:24:00 -07:00
Yun Park
16cf32a688 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_rx.c
Fix Datapath kernel checkpatch warnings in htt_rx.c

Change-Id: I922f58728c5b28afa147d6f6781356f4f5f37dc4
CRs-Fixed: 2032874
2017-06-14 08:23:58 -07:00
Nitesh Shah
f9a09ff89a qcacld-3.0: Send DBS Scan selection policy command to WMI
This change address sending DBS Scan selection policy command
to WMI.

Change-Id: I0117845ac28e3ca8977eefc09b738a79181b4115
CRs-Fixed: 2029280
2017-06-14 08:23:57 -07:00
Kapil Gupta
eb38bfc9c8 qcacld-3.0: Add changes to add MBO IE in assoc request
Add changes to add support for unpacking of MBO IE in association
request packet.

Change-Id: I575f718b0804e679bab31432694c97e45bd87ca0
CRs-Fixed: 2044512
2017-06-14 08:23:55 -07:00
snandini
79a6047211 Release 5.2.0.29R
Release 5.2.0.29R

Change-Id: If585275380df8257da28165378993d7a00a13b6b
CRs-Fixed: 774533
2017-06-14 07:28:00 -07:00
Deepak Dhamdhere
6d2c97a1d8 qcacld-3.0: Enable event handler for WOW_REASON_ROAM_HO
When roaming engine in firmware comes across handoff-failure and
host processor is in sleep state, it sends WOW_REASON_ROAM_HO. Enable
that reason code to follow the code path that leads into
wma_roam_event_callback() where it is handled as normal.
Modify peer debug log messages for better information for this
event.

CRs-Fixed: 2002239
Change-Id: I9ed854382287077ea66de78ce05e3d24c74058f3
2017-06-14 07:27:59 -07:00
Jeff Johnson
363764ff55 qcacld-3.0: Specify a policy when parsing TSF commands
In __wlan_hdd_cfg80211_handle_tsf_cmd(), nla_parse() is called to
parse the TSF command attributes.  Currently a policy is not
specified. This prevents nla_parse() from doing basic validation of
the attributes, and in some circumstances could result in a buffer
overread. To avoid this issue define an appropriate policy and use it
in the invocation of nla_parse().

Change-Id: Ic246cf8cf78b043af38198c301465c088b12184a
CRs-Fixed: 2054776
2017-06-14 07:27:58 -07:00
snandini
3ecca61823 Release 5.2.0.29Q
Release 5.2.0.29Q

Change-Id: I99d15c85d29b25955671e27a585753d27f3b0540
CRs-Fixed: 774533
2017-06-14 03:21:27 -07:00
Ajit Pal Singh
9b0ebdb769 qcacld-3.0: Restart SAP with CSA/ECSA when gWlanMccToSccSwitchMod=3
Restart SAP with CSA/ECSA when ini variable gWlanMccToSccSwitchMod=3.
Currently ini variable setting gWlanMccToSccSwitchMod=2 was
causing SAP to restart with CSA.

Change-Id: I9a4b68cd154fa63325d146510832c2410f2dc244
CRs-Fixed: 2058154
2017-06-14 03:21:26 -07:00
snandini
edd1957723 Release 5.2.0.29P
Release 5.2.0.29P

Change-Id: Ib92c79273b773a530b78e212c1c729f7dc723313
CRs-Fixed: 774533
2017-06-14 02:28:35 -07:00
Dustin Brown
ab6029b34a qcacld-3.0: Reject FTM command unless device is in FTM mode
Currently, the device mode is not verified before servicing the FTM
command. Reject FTM commands unless the device is in FTM mode.

Change-Id: Ia27dbe5922755a94e80ddc1c5824b8082ae3325a
CRs-Fixed: 2051888
2017-06-14 02:28:35 -07:00
Naveen Rawat
257386f1ea qcacld-3.0: Add lockless API for csr roam_sycn callback
CSR API for roam_sync callback acquires SME lock for its operation and
have multiple exit points. This creates risk of missing on releasing lock.
This change acquires and releases lock once in csr_roam_synch_callback and
add a lock less API that does logic handling.

Change-Id: Ifab0a8cce4b0746364ddbde44347d497999cc821
CRs-Fixed: 2048614
2017-06-14 02:28:33 -07:00
snandini
af1e5edac1 Release 5.2.0.29O
Release 5.2.0.29O

Change-Id: I64a22ae4ebf47ee38415adcbbff5b776639c078b
CRs-Fixed: 774533
2017-06-14 01:41:04 -07:00
Paul Zhang
e73d1a3b3a qcacld-3.0: send deauth to AP before teardown link
When heartbeat failure happens, the heartbeat handler
lim_handle_heart_beat_failure_timeout will tear down
the link and not send the deauth frame to peer.

Change-Id: Ifdef06d366c305d6c5f975f48356a83a77cf7b2c
CRs-Fixed: 2043958
2017-06-14 01:41:04 -07:00
snandini
8c51d843fb Release 5.2.0.29N
Release 5.2.0.29N

Change-Id: I62b9944a0c84d49e61dc80574bcc376a8383c72a
CRs-Fixed: 774533
2017-06-14 00:58:40 -07:00
Hong Shi
2d384fdaf8 qcacld-3.0: Add ini to configure per band mgmt rate
qcacld-2.0 to qcacld-3.0 propagation

Current ini setting doesn't support configuring per band mgmt rate.
Add ini to configure per band mgmt rate.

Change-Id: I340b09324fc16b15846598b17de9976f92b93252
CRs-Fixed: 2038854
2017-06-14 00:58:39 -07:00
Arif Hussain
ee6770181e qcacld-3.0: Avoid session and peer with same MAC address
vdev create request with selfMAC address matching to any of the peer MAC
address cause crash in firmware, So before creating new session/peer
make sure that there is no peer/session with same MAC address.

Change-Id: I7be415365ab7112b013b478139deb451863d52d8
CRs-Fixed: 1115373
2017-06-14 00:58:37 -07:00
Himanshu Agarwal
7b54106e8f qcacld-3.0: Reduce log level of some prints in ol_tx_data()
Reduce log level of some prints in ol_tx_data() from WARN
to DEBUG.

Change-Id: I1a8d3fb5e1f99be6f243c9287b814373d6b121c0
CRs-Fixed: 2052590
2017-06-14 00:58:36 -07:00
Nitesh Shah
d6b76060c3 qcacld-3.0: Avoid calling decrement session twice in SAP removal
While disabling SAP session, policy_mgr_decr_session_set_pcl()
is getting called twice, one from mc_thread (hdd_hostapd_sap_
event_cb()) and other from hostapd (__wlan_hdd_cfg80211_stop
_ap()). This can corrupt the pm_conn_connection_info table.

This change removes policy_mgr_decr_session_set_pcl() getting
called from hdd_hostapd_sap_event_cb().

Change-Id: Ib16af839060cb2dd3cb9f9957fd6dbb40c3b79dc
CRs-Fixed: 2055025
2017-06-14 00:58:34 -07:00
snandini
b9353fe93a Release 5.2.0.29M
Release 5.2.0.29M

Change-Id: I5649fc13d70e171c69a821f796b96341c6c7b8a9
CRs-Fixed: 774533
2017-06-14 00:20:49 -07:00
Sandeep Puligilla
aa61e43ade qcacld-3.0: Initiate self recovery in unmap timeout handler
Initiate self recovery when firmware failed to send the unmap
event within unmap timeout OL_TXRX_PEER_UNMAP_TIMEOUT value.

Change-Id: I053e34682cb610cb258c7dabdb3f84a4b59525f1
CRs-Fixed: 2023387
2017-06-14 00:20:48 -07:00
snandini
adb751620f Release 5.2.0.29L
Release 5.2.0.29L

Change-Id: I22a40360a6092a78aa669c0309e562ae8808f8a4
CRs-Fixed: 774533
2017-06-13 23:31:05 -07:00
Selvaraj, Sridhar
64b0a9ce71 qcacld-3.0: Update channel info if not provided in FASTREASSOC command
Currently, driver is rejecting the FASTREASSOC command if the channel
is not provided as part of it (or) channel is given as zero.

Update channel from BSS description of the given BSS and honour
the FASTREASSOC command even if the channel is given zero.

Change-Id: Ie67a75fb7ccf470b95454842b7f46baa9b09d54c
CRs-Fixed: 2046547
2017-06-13 23:31:04 -07:00
Jeff Johnson
63d1ac84f0 qcacld-3.0: Validate QCA_WLAN_VENDOR_ATTR_SET_SCANNING_MAC_OUI
Currently in __wlan_hdd_cfg80211_set_scanning_mac_oui() the
QCA_WLAN_VENDOR_ATTR_SET_SCANNING_MAC_OUI attribute is copied without
first performing a length check. Add a check to ensure the attribute
is of the expected length.

Change-Id: I12ee10ed5760af6e5069707ae14b26f275da1829
CRs-Fixed: 2054687
2017-06-13 23:31:02 -07:00
Jeff Johnson
c42ed5caf5 qcacld-3.0: Validate vendor abort scan command
In __wlan_hdd_vendor_abort_scan(), nla_parse() is invoked without
specifying a policy. This can result in a buffer overread when
processing the QCA_WLAN_VENDOR_ATTR_SCAN_COOKIE attribute. To avoid
this issue use the existing "scan_policy" when invoking nla_parse().

Change-Id: Ia3e5cb7535bf0f700399e4a49c9c5da362a3ccf6
CRs-Fixed: 2054775
2017-06-13 23:31:01 -07:00