İşleme Grafiği

3791 İşleme

Yazar SHA1 Mesaj Tarih
Arif Hussain
a4a02defe3 qcacmn: wlan_roam_debug: Replace instances of unadorned %p
Replace instances of unadorned %p in wlan_roam_debug_dump_table.

Change-Id: I3fdfcbe30162804f6a32c84ae2f79dc11d649771
CRs-Fixed: 2144062
2017-11-22 15:21:47 -08:00
Rathees kumar Chinannan
cd61d59e3a qcacmn: Add wmi support to dump WDS table
Request and print WDS table from FW using WMI command and event.
WMI_PDEV_WDS_ENTRY_LIST_CMDID is used to request WDS table
entries and WMI_PDEV_WDS_ENTRY_LIST_EVENTID is used to process
received WDS entries.

Change-Id: I452c8067d191d09826a38b751bb66f1bde587d9b
CRs-Fixed: 2003377
2017-11-22 13:20:18 -08:00
Pamidipati, Vijay
c2cf669514 qcacmn: Enable support for new HTT Peer stats TLVs
Enable support for new TLVs (including TIDQ stats) added in
Target Firmware for HTT based peer statistics.

Change-Id: Ia039b835b32953518b29b5ac2f896b1ddad5189c
CRs-Fixed: 2121641
2017-11-22 13:20:16 -08:00
Tushnim Bhattacharyya
1999d41eb6 qcacmn: Make the set HW mode & NSS update actions independent of each other
Typically set hw mode & Nss update happens at the same time. Since the
order of these 2 actions may not be same always, make them independent
of each other.

Change-Id: I652ad08e16680991535e0f064c7b5996f4f58792
CRs-Fixed: 2144977
2017-11-22 01:53:25 -08:00
Abhijit Pradhan
9ae09aeace qcacmn: Have same dfs action for Fulloffload and legacy
After RADAR detection the function should be used for
1)FullOffload
2)Legacy [ partial offload and Direct attach]
chipsets.

Change-Id: Id99f9f25dc5a9f751f9ad74c07a78fb980673300
CRs-Fixed: 2126916
2017-11-21 23:25:41 -08:00
Shashikala Prabhu
2a9f2a0525 qcacmn: Rename dfs_ioctl.h as wlan_dfs_ioctl.h
Rename dfs_ioctl.h file as wlan_dfs_ioctl.h and
move it from cmn_services directory to dfs dispatcher.

Change-Id: I75e0337bd84b71cf77975656423f78f9b016285f
CRs-Fixed: 2127833
2017-11-21 07:32:05 -08:00
Abhijit Pradhan
f9df7db9b5 qcacmn: Avoid functions with a very long list of arguments
To avoid passing multiple parameters to MLME functions from DFS
component, use a common structure between these components and
pass the structure instead of long list of parameters.
Define the common structure in cmn_services directory to access
it in both the components.

Change-Id: I02dde0780eebbce0886685d1f72a62c84e5b4eeb
CRs-Fixed: 2146000
2017-11-21 07:32:03 -08:00
Venkateswara Swamy Bandaru
2907bc546c qcacmn: Fix channel information in mesh tx completion
Update channel information tx completion with frequecy
received in ppdu tx completion. Convert freq to channel
and store in pdev.

Change-Id: I5826528b76b4a5a28a05e805b737d2d49d2140d8
2017-11-21 05:22:16 -08:00
Will Huang
1bf5585a08 qcacmn: Enable D0WOW for pcie
Enable FEATURE_WLAN_DOWOW for pcie.
This is for backward compatible with rome fw.

Change-Id: I41b9628179e81da682e6c6a9100d08ba7268f1a0
CRs-Fixed: 2070433
2017-11-21 03:20:53 -08:00
Rohan Dutta
192f5be008 qcacmn: Add WPA/RSN IE from driver
Add WPA/RSN IE from Driver, when app/daemon does not program it.

Change-Id: I095ff9b46f243fa942cadf305e40cf1c207c13d0
CRs-Fixed: 2133228
2017-11-21 03:20:51 -08:00
Kabilan Kannan
70113f22aa qcacmn: Add TDLS user command getTDLSPeers
Add TDLS user command getTDLSPeers for TDLS functional verification

Change-Id: Ia02461a364ca604672d728f7dad7c3537e78f067
CRs-Fixed: 2146626
2017-11-20 16:27:00 -08:00
jiad
5661cef405 qcacmn: Fix pcie remap window to 6 bits mask
Per Napier SWI spec, PCIE_REMAP_1M_BAR_CTRL expects
6 bits mask for window selection.

