Commit Graph

6324 Commits

Author SHA1 Message Date
Abhishek Singh
e4b6b4ede2 qcacld-3.0: Fix suspicious dereference of pointer
Add proper NULL check before dereferencing pointer,
also add check to validate length of buffer before
copy data.

Change-Id: I41d4dd2119b4525ab1b5b43d44a2d872129a3c31
CRs-Fixed: 2043356
2017-09-12 23:27:41 -07:00
snandini
f86f90520d Release 5.2.0.43G
Release 5.2.0.43G

Change-Id: I190838c8a4844dd72c58fcc3e53f53da66be962f
CRs-Fixed: 774533
2017-09-12 19:54:33 -07:00
Jeff Johnson
a14a3acaf9 qcacld-3.0: Remove csr_set_opposite_band_channel_info()
csr_internal.h exports csr_set_opposite_band_channel_info() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I7a5c775ae80c28bd23972df7e4dfddbead6040a5
Crs-Fixed: 2108359
2017-09-12 19:54:33 -07:00
Jeff Johnson
6061a01ba2 qcacld-3.0: Remove csrScanSetChannelMask() prototype
csr_internal.h exports csrScanSetChannelMask() but the function is not
present, so remove the obsolete prototype.

Change-Id: I405cc2d9aa12cce15c58118d335a7eeb2b863b70
CRs-Fixed: 2108357
2017-09-12 19:54:30 -07:00
Jeff Johnson
634f2ff71c qcacld-3.0: Remove csrScanFilter11dResult() prototype
csr_internal.h exports csrScanFilter11dResult() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: Ie163dc247d47feeb0d6b5a33aa5d78d6fefbc167
CRs-Fixed: 2108355
2017-09-12 19:54:28 -07:00
Jeff Johnson
99c797212d qcacld-3.0: Remove csr_scan_copy_result_list() prototype
csr_inside_api.h exports csr_scan_copy_result_list() but the function
is no longer present, so remove the obsolete prototype.

Change-Id: Ifcc6175325e4cd7a4f04dfbbab817efd672df4c9
CRs-Fixed: 2108354
2017-09-12 19:54:26 -07:00
Jeff Johnson
797ef7c98b qcacld-3.0: Remove csrScanAbort() prototype
csr_inside_api.h exports csrScanAbort() but the function is no longer
preset, so remove the obsolete prototype.

Change-Id: I9ad67836ff45dc9d36185a98f2e5cc7cea70eebc
CRs-Fixed: 2108353
2017-09-12 19:54:24 -07:00
Jeff Johnson
6a5729b35d qcacld-3.0: Remove csr_roam_is_valid40_mhz_channel()
sme_inside.h exports csr_roam_is_valid40_mhz_channel() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: Iea9d46584b038daed1cb690d8036a7fc86ea204e
CRs-Fixed: 2108352
2017-09-12 19:54:21 -07:00
Jeff Johnson
43a80b94d6 qcacld-3.0: Remove csr_roam_issue_ft_roam_offload_synch()
csr_api.h exports csr_roam_issue_ft_roam_offload_synch() but the
function no longer exists, so remove the obsolete prototype.

Change-Id: Ida6f00bc9615c0f50824e4f4a92b75c723d342af
CRs-Fixed: 2108351
2017-09-12 19:54:18 -07:00
Jeff Johnson
bbace0a9fb qcacld-3.0: Remove sapCleanupAllChannelList() prototype
sap_api.h currently exports sapCleanupAllChannelList() but the
implementation of that function is no longer preset, so remove the
obsolete prototype.

Change-Id: Ic7fae1985edebde3784e33aed09d011acbcd251d
CRs-Fixed: 2108350
2017-09-12 19:54:17 -07:00
Jeff Johnson
97b656046f qcacld-3.0: Remove wlansap_update_bw80_cbmode()
Function wlansap_update_bw80_cbmode() is unused, so remove it.

Change-Id: I2377eaad16296f6cce01223a70b241cc177298a0
CRs-Fixed: 2108349
2017-09-12 19:54:14 -07:00
Jeff Johnson
dae9488f36 qcacld-3.0: Remove wlansap_pmc_full_pwr_req_cb()
Function wlansap_pmc_full_pwr_req_cb() is not used, so remove it.

