Commit Graph

1418 Commits

Author SHA1 Message Date
Jeff Johnson
edff0d92af qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [3/7]
Currently the HDD code uses a variety of logging APIs.  In qcacld-3.0
HDD should converge on a unified set of logging APIs.  Update
wlan_hdd_hostapd.c to use the unified set of APIs.  Since there are a
large number of changes in this file, perform the conversion in
phases.

For phase 3 update the following functions:
__iw_softap_setparam()
__iw_softap_get_three()

Change-Id: I5db86f54bcc978d7935873423fa1e91bc83d7a2e
CRs-Fixed: 937661
2016-07-13 17:22:11 -07:00
Jeff Johnson
fb33cf59d4 qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [2/7]
Currently the HDD code uses a variety of logging APIs.  In qcacld-3.0
HDD should converge on a unified set of logging APIs.  Update
wlan_hdd_hostapd.c to use the unified set of APIs.  Since there are a
large number of changes in this file, perform the conversion in
phases.

For phase 2 update the following functions:
hdd_softap_unpack_ie()
hdd_softap_set_channel_change()
__iw_softap_set_ini_cfg()
__iw_softap_get_ini_cfg()
__iw_softap_set_two_ints_getnone()

Change-Id: Ia755a63c7154253a02b395fa60f8d3ef82628bba
CRs-Fixed: 937661
2016-07-13 17:22:10 -07:00
Jeff Johnson
cfb85837d3 qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [1/7]
Currently the HDD code uses a variety of logging APIs.  In qcacld-3.0
HDD should converge on a unified set of logging APIs.  Update
wlan_hdd_hostapd.c to use the unified set of APIs.  Since there are a
large number of changes in this file, perform the conversion in
phases.

For phase 1 update the following functions:
hdd_hostapd_channel_allow_suspend()
hdd_hostapd_channel_prevent_suspend()
__hdd_hostapd_open()
__hdd_hostapd_stop()
__hdd_hostapd_uninit()
hdd_set_sap_ht2040_mode()
hdd_hostapd_inactivity_timer_cb()
hdd_clear_all_sta()
hdd_stop_bss_link()
hdd_issue_stored_joinreq()
hdd_send_radar_event()
hdd_hostapd_sap_event_cb()

Change-Id: I5ba28609a7859472bfe08517260364f286f068f4
CRs-Fixed: 937661
2016-07-13 17:22:09 -07:00
Gupta, Kapil
8a605e1b59 qcacld-3.0: Correct len size of oem data request
qcacld-2.0 to qcacld-3.0 propagation.

oem data request len size should be of 4 byte instead of
1 byte.
Add changes to correct len size in oem data structure across the
layers.

Change-Id: I9b377420c50ff1160964f94be5eaa0072df0f63d
CRs-Fixed: 1013488
2016-07-13 15:27:49 -07:00
Vishwajith Upendra
5db81c93fc Release 5.1.0.22
Release 5.1.0.22

Change-Id: I8b5c9595128030e430d5d8fbf1130c3f760e9689
CRs-Fixed: 688141
2016-07-13 14:02:38 -07:00
Leo Chang
bc24e6177e qcacld-3.0: ipa data path bug fix
WDI RX ring size should be larger than RX buffer count
RX2 ring free bug fix
WDI HTT message free bug fix

