Commit Graph

8178 Commits

Author SHA1 Message Date
Sandeep Puligilla
999ba33342 qcacld-3.0: cleanup legacy scan request processing
Cleanup legacy scan request processing
from HDD and SME api to process the same.

Change-Id: Ic160dfafcfa015eb42a226304260b1be3dddc6f0
CRs-Fixed: 2136149
2017-11-05 00:08:30 -07:00
snandini
7855452db0 Release 5.2.0.52O
Release 5.2.0.52O

Change-Id: Ifa4f61e66490040b2141ba5021e0957155992ea7
CRs-Fixed: 774533
2017-11-04 06:59:44 -07:00
Tushnim Bhattacharyya
8629489f02 qcacld-3.0: Stop the opportunistic timer when hdd stop happens
Stop the opportunistic timer & take action if needed when hdd stop
happens. Also, take action when set_hw_mode request to FW times out.

Change-Id: I32f1e38e93a5805e0d85b800cc4e070cd6f79669
CRs-Fixed: 2133388
2017-11-04 06:59:44 -07:00
Rajeev Kumar
6c46dd8335 qcacld-3.0: Remove duplicate PNO scan update logic from legacy HDD
PNO is moved to scan component and logic to update PNO scan result
has also moved to SCM hence remove the duplciate logic from HDD.

Change-Id: I85c601fef72021a053e1d73cc3a295cffb010fbe
CRs-Fixed: 2138067
2017-11-04 06:59:41 -07:00
snandini
73404973b3 Release 5.2.0.52N
Release 5.2.0.52N

Change-Id: Ibe30ac6680b7ba2fdbf28c4a0246fe5b0a80388d
CRs-Fixed: 774533
2017-11-03 15:58:46 -07:00
Sandeep Puligilla
8fa28fd26f qcacld-3.0: Clear the HDD scan list during exit
HDD scan list is not cleared as part of
wlan driver exit if the driver state is
closed.

Clear the HDD scan list irrespective of the driver
status but send scan abort to firmware only when
firmware is active. It mean don't send abort when
driver is in closed state.

Change-Id: Ib1b52203aafafd3e7af50224e5d245c80c45efad
CRs-Fixed: 2137288
2017-11-03 15:58:45 -07:00
snandini
21e2f8eb1f Release 5.2.0.52M
Release 5.2.0.52M

Change-Id: I3a6646bda9acbd72c150b1f44472329d4b6a9991
CRs-Fixed: 774533
2017-11-03 05:48:43 -07:00
Abhishek Singh
4472548952 qcacld-3.0: Fix IBSS peer memory leaks
In IBSS while adding the peer the BSSID mac address was used
instead of peer address. Also while deleting peer the MAC was not
properly fetched and thus peers were not added and deleted properly
leading to peer leak.

Fix this by using peer mac while adding the IBSS peer and using
proper MAC while deleting the IBSS peer.

Change-Id: I1315103999ebec6643b3ffd6cf73e164abd5c7fa
CRs-Fixed: 2136752
2017-11-03 05:48:43 -07:00
snandini
3b4b41d6c9 Release 5.2.0.52L
Release 5.2.0.52L

Change-Id: If6ceb1f4e5639f90bc19562811d160477abd4774
CRs-Fixed: 774533
2017-11-03 03:48:22 -07:00
bings
8321073763 qcacld-3.0: Do not destroy rx_buff_list_lock if it is not used
When CONFIG_HL_SUPPORT is defined, htt_rx_dbg_rxbuf_init is not called,
and rx_buff_list_lock is not initialized. rx_buff_list_lock should not
be destroyed if it is not initialized.

Do not call htt_rx_dbg_rxbuf_deinit when CONFIG_HL_SUPPORT is defined.

Change-Id: I9d64313efd5a9978b3fb953ac5d7ffb466abe010
CRs-Fixed: 2134345
2017-11-03 03:48:22 -07:00
snandini
676617373e Release 5.2.0.52K
Release 5.2.0.52K

Change-Id: I973315ff68aecc5a91662ce3e52c606cf8bb874b
CRs-Fixed: 774533
2017-11-02 16:56:22 -07:00
Jeff Johnson
7d2f4c689f qcacld-3.0: Rename struct hdd_wapi_info fields
Per the Linux coding style "mixed-case names are frowned upon" so
rename all fields in struct hdd_wapi_info.

Change-Id: I7df5a9523d00186f8b40de81c8544c0c1dc56b69
CRs-Fixed: 2137220
2017-11-02 12:59:16 -07:00
Jeff Johnson
1b780e42ba qcacld-3.0: Rename hdd_adapter sessionId field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sessionId in struct hdd_adapter.