Change-Id: I25d0a5b44d8576b5d302132b47a6955febaec86d
CRs-Fixed: 2108348
2017-09-12 19:54:12 -07:00
Jeff Johnson
22a1c6fc20 qcacld-3.0: Remove wlansap_*_wps_ie()
Functions wlansap_set_wps_ie() and wlansap_update_wps_ie() are unused,
so remove them.

Change-Id: I9552ee4404961ae2973f0c0aefc0821fb7ba5a1e
CRs-Fixed: 2108347
2017-09-12 19:54:10 -07:00
Jeff Johnson
9b495ddfa0 qcacld-3.0: Remove wlansap_*_wps_session_overlap()
Functions wlansap_remove_wps_session_overlap() and
wlansap_get_wps_session_overlap() are unused, so remove them.

Change-Id: Ib36fe420478ea9a5c5485a4cff6b5bd01d2a51f5
CRs-Fixed: 2108345
2017-09-12 19:54:07 -07:00
Jeff Johnson
0654b69a16 qcacld-3.0: Remove wlansap_get_state()
Function wlansap_get_state() is unused, so remove it.

Change-Id: I3736c498a2409e0fe6d67b78fcce2a5e88fefdf5
CRs-Fixed: 2108343
2017-09-12 19:54:05 -07:00
Jeff Johnson
7e3e8c29c6 qcacld-3.0: Remove wlansap_get_assoc_stations()
Function wlansap_get_assoc_stations() is unused, so remove it.

Change-Id: I4a452d6eed9eb035ad124fb5cd1fe5f62f507b5f
CRs-Fixed: 2108342
2017-09-12 19:54:03 -07:00
Jeff Johnson
99fabf11c5 qcacld-3.0: Remove wlansap_clean_cb() prototype
sap_internal.h currently exports wlansap_clean_cb() but the
implementation of that function is no longer present, so remove the
obsolete prototype.

Change-Id: I850b3de45d27d3d8332278d10714254d93ffd2b3
CRs-Fixed: 2108341
2017-09-12 19:54:00 -07:00
Jeff Johnson
7c32e9cab9 qcacld-3.0: Remove wlansap_stop_Wps() prototype
sap_api.h currently exports wlansap_stop_Wps() but the implementation
of that function is no longer preset, so remove the obsolete
prototype.

Change-Id: Iee2fa74b0863a1d80ff9d7cbb9695b9a2cd086a3
CRs-Fixed: 2108340
2017-09-12 19:53:59 -07:00
Dustin Brown
ee3e059c9d qcacld-3.0: Vote link up after HIF configuration
Currently, HDD may attempt to prevent the bus link from going down
before HIF receives any configuration settings. In this situation, HIF
will drop the call to prevent runtime suspend, since it is not yet
enabled in HIF at the time. Reorder the vote for link up to after HIF
receives its configuration.

Change-Id: Id70d7bd2502fb6673a20b1826d8bd863a59bfba5
CRs-Fixed: 2106120
2017-09-12 18:09:46 -07:00
Jeff Johnson
7d89baed6d qcacld-3.0: Do not get global context in hdd_svc_fw_shutdown_ind()
Currently hdd_svc_fw_shutdown_ind() calls cds_get_global_context() to
get the global context. At one time this was necessary since the
global context was required to get the module-specific context.
However the global context is no longer required, so remove the
unnecessary retrieval of the global context.

Change-Id: Ic61370c7d27860b0c6d51c8a610dc770c7c50b0a
CRs-Fixed: 2103618
2017-09-12 18:09:43 -07:00
Jeff Johnson
6c4bf942b0 qcacld-3.0: Remove obsolete struct wlan_txrx_ind_req
struct wlan_txrx_ind_req is no longer used, so remove it.

Change-Id: I28ebf1bba8a95df8270d3f682971afd371936683
CRs-Fixed: 2103631
2017-09-12 18:09:41 -07:00
Kiran Kumar Lokere
d057b7203b qcacld-3.0: Advertise MU Bfee support only if AP supports MU Bfer
Advertise the MU beamformee capability in association request frame
only if the MU beamformer is supported by AP.

Change-Id: Ib962af73189ace27db40973e065e40913ecb7728
CRs-Fixed: 2095251
2017-09-12 18:09:39 -07:00
Rajeev Kumar
bcfddfd968 qcacld-3.0: Log driver entry point in every alternate attempt
Driver unload and SSR waits for all driver entry point to exit.
Log driver active entry point in every alternate attempt such
that debugability is improved.

