Commit Graph

6275 Commits

Author SHA1 Message Date
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
Jeff Johnson
9d2952438d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_main.[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: Ica1ce65d05f81f51c3ec04fa4ef3d022c9319886
CRs-Fixed: 2101065
2017-09-11 17:27:49 -07:00
Jeff Johnson
e500667a2d qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_cfg80211.[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: Ic352bd48b7ab47742a2d8ff5827d4ccbfd0b7ae1
CRs-Fixed: 2101070
2017-09-11 17:27:47 -07:00
Jeff Johnson
f0a3c61d63 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs.[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: I4f9785dbd0735b530587226cd6f152d297c515e0
CRs-Fixed: 2101072
2017-09-11 17:27:45 -07:00
Jeff Johnson
652d45b7bc qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ext_scan.c
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: Ibf4ff788afad717610fe58bdbc1a12330a6cce92
CRs-Fixed: 2101067
2017-09-11 17:27:44 -07:00
Jeff Johnson
866aca89e9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_hostapd.[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: Ice6c7b912048dac9efccb7962c40be97aa96323f
CRs-Fixed: 2101058
2017-09-11 17:27:42 -07:00
Jeff Johnson
e44b701b38 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ioctl.[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: I9c7eb9cbbfd31606bfda7c70b7d4dac6d897f680
CRs-Fixed: 2101056
2017-09-11 17:27:40 -07:00
Jeff Johnson
215e34eab5 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_rx_monitor.c
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: I620055afba0b50660053b7e37bd855fd505bc88f
CRs-Fixed: 2101043
2017-09-11 17:27:38 -07:00
Jeff Johnson
7f803c6173 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_scan.c
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: I00f144e95bcaa9b9e96fd0924ae10c065fd7ed14
CRs-Fixed: 2101042
2017-09-11 17:27:36 -07:00
Jeff Johnson
18dd7e10cd qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_softap_tx_rx.[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: I3d9b2f691f1d1acd0b5f853598063f40c4ad817f
CRs-Fixed: 2101037
2017-09-11 17:27:34 -07:00
Jeff Johnson
a11f94b468 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_stats.[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: Iff59139526c947681099ccffa96ae9cc0182a40c
CRs-Fixed: 2101035
2017-09-11 17:27:32 -07:00
Jeff Johnson
b4fc39b13f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_subnet_detect.c
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: I66f20697851fdace617463b068c38ba63f4a07e0
CRs-Fixed: 2101033
2017-09-11 17:27:31 -07:00
Jeff Johnson
327b9d4e2f qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tdls.[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: Iec122d832f372c5f0770051c5f2c067009c9dae0
CRs-Fixed: 2101032
2017-09-11 17:27:29 -07:00
Jeff Johnson
8f38986121 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tsf.[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: I2fd1dec7120e0c0a21b51080d654b5dc653e2589
CRs-Fixed: 2101074
2017-09-11 17:27:27 -07:00
Jeff Johnson
5b76a3e9c2 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_tx_rx.[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: I2ed8c46fa89b11a19a1493194c573622e30d9887
CRs-Fixed: 2101031
2017-09-11 17:27:25 -07:00
Jeff Johnson
3d278b0177 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wext.[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: I3babc3fa2cbafce82081a376305bb6cf6a742699
CRs-Fixed: 2101028
2017-09-11 17:27:23 -07:00
Jeff Johnson
5b8b67d10a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wmm.[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: If34fa6e64a37eb990efadadac187f1d4b20a4eb5
CRs-Fixed: 2101027
2017-09-11 17:27:21 -07:00
Jeff Johnson
0c751e27f7 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_wowl.[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: I322b521f70e7b7b17b9dc1b0cf716f84722ca6e0
CRs-Fixed: 2101025
2017-09-11 17:27:19 -07:00
snandini
9cf1c2b9ff Release 5.2.0.43
Release 5.2.0.43

Change-Id: Ic2e5d8f54c6be3ef22d2b81f381cf154d3cd568d
CRs-Fixed: 774533
2017-09-11 16:22:14 -07:00
Jeff Johnson
38a70f9254 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_debugfs_llstat.c
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: I355f5406e7cb0674f9c235db57aa268849ac7635
CRs-Fixed: 2101073
2017-09-11 16:22:13 -07:00
Jeff Johnson
c7f3ded03a qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_disa.c
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: I545c47380905eaeece9a2a25e0adb9bae1b90ce8
CRs-Fixed: 2101068
2017-09-11 16:22:11 -07:00
Jeff Johnson
1595095836 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_fips.c
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: I022d0092980efc01f48100f9a096a6f6e80e26eb
CRs-Fixed: 2101064
2017-09-11 16:22:09 -07:00
Jeff Johnson
a5dc3f4de9 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ftm.[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: I48952b52777b523d5b383ea4278b8390a4bc4a8e
CRs-Fixed: 2101054
2017-09-11 16:22:07 -07:00
Jeff Johnson
9a7136d522 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_green_ap.c
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: I762cb4c29060d780dcf9647aebe7246610d8f923
CRs-Fixed: 2101057
2017-09-11 16:22:05 -07:00
Jeff Johnson
49d45e6d6e qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ipa.[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: I20d1395208566001aaa3c73689e1f9e6d2b5e94f
CRs-Fixed: 2101053
2017-09-11 16:22:03 -07:00
Jeff Johnson
b763bb9da0 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lpass.c
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: I07b27f87102c640124312b31b550cc394096019a
CRs-Fixed: 2101050
2017-09-11 16:22:01 -07:00
Jeff Johnson
a56e968a35 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_lro.[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: Iec3c0b0b2e59ac05ad352f5b4e6e2b4528a8b5be
CRs-Fixed: 2101051
2017-09-11 16:21:59 -07:00
Jeff Johnson
8cb9df1092 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_nan_datapath.[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: I2e588aeaf26b85535afa86132aa4216ea630e958
CRs-Fixed: 2101049
2017-09-11 16:21:58 -07:00
Jeff Johnson
e46a84b936 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_object_manager.[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: Ic527031c7a2d0785ec179344cb3519bf65ea6a8c
CRs-Fixed: 2101047
2017-09-11 16:21:56 -07:00
Jeff Johnson
7a1688a113 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_ocb.c
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: Ib14b0e7bdd572294dc490043d5ae92ae2a4baa30
CRs-Fixed: 2101046
2017-09-11 16:21:54 -07:00
Jeff Johnson
da47af82ec qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_oemdata.c
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: Id43c38784aadb07b5352d9ecc2c7dcb0e31dbcd8
CRs-Fixed: 2101045
2017-09-11 16:21:52 -07:00
Jeff Johnson
fbb5452527 qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_p2p.[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: I5be95445278bf120ddf8b1a01a6af8ddf7a0d5d7
CRs-Fixed: 2101039
2017-09-11 16:21:50 -07:00
Jeff Johnson
75b737d48c qcacld-3.0: Replace hdd_adapter_t in wlan_hdd_power.[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: I66ecfb6f5a478298c1300f7ac3086715aa66e4c2
CRs-Fixed: 2101044
2017-09-11 16:21:49 -07:00
snandini
48911a60aa Release 5.2.0.42Z
Release 5.2.0.42Z

Change-Id: Idcc2fe95bfdba6294812fd7bdcd5fa8a3444044e
CRs-Fixed: 774533
2017-09-11 12:16:33 -07:00
Tushnim Bhattacharyya
518e80fc94 qcacld-3.0: Add the DFS MCC check in ACS algorithm
During channel selection for SAP via ACS, add check if there is
a connection on 5Ghz, don't allow SAP to select DFS channel.

Change-Id: If6e42cbc584ddb80588daf138d94d2e0a75b882a
CRs-Fixed: 2102024
2017-09-11 12:16:33 -07:00