Change-Id: Ic33452766d5aee02fa0d87f9d198485b4192db39
CRs-Fixed: 2135916
2017-11-02 12:59:16 -07:00
Jeff Johnson
af2ae4b3bf qcacld-3.0: Rename some hdd_roaming_info fields
Per the Linux coding style "mixed-case names are frowned upon" so
rename the following fields in struct hdd_roaming_info:
- peerMac
- roamId
- roamStatus
- deferKeyComplete

Change-Id: I14f280ad3d8043aee3098ad9f28fc86a97202249
CRs-Fixed: 2136542
2017-11-02 12:59:16 -07:00
Jeff Johnson
02d14cee08 qcacld-3.0: Rename hdd_adapter hddWmmStatus field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddWmmStatus in struct hdd_adapter.

Change-Id: I6434cc45e4e00bad602721336011b335ca300687
CRs-Fixed: 2135914
2017-11-02 12:59:16 -07:00
Jeff Johnson
fee20aa724 qcacld-3.0: Remove obsolete roamingState
Field roamingState in struct hdd_roaming_info is written but never
read. Since this information is not used, remove it.

Change-Id: If845658a3aa46843e6e558911ed8dee68ea592d1
CRs-Fixed: 2135912
2017-11-02 12:59:16 -07:00
Jeff Johnson
bd4c4f029b qcacld-3.0: Rename hdd_adapter linkStatus field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field linkStatus in struct hdd_adapter.

Change-Id: I842b4caae5f0c8fef90d9a6971cce2416983dc6f
CRs-Fixed: 2135915
2017-11-02 12:59:16 -07:00
Jeff Johnson
e2ba3cdc2d qcacld-3.0: Rename hdd_context enableRxThread field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableRxThread in struct hdd_context.

Change-Id: Ie9f100879a730d341f89a035d8386685d71a3a44
CRs-Fixed: 2135911
2017-11-02 12:59:15 -07:00
Jeff Johnson
19fc8e4ed5 qcacld-3.0: Rename hdd_context hddAdapters field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field hddAdapters in struct hdd_context.

Change-Id: I6e7e0b4fe5a93a9ce830313bf2537564062e5ce5
CRs-Fixed: 2135910
2017-11-02 12:59:15 -07:00
Jeff Johnson
214671b36b qcacld-3.0: Rename hdd_context isWiphySuspended field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isWiphySuspended in struct hdd_context.

Change-Id: If32333fe2cf5a4494e0f631909ebc1e16d679269
CRs-Fixed: 2135909
2017-11-02 12:59:15 -07:00
Jeff Johnson
b94248675b qcacld-3.0: Rename hdd_adapter sessionCtx field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sessionCtx in struct hdd_adapter.

Change-Id: I726adb12694860a57e1c9a46071ed97dafdc46e9
CRs-Fixed: 2134952
2017-11-02 12:59:15 -07:00
Jeff Johnson
2ec495d3c9 qcacld-3.0: Remove eSAP_GET_WPSPBC_SESSION_EVENT
"qcacld-3.0: Remove support for eWNI_SME_GET_WPSPBC_SESSION_REQ"
(Change-Id: Ia95c4911600a45d1004b9e6148b1b04f414e2475) removed the
only function which sends eSAP_GET_WPSPBC_SESSION_EVENT. Since this
event is obsolete, remove it.

Change-Id: I9d83f66bce4ec66bc131747254a45d8b6afb5cbb
CRs-Fixed: 2134951
2017-11-02 12:59:15 -07:00
Jeff Johnson
1659538a43 qcacld-3.0: Remove support for eWNI_SME_GET_WPSPBC_SESSION_REQ
Change "qcacld-3.0: Remove csr_send_mb_get_wpspbc_sessions()"
(Change-Id: Id745fdfe8b111f9e53b98fde90fa67de556dd3fc) removed the
only funtion which issues the eWNI_SME_GET_WPSPBC_SESSION_REQ
message. Since this message is now obsolete, remove support for this
message from LIM.

Change-Id: Ia95c4911600a45d1004b9e6148b1b04f414e2475
CRs-Fixed: 2134950
2017-11-02 12:59:15 -07:00
Jeff Johnson
c42892c802 qcacld-3.0: Remove csr_send_mb_get_wpspbc_sessions()
Change "qcacld-3.0: Remove csr_roam_get_wps_session_overlap()"
(Change-Id: Iff2e40f4b8d59f4355330b752123c9785d33ff1e) removed the
only caller of csr_send_mb_get_wpspbc_sessions(). Since this function
is now unused, remove it.