Change-Id: I72ac800a9eb133790b611ee1a5b56a0dc8ca49e3
CRs-Fixed: 2142294
2017-11-17 15:21:42 -08:00
Om Prakash Tripathi
03efb6a7b6 qcacmn: Enhance txrx_stats interface to accept multiple args
1. Enhance CDP and DP txrx_stats interface to accept multiple
   args. these agruments are passed to htt without any
   interpretation.
2. Add reset stats support

Change-Id: I65db494824d03097e20dffc828bea380b16d411f
CRs-Fixed: 2136793
2017-11-17 09:19:21 -08:00
Shashikala Prabhu
d9bf209f70 qcacmn: ETSI 302-502 Radar Pattern for ETSI11
According to the updates of Regdomain_23 submitted on 2017-5-18,
added two pulses (ETSI 302-502) in the static ETSI radar table for
ETSI11 regdomain.These two pulses are applicable only for 5.8GHz
(greater than 5.725 GHz)  channels.

Change-Id: I2f1e5535040ced9847eedff65dbe892e4d0fb056
CRs-Fixed: 2145124
2017-11-17 07:21:06 -08:00
Manjunathappa Prakash
d8987b30ff qcacmn: Do not log when we run out of tx descriptors
Remove excessive failure logs. We have stats when we fail to get
the tx descriptor and drop packet. So do not log tx descriptor
unavilability failure.

Change-Id: Ia3d929048545ebcd05b52d0819a818cc09878e97
CRs-Fixed: 2128380
2017-11-16 15:19:29 -08:00
Gurumoorthi Gnanasambandhan
2b51b577c6 qcacmn: Request and process Beacon stats from FW
Request and process  Beacon frames from FW using WMI command and event.
WMI_HOST_REQUEST_BCN_STAT is for beacon stats request and event processing.

Change-Id: I99250384868d62089a0f7d2acf94dd6e29ef67b9
CRs-Fixed: 2139393
2017-11-16 11:40:37 -08:00
Manjunathappa Prakash
8fa36d4127 qcacmn: skb memory leak, log skb being leaked
Log skb address being leaked, it will help to identify the
state of skb during memory leak.
For example if it was dma mapped, by looking at skb->cb fields

Change-Id: I09e9aa9f69ef6b24e709bfbd25c12ac00ab1167c
CRs-Fixed: 2142469
2017-11-16 07:22:10 -08:00
Manjunathappa Prakash
6d2f46df2c qcacmn: Fix potential nbuf memory leak if mmap fails
Make sure free the allocated nbuf if we fail to memory map it.

Change-Id: I90606ab088fc093b390644478bccc77f08800cd5
CRs-Fixed: 2142469
2017-11-16 07:22:08 -08:00
Manjunathappa Prakash
c850ec6e18 qcacmn: Move AST handling functions under WDS compile flag
Move AST handling functions in side WDS compilation flag.

Change-Id: If8fb93e513b1a645b5d9c7fb73df0ed90770010d
CRs-Fixed: 2131812
2017-11-16 07:22:06 -08:00
Jiachao Wu
15a94747ef qcacmn: Check endpoint index range
Check endpoint range before it be used.
If endpoint is unused return with error.

Change-Id: I2888b0b66c737df677f09040133503e8ace60510
CRs-Fixed: 2138465
2017-11-16 05:32:36 -08:00
Chandru Neginahal
2a4e5d2262 qcacmn: Proxy STA fails to connect to ROOT AP in QWRAP mode
Correct the logic to send peer create command in nss
wifi offload mode.

Change-Id: If88a18798af9ee9273c9580ca1fd725a15f07eef
CRs-Fixed: 2119796
2017-11-16 02:48:42 -08:00
Naveen Rawat
bbb6bd6585 qcacmn: Do not stop at first object in get vdev by op_mode
In API wlan_objmgr_get_vdev_by_opmode_from_psoc, do not stop at first
vdev object if the vdev is in logical delete state. Continue till all
vdev are iterated or valid vdev is found.

Change-Id: I39d10d84ec9cb219d9b2f528e3415d5a4520bae5
CRs-Fixed: 2140337
2017-11-15 23:37:11 -08:00
Tallapragada Kalyan
a7010a6a6d qcacmn: additional sanity checks on reo exception ring
check if the received reo exception ring descriptor has
valid information by checking for sw cookie magic number
and check for rbm validity within the msdus of the msdu
link descriptor.