Change-Id: Ib3dda42ab46d07fab1847e2590d815c851524960
CRs-fixed: 1037977
2016-07-13 13:14:23 -07:00
Service qcabuildsw
6fcd420ab8 Merge "Release 5.1.0.21" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:56 -07:00
Service qcabuildsw
c70c78a7f2 Merge "qcacld-3.0: Fix chain mask & nss in policy manager connection table" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:54 -07:00
Service qcabuildsw
02f25de8f1 Merge "qcacld-3.0: Set CT window size while enabling P2P opportunistic power save" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:51 -07:00
Service qcabuildsw
e6148d6dc8 Merge "qcacld-3.0: Add NULL check before dereferencing pdev" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:47 -07:00
Service qcabuildsw
62fced3f52 Merge "qcacld-3.0: Check inputs during vdev register" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:45 -07:00
Service qcabuildsw
23f28aca26 Merge "qcacld-3.0: Remove unused macros from Kbuild" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:42 -07:00
Service qcabuildsw
0f82efc9b9 Merge "qcacld-3.0: Fix null pointer dereference in wlan_hdd_nan_datapath.c" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:40 -07:00
Service qcabuildsw
0ddd1e68b4 Merge "qcacld-3.0: Remove IBSS from MAX_IBSS_PEERS macro" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:37 -07:00
Service qcabuildsw
444380d071 Merge "qcacld-3.0: Use hdd_err and hdd_info instead of legacy hddLog api" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:35 -07:00
Service qcabuildsw
9512ba12c4 Merge "qcacld-3.0: Fix vendor ID for P2P listen offload" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:32 -07:00
Service qcabuildsw
b5706392e7 Merge "Release 5.1.0.20" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:30 -07:00
Service qcabuildsw
30cd33d895 Merge "qcacld-3.0: Revert [qca-cld]Fix for UDP-UL data-stall on ROME3.1" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:27 -07:00
Service qcabuildsw
1b3fb824e5 Merge "qcacld-3.0: Fix compilation error on disabling MCC to SCC switch feature" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:24 -07:00
Service qcabuildsw
a5f36ac024 Merge "qcacld-3.0: Move NULL check before dereferencing pdev" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:21 -07:00
Service qcabuildsw
befb64dca2 Merge "qcacld-3.0: Add validation to avoid buffer overflow" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:19 -07:00
Service qcabuildsw
aeec51e0d5 Merge "Release 5.1.0.19" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:17 -07:00
Service qcabuildsw
bdfd84d893 Merge "qcacld-3.0: update fw common interface files(part-2)" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:14 -07:00
Service qcabuildsw
f6bcb1de8d Merge "qcacld-3.0: Add host changes for latest fw common changes" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:12 -07:00
Service qcabuildsw
2ea922dbc9 Merge "qcacld-3.0: Correct fw common references in dp layer" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:10 -07:00
Service qcabuildsw
e8d9431b15 Merge "qcacld-3.0: update FW common interface files" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:07 -07:00
Service qcabuildsw
a58b6df0a9 Merge "qcacld-3.0: Add support for WMI_PDEV_WAL_POWER_DEBUG_CMD" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:04 -07:00
Service qcabuildsw
bd74b26639 Merge "qcacld-3.0: Use interval field provided by DRIVER command P2P_SET_NOA" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:02 -07:00
Service qcabuildsw
98b90c4ca1 Merge "qcacld-3.0: Update log level related to PNO" into wlan-cld3.driver.lnx.1.1-dev 2016-07-13 11:12:00 -07:00
Nitesh Shah
816bc13725 qcacld-3.0: CL 1535058 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

WMI service flag for flash read / write support.

Change-Id: I896b4b53f596df96ec7f023b9301f6a695cd325a
CRs-fixed: 865207
2016-07-12 22:57:42 -07:00
Nitesh Shah
49eecf0de5 qcacld-3.0: CL 1536911 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

WMI pdev params to specify retry limit for control frames, and
propagation delay.

Change-Id: I9662d4cfee0910706486ae1709749aacd938fa3c
CRs-fixed: 865207
2016-07-12 22:57:41 -07:00
Nitesh Shah
3a9430639e qcacld-3.0: CL 1535819 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

WMI interface change for DBS roaming and CSA roaming.

Change-Id: Ia483de75c1ea7caa6526aaddd15886fe6a4404bd
CRs-fixed: 865207
2016-07-12 22:57:40 -07:00
Nitesh Shah
5de1cf8de2 qcacld-3.0: CL 1534810 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Define WMI messages for per-AC rx reorder timeouts
and A-MPDU aggregation limits.

Change-Id: I19d96379a93e2d860cce249704834f06f271efb0
CRs-fixed: 865207
2016-07-12 22:57:38 -07:00
Selvaraj, Sridhar
217e9a985e qcacld-3.0: CL 1532157 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation

Add WMI TDLS scan start, complete events.

Change-Id: I74f0948061bee593dc15a0ceaab0a25633bb6dd4
CRs-fixed: 865207
2016-07-12 22:57:37 -07:00
Pradeep Reddy POTTETI
b36e8fcd63 qcacld-3.0: CL 1530684 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add scan flags for half and quarter-rate channels.
Add WMI service bit for commands pertaining to Host managed
RX reorder.

Change-Id: I2baf13e0ab8f669153b0fb66f2b286c40f1fcc20
CRs-fixed: 865207
2016-07-12 22:57:35 -07:00
Pradeep Reddy POTTETI
4189bf9ed9 qcacld-3.0: CL 1529540 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Tufello USB Wlan Adapter - Flash Read

Change-Id: Ib90306a871febe43a076ae8b104442bbc3a4960c
CRs-Fixed: 865207
2016-07-12 22:57:34 -07:00
Pradeep Reddy POTTETI
a280b5cb0b qcacld-3.0: CL 1528698 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add support for setting hardware mode within WMI_INIT_CMD

Change-Id: If5855fb1f1bc2a85fd27a34575a009b9f6b1e008
CRs-fixed: 865207
2016-07-12 22:57:32 -07:00
Pradeep Reddy POTTETI
67c778a99b qcacld-3.0: CL 1527757 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add bundled tx mgmt complete event