Change-Id: Id745fdfe8b111f9e53b98fde90fa67de556dd3fc
CRs-Fixed: 2134948
2017-11-02 12:59:15 -07:00
Jeff Johnson
832f8d93cf qcacld-3.0: Remove csr_roam_get_wps_session_overlap()
Change "qcacld-3.0: Remove sme_roam_get_wps_session_overlap()"
(Change-Id: I6480bbefe5ee1e74d5ce8b5d488899dedf4a33df) removed the
only caller of csr_roam_get_wps_session_overlap(). Since this function
is now unused, remove it.

Change-Id: Iff2e40f4b8d59f4355330b752123c9785d33ff1e
CRs-Fixed: 2134949
2017-11-02 12:59:15 -07:00
Jeff Johnson
0b915a5af7 qcacld-3.0: Remove sme_roam_get_wps_session_overlap()
Change "qcacld-3.0: Remove wlansap_*_wps_session_overlap()"
(Change-Id: Ib36fe420478ea9a5c5485a4cff6b5bd01d2a51f5) removed the
only caller of sme_roam_get_wps_session_overlap(). Since this function
is now unused, remove it.

Change-Id: I6480bbefe5ee1e74d5ce8b5d488899dedf4a33df
CRs-Fixed: 2134947
2017-11-02 12:59:14 -07:00
Jeff Johnson
fab9b2525c qcacld-3.0: Remove setHDtimTransn ioctl support
The setHDtimTransn ioctl is obsolete, so remove it.

Change-Id: I2745ee2f2bc2f0d33f792c33b57232b146822e33
CRs-Fixed: 2134946
2017-11-02 12:59:14 -07:00
Jeff Johnson
d30ee4b603 qcacld-3.0: Rename hdd_adapter isLinkLayerStatsSet field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isLinkLayerStatsSet in struct hdd_adapter.

Change-Id: I1fd0b9376ca49734f1fdbe44a072aaa2b65265d7
CRs-Fixed: 2134945
2017-11-02 12:59:14 -07:00
Jeff Johnson
1e851a16f7 qcacld-3.0: Rename hdd_adapter macAddressCurrent field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field macAddressCurrent in struct hdd_adapter.

Change-Id: If4c674f7d8f10089d72e78954922ed1e859ea08e
CRs-Fixed: 2134944
2017-11-02 12:59:14 -07:00
Jeff Johnson
b527ebe705 qcacld-3.0: Rename hdd_adapter IP notifier work queues
Per the Linux coding style "mixed-case names are frowned upon" so
rename fields ipv4NotifierWorkQueue and ipv6NotifierWorkQueue in
struct hdd_adapter.

Change-Id: I91e3a439bb4e9aabbc2ab22673379e1332e5075d
CRs-Fixed: 2134943
2017-11-02 12:59:14 -07:00
Jeff Johnson
137c8eec3a qcacld-3.0: Rename hdd_adapter PSB fields
Per the Linux coding style "mixed-case names are frowned upon" so
rename fields psbChanged and configuredPsb in struct hdd_adapter.

Change-Id: I87d7b74f95e3644f718fc18ace285bf4b6066985
CRs-Fixed: 2134942
2017-11-02 12:59:14 -07:00
Jeff Johnson
18e866295d qcacld-3.0: Remove unused hdd_adapter TX fields
Fields mgmtTxCompletionStatus, monTxWorkQueue, and skb_to_tx in struct
hdd_adapter are unused, so remove them.

Change-Id: Ie050f8e144fdaf35fadb0baeb22a31c209a93b28
CRs-Fixed: 2134941
2017-11-02 12:59:14 -07:00
Jeff Johnson
c72c573df8 qcacld-3.0: Rename hdd_adapter isLinkUpSvcNeeded field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isLinkUpSvcNeeded in struct hdd_adapter.

Change-Id: If2c6f33fb1a25fc3a88ba2f42309b5cb5bb11d65
CRs-Fixed: 2134940
2017-11-02 12:59:14 -07:00
Jeff Johnson
37fa040541 qcacld-3.0: Rename hdd_scan_info scanAddIE field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field scanAddIE in struct hdd_scan_info.

Change-Id: I8cc53023d703f91a8d63d8831a6eaaaea6ab9f4a
CRs-Fixed: 2134938
2017-11-02 12:59:14 -07:00
Jeff Johnson
5287de5176 qcacld-3.0: Rename pScanInfo
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pScanInfo to align with the Coding
Style.

Change-Id: I2873e1121e412ea68561f02da74d231c37e58eeb
CRs-Fixed: 2134936
2017-11-02 12:59:13 -07:00
Jeff Johnson
157120959e qcacld-3.0: Rename pWlanHostapdDev
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pWlanHostapdDev to align with the Coding
Style.

Change-Id: I78ea8d69c01d6af6941428c87bdb97d0be30dd4c
CRs-Fixed: 2134935
2017-11-02 12:59:13 -07:00
Jeff Johnson
6b82488af5 qcacld-3.0: Remove hdd_scan_info abortscan_event_var
Field abortscan_event_var in struct hdd_scan_info is no longer being
used, so remove it.