Change-Id: I44a0f47e43a334f26cfdb4d41d3eed39483d8604
2017-11-15 23:37:09 -08:00
Sandeep Puligilla
4bd7f8c513 qcacmn: Clear the scan list before destroy
cfg80211 scan list is not empty during the
scan priv deinit/list destroy because of that
qdf mem module triggered an assert.

Clear the cfg80211 scan list before
destroying the list.

Change-Id: I391d3b91869d085ec6ff405b7ddca37d7002e5ca
CRs-Fixed: 2136702
2017-11-15 23:37:06 -08:00
Dustin Brown
5d0d104798 qcacmn: Use qdf_cpuhp APIs for NAPI
Abstract NAPI's use of CPU hotplug events by using the new QDF CPU
hotplug APIs.

Change-Id: Iad590768476b4dc6bad63b3ee3b1b1bbf7698251
CRs-Fixed: 2141180
2017-11-15 15:53:37 -08:00
Linux Build Service Account
519d203401 Merge "qcacmn: Change format specifier %p to %pK" 2017-11-15 11:57:36 -08:00
Linux Build Service Account
d97eb1e531 Merge "qcacmn: Handle athkey getkey in open authmode" 2017-11-15 11:57:31 -08:00
Mahesh Kumar Kalikot Veetil
9655be589a qcacmn: Change format specifier %p to %pK
The printk format '%pK' will not leak kernel pointers to unprivileged
users. So change the format specifier from %p to %pK.

Change-Id: Ia229433dbbadc69cc1442c9e683659b8194e30b5
CRs-Fixed: 2133315
2017-11-15 11:23:22 -08:00
Nandha Kishore Easwaran
434838f5d0 qcacmn: Handle athkey getkey in open authmode
Athkey getkey should not give error message in open authmode

Change-Id: I6cd33b4fafe5a43d966ef320dae398622ce8f6fb
CRs-Fixed: 2124650
2017-11-15 09:42:39 -08:00
Pamidipati, Vijay
365a8bd240 qcacmn: Fix parameter passed in dp-target_if API
Fix a bug in DP soc init to pass correct parameter in get_dp_cfg_param
API

Change-Id: Icbb8bd593d9bc3ad198ee63d66ce6c381c9954bb
CRs-Fixed: 2142458
2017-11-15 09:42:37 -08:00
Pamidipati, Vijay
da917d573c qcacmn: Fixes for 64-bit paddr
In DP Transmit path, 32-bit variables are being used to store paddr.
This will not work for 64-bit systems.
Address this by making them 64-bit variables.

Change-Id: I4c146649773cfd9bdc636187cb35d9d776bf072f
CRs-Fixed: 2142458
2017-11-15 09:42:36 -08:00
Linux Build Service Account
311cb22379 Merge "qcacmn: Populate ppdu end timestamp" 2017-11-15 08:56:00 -08:00
Soumya Bhat
a6bdfd8b46 qcacmn: Populate ppdu end timestamp
Populate ppdu end timestamp, received from FW into cdp tx structure.

Change-Id: I114b595bf0ad98469f095267b8d3e98017897514
CRs-Fixed: 2143073
2017-11-15 07:25:11 -08:00
Linux Build Service Account
30f67a628b Merge "qcacmn: Fix transmitter MAC address" 2017-11-15 05:57:09 -08:00
Soumya Bhat
741b8fe64a qcacmn: Fix transmitter MAC address
Fix transmitter MAC address, which is being appended
to MSDU payload when tx packet capture is enabled.

Change-Id: Ic5bd3eab434125e9e4278e1e7af3ec47b7b3698f
CRs-Fixed: 2142085
2017-11-15 04:11:34 -08:00
Kabilan Kannan
7f6b374855 qcacmn: Fix memory leak issue in tdls peer delete operation
In TDLS peer delete function memory is not freed in error
handling path and it causes leak for every error
operation.
Free the memory in error handling path.

Change-Id: Idb4725ec7a4c1b9614ecad1f685ffdeb8f795e72
CRs-Fixed: 2139570
2017-11-15 02:29:56 -08:00
Pamidipati, Vijay
57a435a7e0 qcacmn: Move peer stats to PPDU indications
Move peer stats updation to PPDU indications from per-MSDU indications
to optimize CPU cycles. Add dp_rx_stats_update for receiver side PPDU stats