Change-Id: Ib1ba4b9b4ae60ee6e8095d6cfe754bbf2a1c69b2
CRs-fixed: 865207
2016-07-12 22:57:31 -07:00
Krishna Kumaar Natarajan
2f7a44de13 qcacld-3.0: CL 1527207 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add mcast filter set/delete command that can take multiple
filters in a list.
Fix HTT typos to make MACROS consistent with the field name.

Change-Id: I97ca72f102faecfc3d20409b0d4819a09968417c
CRs-fixed: 865207
2016-07-12 22:57:30 -07:00
Pradeep Reddy POTTETI
d2e6daeb9a qcacld-3.0: CL 1525577 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Remove duplicate OP(WMI_IPA_OFFLOAD_ENABLE_DISABLE_CMDID)

Change-Id: Icc1553c69ab5cf11e499c02922a5b8b28b948055
CRs-fixed: 865207
2016-07-12 22:57:29 -07:00
Pradeep Reddy POTTETI
dead2bd976 qcacld-3.0: CL 1524945 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

New WMI command for reorder queue setup/removal

Change-Id: I31ad0432a0d5f49eed55603ae7d9eeedbdd19876
CRs-Fixed: 865207
2016-07-12 22:57:28 -07:00
Vishwajith Upendra
4d2ec9a8b8 Release 5.1.0.21
Release 5.1.0.21

Change-Id: I90f4c0c00d4ca85d890bfc01b5bdb3571c235aba
CRs-Fixed: 688141
2016-07-12 14:21:16 -07:00
Tushnim Bhattacharyya
f44a9d86cd qcacld-3.0: Fix chain mask & nss in policy manager connection table
The chain mask in policy manager connection table needs to be updated
with the capability that HW advertises at load time intersected with
related ini configuration on host. The dynamic change of the chain
mask & NSS values will be handled only by chain mask manager in
firmware.

Change-Id: I250668c93920a63c9278aefe93491cb5aaa91ca7
CRs-Fixed: 1037816
2016-07-12 10:02:49 -07:00
Manishekar Chandrasekaran
0575beee56 qcacld-3.0: Set CT window size while enabling P2P opportunistic power save
Allow setting of CT window size while enabling P2P opportunistic power
save using the DRIVER command 'P2P_SET_PS'. This removes the need to send
two commands to set CT window size: 'P2P_SET_PS 1 1 -1' to first enable
opportunistic power save followed by 'P2P_SET_PS -1 -1 30' to set the
window size. Now, the same can be achieved using 'P2P_SET_PS 1 1 30'. The
change is still backward compatible with user space entities which send
two DRIVER commands to achieve this functionality.

Change-Id: I5f3dbe00f64df123d6947e29bb62b0f8f1524080
CRs-Fixed: 1039946
2016-07-12 09:22:12 -07:00
Himanshu Agarwal
10415ce039 qcacld-3.0: Add NULL check before dereferencing pdev
Add NULL check before dereferencing pdev in wma_mgmt_tx_completion_handler.

Change-Id: If7e06e2e46436f96a18d6c6b9ad6fc6afd7a4d8b
CRs-fixed: 1034746
2016-07-12 07:06:01 -07:00
Dhanashri Atre
41c0d28570 qcacld-3.0: Check inputs during vdev register
Change to ensure that the vdev and txrx operations passed to
data path during vdev registration are valid.

Change-Id: I912194184ae65229ddd7243afa58c56f4579959a
CRs-Fixed: 1035414
2016-07-11 19:27:44 -07:00
Sandeep Puligilla
e438cd1f6e qcacld-3.0: Remove unused macros from Kbuild
Kbuild contains several macros in CDEFINES that are no longer used

Removed these macros from Kbuild file

Change-Id: Ib34ada0b2a07b9d428e9b29ad13ce5fe0302d461
CRs-Fixed: 1023225
2016-07-11 18:11:24 -07:00
Naveen Rawat
e21103f6f2 qcacld-3.0: Fix null pointer dereference in wlan_hdd_nan_datapath.c
Fix null pointer dereference in wlan_hdd_nan_datapath.c

Change-Id: Ic968e441411033c3eeb9ec39aff4fc308b80bce8
CRs-Fixed: 962367
2016-07-11 17:34:04 -07:00
Naveen Rawat
c45d162627 qcacld-3.0: Remove IBSS from MAX_IBSS_PEERS macro
Remove IBSS from MAX_IBSS_PEERS, since this is a generic macro.

Change-Id: Ic50205e84890e6a3bda603ad0f54bebfb2a727ea
CRs-Fixed: 1039559
2016-07-11 16:59:53 -07:00
Naveen Rawat
ba4f661f6a qcacld-3.0: Use hdd_err and hdd_info instead of legacy hddLog api
Remove use of hddLog api calls and use newer hdd logging apis:
hdd_err and hdd_info

Change-Id: Ic9a9dbe393a9a7582a31aa613fb812034819a821
CRs-Fixed: 962367
2016-07-11 16:15:24 -07:00