Change-Id: Idf5aa00d90a01e67f640036fefaa23196c343622
CRs-Fixed: 2134934
2017-11-02 12:59:13 -07:00
Jeff Johnson
0f9f87bca7 qcacld-3.0: Rename hdd_hostapd_state bssState field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field bssState in struct hdd_hostapd_state.

Change-Id: I0c259c8344f081fd755b574344cd8a721da4af18
CRs-Fixed: 2134933
2017-11-02 12:59:13 -07:00
Jeff Johnson
c98d41d718 qcacld-3.0: hdd: Remove obsolete WPS PBC support
The current driver contains support for WPS PBC handling that is
obsolete, so remove it.

Change-Id: I0e51f7aac5d82d0631939aa250ea5e7e6901cb7d
CRs-Fixed: 2134932
2017-11-02 12:59:13 -07:00
Jeff Johnson
0120686b2c qcacld-3.0: Rename hdd_ap_ctx operatingChannel field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field operatingChannel in struct hdd_ap_ctx.

Change-Id: Id7392319f9fed6aa098f349802624b55c9397cc8
CRs-Fixed: 2134931
2017-11-02 12:59:13 -07:00
Jeff Johnson
136c51b1b9 qcacld-3.0: Rename hdd_ap_ctx bApActive field
Per the Linux coding style "mixed-case names are frowned upon" and
"so-called Hungarian notation [...] is brain damaged" so rename field
bApActive in struct hdd_ap_ctx.

Change-Id: Id17869c55aa0467a4d1e845e9afd5002079197c9
CRs-Fixed: 2134930
2017-11-02 12:59:13 -07:00
Jeff Johnson
91df29d902 qcacld-3.0: Rename hdd_ap_ctx sapConfig field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sapConfig in struct hdd_ap_ctx.

Change-Id: I9e9f7f2f3dbb4f0faf8118e552d99c6d402dd7b0
CRs-Fixed: 2134929
2017-11-02 12:59:13 -07:00
Jeff Johnson
0bbe66fab7 qcacld-3.0: Rename hdd_ap_ctx sapContext field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field sapContext in struct hdd_ap_ctx.

Change-Id: Id775f77bc052a99bb443af9fa8166ec814478ddf
CRs-Fixed: 2134928
2017-11-02 12:59:13 -07:00
snandini
b2a8448843 Release 5.2.0.52J
Release 5.2.0.52J

Change-Id: Ib839fbc52a467a8a73d86efc5661d18d005e6cec
CRs-Fixed: 774533
2017-11-02 09:38:18 -07:00
Rajeev Kumar
9084cc835d qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_is_vdev_connected to ucfg_pmo_is_vdev_connected
to match existing naming convention for component ucfg APIs.

Change-Id: Idd04103664135f226881b07263365d70df5790e0
CRs-Fixed: 2135888
2017-11-02 09:38:18 -07:00
Rajeev Kumar
029015e2ba qcacld-3.0: Rename pmo_ucfg_* APIs to ucfg_pmo_* APIs
Rename pmo_ucfg_is_ap_mode_supports_arp_ns to ucfg_pmo_*
to match existing naming convention for component ucfg APIs.

Change-Id: I6877e1ebbc8a89d9b2cfb08f7af46e3f3b6606f3
CRs-Fixed: 2135193
2017-11-02 09:38:15 -07:00
snandini
a65c57e424 Release 5.2.0.52I
Release 5.2.0.52I

Change-Id: Ic37f1ab5427dc700dfe4fdc842f9ac73c3878058
CRs-Fixed: 774533
2017-11-02 05:48:30 -07:00
bings
29c9986f1f qcacld-3.0: Do adapter deinit after adapter stop in hdd_wlan_exit
Do adapter deinit in hdd_wlan_exit to free sapConfig.acs_cfg.ch_list.
Otherwise there may be memory leak.

Change-Id: I523a649e37fc0582c7e913edfa7d89f1eaac76a6
CRs-Fixed: 2136031
2017-11-02 05:48:29 -07:00
snandini
b09d513a9a Release 5.2.0.52H
Release 5.2.0.52H

Change-Id: I745bb171b5ef9889b80401e20e144f0fbc90d6fe
CRs-Fixed: 774533
2017-11-02 03:38:20 -07:00
Paul Zhang
2389cbe69c qcacld-3.0: Take care DEL the peer ref conunt
Take care DEL the peer ref conunt in function
ol_txrx_mgmt_send_frame.

Change-Id: Icd6176753cfb9a2a7bd9303be2d55e6ea7feb5be
CRs-Fixed: 2129920
2017-11-02 03:38:19 -07:00