Change-Id: I36558b473401b86f1fafcdc0346e4f42f264c203
CRs-Fixed: 2106140
2017-09-12 18:09:37 -07:00
Jeff Johnson
5bb76705c6 qcacld-3.0: Remove wlan_hdd_cfg80211_stats_ext_init()
wlan_hdd_stats.h currently defines the stub function
wlan_hdd_cfg80211_stats_ext_init() which is unused, so remove it.

Change-Id: If2ab73f29a3c55b8a77d10c131f4a2cd950e883a
CRs-Fixed: 2106849
2017-09-12 18:09:34 -07:00
Jeff Johnson
8137f1e240 qcacld-3.0: Remove SSID hotlist prototypes
wlan_hdd_ext_scan.h currently exports the following:
- wlan_hdd_cfg80211_extscan_set_ssid_hotlist()
- wlan_hdd_cfg80211_extscan_reset_ssid_hotlist()

These functions were previously deleted but the prototypes were not,
so remove them now.

Change-Id: I47222e45050c227dda5916ccb187782f73edaa22
CRs-Fixed: 2106848
2017-09-12 14:26:10 -07:00
Jeff Johnson
82bad9645b qcacld-3.0: Remove hdd_stop_bus_bw_computer_timer()
wlan_hdd_main.h defines the hdd_stop_bus_bw_computer_timer() stub
function. This function is not used, so remove it.

Change-Id: I81c9da51d8c3e4ef8650667a91b0040675c7c390
CRs-Fixed: 2106845
2017-09-12 14:26:10 -07:00
Jeff Johnson
83498c4b7c qcacld-3.0: Remove hdd_restart_softap() prototype
wlan_hdd_hostapd.h exports hdd_restart_softap() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: I71261f49961c26955e9a3c0120f1716b37f2604a
CRs-Fixed: 2106844
2017-09-12 14:26:10 -07:00
Jeff Johnson
cb57ff8dd0 qcacld-3.0: Remove hdd_remove_ocb_tx_header() prototype
wlan_hdd_ocb.h exports hdd_remove_ocb_tx_header() but the function is
no longer present, so remove the obsolete prototype.

Change-Id: Ia4e7f2f55dfc2d9eddf4c67b53d027eb0815e8c0
CRs-Fixed: 2106842
2017-09-12 14:26:10 -07:00
Jeff Johnson
8b1d810d17 qcacld-3.0: Remove hdd_process_defer_disconnect() prototype
wlan_hdd_cfg80211.h exports hdd_process_defer_disconnect() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I74e3423dfb1d2747acb39e5076e2d571b8526e2e
CRs-Fixed: 2106841
2017-09-12 14:26:10 -07:00
snandini
3e6d0692e3 Release 5.2.0.43F
Release 5.2.0.43F

Change-Id: I0872dfc67d4054a78ef8993ec09c9951fe5e9377
CRs-Fixed: 774533
2017-09-12 14:14:10 -07:00
Jeff Johnson
ff323312c7 qcacld-3.0: Remove hdd_checkandupdate_phymode() prototype
wlan_hdd_main.h exports hdd_checkandupdate_phymode() but the function
is no longer present, so remove the obsolete prototype.