Change-Id: I4bdda8ac447e64cd1017e5be3949ec3f915a9d71
CRs-Fixed: 2123969
2017-11-15 12:39:08 +05:30
Linux Build Service Account
54a555a08c Merge "qcacmn: Clarify usage on Q_TARGET_ACCESS_BEGIN/END" 2017-11-14 13:28:18 -08:00
Yun Park
3fb3644e61 qcacmn: Clarify usage on Q_TARGET_ACCESS_BEGIN/END
Document where register writes are for legacy vs srng devices.
With the target access begin/end calls being associated with
the register writes and the register writes being associated to
specific HW, we avoid performing unneeded force wakes on common
code paths shared by legacy & srng based hardware.

Change-Id: Id91399d03298bfc5df56f0c5d5d14b648b665279
CRs-Fixed: 2117144
2017-11-14 12:07:30 -08:00
Linux Build Service Account
7d9c9373a7 Merge "qcacmn: Add WMI API to send beacon offload control" 2017-11-14 09:59:27 -08:00
Linux Build Service Account
9e60eb57f6 Merge "qcacmn: Add API to extract params from WMI ready event" 2017-11-14 09:59:26 -08:00
Kiran Venkatappa
084aff450b qcacmn: Add WMI API to send beacon offload control
Beacon offload control WMI command is used to control beacon tx in
beacon offload enabled mode. Add WMI API to send this command to FW.

Change-Id: I8b340b69ff508aaf80b9a80de044b0189b947a66
CRs-Fixed: 2140255
2017-11-13 21:08:54 -08:00
Kiran Venkatappa
276e8d5911 qcacmn: Add API to extract params from WMI ready event
WMI ready event provides num_dscp_tid, num_total_peers and other
information that  is used. Add API to extract these params.

Change-Id: I85ffc43f20935d84de133591020468c5e5f102de
CRs-Fixed: 2141667
2017-11-13 21:08:52 -08:00
Naveen Rawat
361892ec58 qcacmn: Add Wake timer pattern API
Add WOW_TIMER_PATTERN to enable host to set wake timer in FW when required.

Change-Id: Id37420ee8295d11fc8fe0f0fcc344d6ef31c315b
CRs-Fixed: 2134108
2017-11-13 17:27:15 -08:00
Linux Build Service Account
8a20d98c0c Merge "qcacmn: Fix a memory leak in HTC tx bundle packet allocation" 2017-11-13 11:26:46 -08:00
Linux Build Service Account
a1d51683c2 Merge "qcacmn: ADD Vendor Command to enable/disable FILS" 2017-11-13 11:26:41 -08:00
wadesong
fbf643a4fc qcacmn: Fix a memory leak in HTC tx bundle packet allocation
When HTC_PACKETs are allocated for bundle tx, netbuf and bundle
queue will also be allocated and stored in the context of
HTC_PACKET, but these two structures are not freed when the
bundle HTC_PACKETs are removed from pBundleFreeList and freed.

Retrieve the netbuf and bundle queue pointers from HTC_PACKET
context and free them when HTC_PACKET is freed.

Change-Id: I61d9eb18027b12f8b9491c696e4e16d793edf0d2
CRs-Fixed: 2127098
2017-11-13 03:42:25 -08:00
Vignesh Viswanathan
3c11bdd460 qcacmn: ADD Vendor Command to enable/disable FILS
Define new Vendor Command to enable/disable FILS.

Change-Id: I4c1a95312a28b184c36854fc2639fb2b431ff99c
CRs-Fixed: 2134802
2017-11-12 11:26:54 -08:00
Yun Park
fd269b5021 qcacmn: Remove kernel includes from datapath
To abstract kernel header inclusion, create a new QDF APIs for all IPA
APIs and redirect all IPA API calls through QDF interfaces.

Change-Id: I7bff975ad7cb32fc128320c124633594471e0a1f
CRs-Fixed: 2098907
2017-11-11 19:25:09 -08:00
Tiger Yu
d448fad508 qcacmn: Fix memory leak for SDIO RX path in the HIF layer
qcacld-2.0 to qcacmn propagation

There is a memory leak if fail to process the rx packet header in the HIF
layer. Add sanity checking to free all resources if failure hit.

Change-Id: Ifa443dcec0a31ae39356ac1ddf7cfe652d8968ce
CRs-Fixed: 2137736
2017-11-11 09:25:12 -08:00