Commit Graph

6618 Commits

Author SHA1 Message Date
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
Jeff Johnson
c18b26ce0c qcacld-3.0: Rename pHddCtx in cds_api.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: I1d5be4ab122f3e179cabbd94c24b6f10a437b153
CRs-Fixed: 2103651
2017-09-12 13:20:18 -07:00
snandini
355614ded6 Release 5.2.0.43E
Release 5.2.0.43E

Change-Id: I046e5e2cf6ff99dafa39a3a9ab9958ed6d7ad65f
CRs-Fixed: 774533
2017-09-12 05:27:38 -07:00
Sandeep Puligilla
37e4b2257a qcacld-3.0: update obj manager API definition
update object manager API definition according
to the common driver change.

Change-Id: I6305f405bd2d11bda5217c205f4572cb82910510
CRs-Fixed: 2069665
2017-09-12 05:27:38 -07:00
gaurank kathpalia
14e2f91174 qcacld-3.0: Fix kernel checkpatch warnings in csr_internal.h
Fix kernel checkpatch warnings in csr_internal.h

Change-Id: If7c869e9445853310209a1d3dca420634f95218e
CRs-Fixed: 2025503
2017-09-12 05:27:36 -07:00
snandini
10dc436f8a Release 5.2.0.43D
Release 5.2.0.43D

Change-Id: I4da3c3f26ee7026edaf7bf2925e8695fb1beedf5
CRs-Fixed: 774533
2017-09-12 03:38:02 -07:00
Mohit Khanna
f8f9682e02 qcacld-3.0: Dptrace enhancements
* Log EAPOL, ARP, DHCP, MGMT, ROAM Events, ICMP, Data packets,
  TX-Completions by default.
* Set default verbosity as low (existing is high)
* Throttle ICMP and Data packets if threshold exceeds.
* Enable live mode by default. Added ini entry to disable
  it and configure high throughput thresh - gDptraceConfig
* Log only SA and DA for proto packets (and not 32 bytes)
* Format prints to fit in 1 line.

CRs-Fixed: 2051134
Change-Id: Ia94732e49023950f458a7402650d4b8f5e1d5563
2017-09-12 03:38:02 -07:00
Ajit Pal Singh
7ae88fbc8a qcacld-3.0: Ignore CSA, if new channel not ok for DNBS
When Do_Not_Switch_Channel is set on an AP interface participating in
AP+STA SCC and CSA event is received on the STA interface,
reject the new CSA channel if it is not OK for DNBS.

Change-Id: I51c35ba2f1f3eccf4f5d58cb802e3dca50b17227
CRs-Fixed: 2105090
2017-09-12 03:38:00 -07:00
snandini
2f337e73c0 Release 5.2.0.43C
Release 5.2.0.43C

Change-Id: I9612dbe17dec95b7e089c6a54ab2f12cf8822383
CRs-Fixed: 774533
2017-09-12 01:26:10 -07:00
Jeff Johnson
33189d0e78 qcacld-3.0: Remove obsolete csr_msg_processor() code
Currently csr_msg_processor() contains logic that is conditionally
compiled based upon ANI_RTT_DEBUG and ANI_EMUL_ASSOC. These are
obviously obsolete references since these are the only references in
the code, and since they are referencing a variable that is not
present in the function. Since these are obsolete, remove them.

Change-Id: Ie258f188dd2791be96f2e95fcf4e8a71c4ea44eb
CRs-Fixed: 2103630
2017-09-12 01:26:10 -07:00
snandini
f24aecfb25 Release 5.2.0.43B
Release 5.2.0.43B

Change-Id: I3fc426e57e8e50f9d9f6ba99ca138033daca5862
CRs-Fixed: 774533
2017-09-11 23:27:26 -07:00
gaolez
e510894670 qcacld-3.0: Add new params in ACS calc process
qcacld-2.0 to qcacld-3.0 propagation

Before this change the ACS calc process only consider the
channel's rssi and bss count in this channel, in this change
add noise floor, channel free statistics and tx power in the
ACS calc process.

Change-Id: I654e53fa2441e03723f150d973c124985c67f2b4
CRs-fixed: 1050316
2017-09-11 23:27:25 -07:00
snandini
0bd07c450e Release 5.2.0.43A
Release 5.2.0.43A

Change-Id: I271ffbe9a4ea6b8b96ddaee595cfeabde1c9e8f3
CRs-Fixed: 774533
2017-09-11 17:27:55 -07:00
Jeff Johnson
dba0db6551 qcacld-3.0: Rename field pHddCtx in struct hdd_adapter
In struct hdd_adapter rename field pHddCtx to hdd_ctx to align with
the Linux Coding Style.

Change-Id: Id19662913f191a08b8672b46d12b9c1b4a01afa8
CRs-Fixed: 2101837
2017-09-11 17:27:55 -07:00
Jeff Johnson
399c627d49 qcacld-3.0: Consistently use WLAN_HDD_GET_CTX()
There are some places where the HDD context is extracted from an HDD
adapter using a direct reference instead of using WLAN_HDD_GET_CTX().
Update all such instances to use WLAN_HDD_GET_CTX(). This is a
precursor to renaming the pHddCtx field in the hdd_adapter structure.

Change-Id: Ic577ed7944b086ce72b15a66ccc166878a4a3fce
CRs-Fixed: 2101835
2017-09-11 17:27:53 -07:00
Jeff Johnson
b1704c8642 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_assoc.[ch]
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_adapter_t typedef does not
meet any of those criteria, so replace references to it with a
reference to the underlying struct.

Change-Id: Ia632a3738d5c4a4637cddbf5a5f521c26c4e1c6a
CRs-Fixed: 2101066
2017-09-11 17:27:51 -07:00