Change-Id: I48afc44a1f4a4fe433278e868de9227a52c5fd78
CRs-Fixed: 2106839
2017-09-12 14:14:09 -07:00
Jeff Johnson
2db2614716 qcacld-3.0: Rename pHddCtx in wlan_hdd_wowl.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I8df41b44d56dcc6365e7ae634de02f2273f2fc75
CRs-Fixed: 2103670
2017-09-12 14:14:08 -07:00
Jeff Johnson
e9fb1287a0 qcacld-3.0: Rename pHddCtx in wlan_hdd_wmm.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I63a386602f9665648c4b823b075e7adf6d757e51
CRs-Fixed: 2103669
2017-09-12 14:14:06 -07:00
Jeff Johnson
ce2ee98931 qcacld-3.0: Rename pHddCtx in wlan_hdd_wext.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I2cf7f6bccc0d23ae9cf7ee5aac54b77ebb2c4b26
CRs-Fixed: 2103668
2017-09-12 14:14:05 -07:00
Jeff Johnson
cc01197ee8 qcacld-3.0: Rename pHddCtx in wlan_hdd_tx_rx.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I71d2bec59cd8221a342926785496e13741bd2ff5
CRs-Fixed: 2103667
2017-09-12 14:14:04 -07:00
Jeff Johnson
9240287b38 qcacld-3.0: Rename pHddCtx in wlan_hdd_softap_tx_rx.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ifd6782ba0c07a701f31ba4dc0a76564511ce052f
CRs-Fixed: 2103666
2017-09-12 14:14:02 -07:00
Jeff Johnson
94827b5278 qcacld-3.0: Rename pHddCtx in wlan_hdd_scan.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I3530b31d311af925aef50aa3196b02be42944261
CRs-Fixed: 2103665
2017-09-12 14:14:01 -07:00
Jeff Johnson
1a9b979dae qcacld-3.0: Rename pHddCtx in wlan_hdd_power.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Iff2d4bbafb9326adf815fdbc6e8af3682d60fdee
CRs-Fixed: 2103664
2017-09-12 14:13:59 -07:00
Jeff Johnson
7c794a1fda qcacld-3.0: Rename pHddCtx in wlan_hdd_p2p.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Idc3b08550628f014189b128d57adf002068473de
CRs-Fixed: 2103663
2017-09-12 14:13:57 -07:00
Jeff Johnson
6da2db1cce qcacld-3.0: Rename pHddCtx in wlan_hdd_ioctl.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Id6fcb13cd7c6d6b63e482f3ab8955acbcdd2efe2
CRs-Fixed: 2103662
2017-09-12 14:13:56 -07:00
Jeff Johnson
c6dda512bc qcacld-3.0: Rename pHddCtx in wlan_hdd_ext_scan.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I6ca802fea814b2f31123a56f1c26853bc930c795
CRs-Fixed: 2103661
2017-09-12 14:13:55 -07:00
Jeff Johnson
8d5e82bcd1 qcacld-3.0: Rename pHddCtx in wlan_hdd_debugfs.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Iaa57767de3f21a4774ce307b21beeb5c814479c4
CRs-Fixed: 2103660
2017-09-12 14:13:54 -07:00
Jeff Johnson
8095a3178f qcacld-3.0: Rename pHddCtx in wlan_hdd_assoc.c
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I68a388259a5108d0c28a35994bfede11bd98b6bd
CRs-Fixed: 2103659
2017-09-12 14:13:52 -07:00
Jeff Johnson
f645abf206 qcacld-3.0: Rename pHddCtx in wlan_hdd_stats.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I98eb634e6e63c35838bac17dd122661d1aee8292
CRs-Fixed: 2103658
2017-09-12 14:13:51 -07:00
Jeff Johnson
23c3b84b16 qcacld-3.0: Rename pHddCtx in wlan_hdd_hostapd.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ie44b894d59d81a7c0fe58341b1f2c3c9fdfebd05
CRs-Fixed: 2103657
2017-09-12 14:13:49 -07:00
Jeff Johnson
b8944726d4 qcacld-3.0: Rename pHddCtx in wlan_hdd_cfg80211.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I18ea54fa8263fdfbbdc82f27c54fc030903db824
CRs-Fixed: 2103656
2017-09-12 14:13:48 -07:00
Jeff Johnson
6fab9b774c qcacld-3.0: Rename pHddCtx in wlan_hdd_tdls.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I465e3d08568c10e57027828542d89e16a66cf46e
CRs-Fixed: 2103655
2017-09-12 14:13:47 -07:00
Jeff Johnson
58adbcfa9c qcacld-3.0: Rename pHddCtx in wlan_hdd_main.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Ia1e7461e464faae0463826ac34183cf34c623ddf
CRs-Fixed: 2103654
2017-09-12 14:13:45 -07:00
Jeff Johnson
2c4a93f5cc qcacld-3.0: Rename pHddCtx in wlan_hdd_ipa.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: Icc584ab8c6467af7e95631b7898296885b310d65
CRs-Fixed: 2103653
2017-09-12 14:13:44 -07:00
Jeff Johnson
723234b89f qcacld-3.0: Rename pHddCtx in wlan_hdd_cfg.[ch]
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pHddCtx to align with the Coding Style.

Change-Id: I17be8e726c381e2cf4c070271e669592d7c6c33a
CRs-Fixed: 2103652
2017-09-12 14:13:43 -07:00