커밋 그래프

4878 커밋

작성자 SHA1 메시지 날짜
Naga
6a72f69904 qcacmn: Add implementation of vdev ucast and mcast cp stats
Add change to define vdev ucast and mcast cp stats
structure and provide APIs of set/get cp stats fields
to/from within cp stats component

Change-Id: I341ca6188c052438e1fea4f9326428b59a1db660
CRs-Fixed: 2236328
2018-05-24 07:52:10 -07:00
Naga
d8351b4740 qcacmn: Add implementation of peer cp stats
Add change to define peer cp stats structure
and provide APIs to set/get peer cp stats fields
to/from within cp stats component

Change-Id: I2d1a8d166a3e0ce5992eb670c83f6f5d37441dd1
CRs-Fixed: 2236328
2018-05-24 07:52:07 -07:00
Naga
670e851c19 qcacmn: Add implementation of WIN cp stats
Add change to alloc memory for WIN specific cp stats
structures, provide get/set API in cp stats component
for other umac component, reorganize files according
to usage inclusion in other header files

Change-Id: I8b4e4435f60cc0587917ad09ac99659f83f2cb10
CRs-Fixed: 2236328
2018-05-24 07:52:05 -07:00
jiad
efc0b71831 qcacmn: Add support for SMMU IPA WDI unified API
IPA driver adds unified WDI API for ipa_wdi_create_smmu_mapping
and ipa_wdi_release_smmu_mapping. WLAN driver needs to adopt the
change accordingly.

Change-Id: Ibbf10e4beb579a6a3d3e6b0e8e6d2c853f7e629a
CRs-Fixed: 2238493
2018-05-24 07:52:02 -07:00
Sandeep Puligilla
a922698432 qcacmn: Remove unused serialization command
Remove unused serialization commands

Change-Id: Icfad5fd21129a2b066de3df934364470764e5d64
CRs-Fixed: 2245053
2018-05-24 07:51:59 -07:00
Wen Gong
67d105d445 qcacmn: Add DFS master feature flag
Add config flag to enable / disable DFS master feature

Change-Id: Iddd82dd5f117a4d75fda161f5a531aa7eab25016
CRs-Fixed: 2222557
2018-05-24 00:49:52 -07:00
jitiphil
cfb14523ad qcacmn: Fix debugfs issue for DPTRACE
TX packet records in DPTRACE logs for debugfs do
not contain msdu id, while QXDM logs do contain them.

Add msdu id of packets in the DPTRACE records for
debugfs.

Change-Id: Id3f6c21d95221cd5444327189b803ac857d56525
CRs-Fixed: 2242178
2018-05-23 23:49:31 -07:00
Paul Zhang
8e04fa7fce qcacmn: Remove the 11d error log
The unnecessary and iterative log may cause unexpected
issue. So remove it.

Change-Id: If164c48bee2ba221cf05c47ca5e186541b798758
CRs-Fixed: 2231615
2018-05-23 20:45:41 -07:00
bings
3a7cf9b158 qcacmn: Refine chirp check for ETSI type 4 radar
Currently if the delta peak of the ETSI type 4 radar pulse is 0, it will
be considered as radar false dection, which affects normal dfs ETSI type
4 certification test.

More checks are added when delta peak of the ETSI type 4 radar pulse is 0.
If psidx_diff, the difference in the FFT peak index between the short FFT
and the first long FFT, is greater than 4 and less than 16, it is still
considered as valid ETSI type 4 radar pulse.

Change-Id: Iee9c22e0c208023bb9f0f70121f8269169b63d18
CRs-Fixed: 2173576
2018-05-23 20:45:39 -07:00
Manikandan Mohan
660b3d4ce4 qcacmn: Fix nl service link module for multi driver compilation
Qcacld supports multiple driver modules instance generation with
different file names and Kbuild options. Fix driver load time and
compilation errors on this feature.

Change-Id: I1ad66d3855379a59be071f8d0c4504a9bb5ebd5b
CRs-fixed: 2208751
2018-05-23 20:45:36 -07:00
Venkateswara Swamy Bandaru
0927a44520 qcacmn: Fix return value of hif_exec_event
Fix return value of hif_exec_event when HIF_IRQ_AFFINITY is not defined.
return success in this case.

Change-Id: Icf9d7d15b67aea987fba7be24f6037d67f7d6adf
CRs-Fixed: 2238090
2018-05-23 18:37:50 -07:00
Varun Reddy Yeturu
ade480af71 qcacmn: Add support for sending TWT enable command
Add WMI support for building and sending the
WMI_TWT_ENABLE_CMDID to the firmware.

Change-Id: Ifbda4d1668e2bcb2e33d044269908e8d4c8333a5
CRs-Fixed: 2244214
2018-05-22 15:32:59 -07:00
Mohit Khanna
4b3b7e7110 qcacmn: debug prints for monitor mode TLVs
Add prints to track:
* Incoming TLVs in the monitor mode status ring.
* HE, HE-MU and HE-MU-Other values being passed to the
  stack.

Change-Id: Ib23336353dc4a2253a62444b767d2a706ce372ea
CRs-Fixed: 2242514
2018-05-22 13:00:04 -07:00
Mohit Khanna
6c22db3b45 qcacmn: process PHYRX_OTHER_RECEIVE_INFO_OTHER TLV
Process WIFIPHYRX_OTHER_RECEIVE_INFO_E and
WIFIPHYRX_OTHER_RECEIVE_INFO_RU_DETAILS_E TLVs in monitor mode.

Change-Id: I9cea6cee0499fd9ae9e07d4479c7010e35f3e5a5
CRs-Fixed: 2242514
2018-05-22 13:00:02 -07:00
Nirav Shah
9106902215 qcacmn: Featurize dp trace
Featurize dp trace to compile out cleanly.

Change-Id: If244fba87a50cde57ec55e54249b41dd30dcc92d
CRs-Fixed: 2227771
2018-05-22 09:34:12 -07:00
Dustin Brown
c7ee85c4a8 qcacmn: Use qdf_flex_mem for scheduler messages
Currently, the scheduler thread keeps a large, pre-allocated array of
messages for use in message posting. The vast majority of the time,
however, the scheduler thread has zero or one messages pending in the
queue. This leads to a huge memory overhead for nominal driver
operation.

Replace the current pre-allocated scheduler message pool with a
hybrid static/dynamic approach.

Change-Id: Ie942bacfef43edf142a9f35ad0309069096cda90
CRs-Fixed: 2204172
2018-05-21 21:48:10 -07:00
Vivek
d78dedc9dd qcacmn: Configure qdf_flex_mem segments for scheduler pool
Configure the qdf_flex_mem segments for scheduler pool
to 32, which creates 1024 scheduler message buffers
during init.

Change-Id: Iefa9427b55b427f79aa21a90cbf6e8a05be35e59
CRs-Fixed:
2018-05-21 21:48:06 -07:00
Linux Build Service Account
4a66b6f358 Merge "qcacmn: Delete obsolete RX statistics number of BW and frame type" 2018-05-21 11:43:28 -07:00
chenguo
51d0f4e5ac qcacmn: Delete obsolete RX statistics number of BW and frame type
Before showing DP statistics, per VDEV and per peer statistics
counters will be aggregated together and stats.rx data member of
PDEV will be set to all zeros. So only need to update per peer
statitics counters in RX stats_update.

Delete the obsolete PDEV stats.rx update operations.

CRs-Fixed: 2237020
Change-Id: Iba6437e6010dd8f87a3f152a529a8b0bc632972d
2018-05-21 10:26:36 -07:00
Linux Build Service Account
f05472e6ce Merge "qcacmn: Tx desc counter changes" 2018-05-21 08:09:16 -07:00
Linux Build Service Account
771ab45972 Merge "qcacmn: Define test config attribute to configure Tx beamformee" 2018-05-21 08:09:14 -07:00
Soumya Bhat
dbb8530245 qcacmn: Tx desc counter changes
Add following Tx desc counter changes:
1. Initialize tx_desc allocated counter
2. Initialize tx desc free counter
3. Use per pool tx desc counter num_allocated to populate desc_in_use
   counter

Change-Id: I4d80d0acfbbdd32a9f7d66e938e0a0f4e2cd7048
CRs-Fixed: 2239623
2018-05-21 06:06:17 -07:00
Kiran Kumar Lokere
993a384744 qcacmn: Define test config attribute to configure Tx beamformee
Add new wifi test config command attribute to configure Tx
beamformee support.

Change-Id: Iddf91920c8424cb5f5681f2cc5f98d667ec1f6f4
CRs-Fixed: 2244889
2018-05-21 06:06:14 -07:00
Vignesh U
8785b9dd69 qcacmn: Process host DFS confirmation status from firmware
Process firmware status event on radar found and take necessary actions.

Change-Id: I7ddb2b1a45e97a4ea52eb9b2d718f467726aad04
CRs-Fixed: 2211883
2018-05-21 03:53:35 -07:00
Vignesh U
661654d376 qcacmn: Send radar found command to FW
In FCC domain, process the radar pulses and send the summary of radar
found information to FW.

Change-Id: Ib30f57927a9718315fd90f5c44d47dae38bf36f0
CRs-Fixed: 2211883
2018-05-21 03:53:32 -07:00
Vignesh U
4159e623b5 qcacmn: Add target_if changes for host DFS confirmation check
Register for host dfs check event.

Change-Id: I7d6a87e9a6d7e4a4b7a127e05d230b876581bb12
CRs-Fixed: 2211883
2018-05-21 03:53:27 -07:00
Vignesh U
0dc7935c0f qcacmn: Add global dispatcher for host DFS confirmation check
Add tx_ops and rx_ops for host dfs confirmation check.

Change-Id: Id77b1561d933cae79276532f01de8ae7843f3bba
CRs-Fixed: 2211883
2018-05-21 03:53:23 -07:00
Shashikala Prabhu
9951d56842 qcacmn: Add WMI changes for host DFS confirmation check
Send average radar parameters to FW.
Extract host dfs spoof check status from FW.

Change-Id: I70c4e5aad0fe1eda55da37abd20cc6d70728edba
CRs-Fixed: 2211883
2018-05-21 03:53:18 -07:00
Vignesh U
21a96f9644 qcacmn: Add pdev param for host dfs confirmation
Add pdev param to update host wait status timeout value.

Change-Id: I63fd6ebab1244eaabdf9445e48a04469ea681a36
CRs-Fixed: 2211883
2018-05-21 03:53:13 -07:00
Linux Build Service Account
ab190639a7 Merge "qcacmn: CCE Classify only for non encrypted packets" 2018-05-21 02:10:36 -07:00
Ruchi, Agrawal
bd22540e0d qcacmn: CCE Classify only for non encrypted packets
Enable raw mode cce classification only for packets for
which WEP bit is not set

Change-Id: I5249f197d5a3e00c73c6866011ba5f3a36868c0f
CRs-Fixed: 2132317
2018-05-21 01:37:55 -07:00
Linux Build Service Account
a4c2376433 Merge "qcacmn: Fix compilation error in CP_STATs" 2018-05-21 00:10:59 -07:00
Gerrit - the friendly Code Review server
922b34461b Merge changes into wlan-cmn.driver.lnx.2.0 2018-05-20 23:53:21 -07:00
Naveen Rawat
b901c80874 qcacmn: Fix compilation error in CP_STATs
Fix compilation error in CP_STATs due to change in definition
of of wlan_objmgr_get_peer.

Change-Id: I15753d942dd3932fbf0d2c8a361e5e507fd38b8e
CRs-Fixed: 2244161
2018-05-20 23:25:56 -07:00
Naveen Rawat
46f13624dd qcacmn: Update qca_vendor with NAN attributes for TCP/IP info
Update qca_vendor with NAN attributes for TCP/IP info for IPv6
address transport port and transport protocol.

Change-Id: I2176cede68347c92b6f4ddddadfa56b9591ff8fa
CRs-Fixed: 2244176
2018-05-20 23:25:53 -07:00
Naveen Rawat
a83c716d5f qcacmn: Revert to old API signature for WIFI_POS component
Legacy User space application for wifi pos component uses old
API signature hence using new signature breaks the legacy interfac
between user space application and host driver. Revert to old
signature to fix the interface.

Change-Id: Idc55ecba23a8ac6263dd82fa9fb3650784db67f6
CRs-Fixed: 2244016
2018-05-20 23:25:51 -07:00
Wu Gao
b2e9551c57 qcacmn: Use IDR API in p2p component
Use qdf idr API to create id for roc and mgmt tx cookie, and not
provide kernel address to userspace.

Change-Id: I0b80dbe265d0e5f9981ae89df709720e7d9901f9
CRs-Fixed: 2232947
2018-05-20 08:15:54 -07:00
Abhijit Pradhan
839cf6df59 qcacmn: Reset the dfs radar event log counter
Reset the dfs radar event log counter during dfs reset.

Change-Id: I299167e986a9933010b9a9b79ef40cbd8d4e041e
CRs-Fixed: 2235745
2018-05-20 07:16:08 -07:00
Jeff Johnson
c7bfa72ec1 qcacmn: utils: Fix misspellings
Address the following issues in the utils folder:
CHECK: 'interupt' may be misspelled - perhaps 'interrupt'?
CHECK: 'ommitted' may be misspelled - perhaps 'omitted'?
CHECK: 'TRESHOLD' may be misspelled - perhaps 'THRESHOLD'?

Change-Id: Ic9c2fdf2566f3bdd8c37906e52ed65d4dc1d1563
CRs-Fixed: 2241587
2018-05-19 22:14:43 -07:00
Ashok Ponnaiah
b4c573c773 qcacmn: Add support WPA2 security improvements
Add support for WPA security improvements
where if length and data mismatch are present in
the IE's then driver need to gracefully return error
rather than accessing out of bounds data.

Change-Id: Idd56e5b987fed4d7bddad6d5ada927e97f92a1aa
Crs-Fixed: 2243109
2018-05-19 22:14:41 -07:00
Ashok Ponnaiah
c6d591092d qcacmn: Add support for new key mgmt
Add support for FILS, OWE & DPP key mgmt.

Change-Id: I51b899e86a0d29051af55c422e64764d762767d3
Crs-Fixed: 2243109
2018-05-19 22:14:39 -07:00
Jeff Johnson
8bc5042785 qcacmn: qdf: Fix misspellings
Address the following issues in the qdf folder:
CHECK: 'arguement' may be misspelled - perhaps 'argument'?
CHECK: 'Arguement' may be misspelled - perhaps 'Argument'?
CHECK: 'continous' may be misspelled - perhaps 'continuous'?
- (actually 'contiguous')
CHECK: 'implentation' may be misspelled - perhaps 'implementation'?
CHECK: 'Initilize' may be misspelled - perhaps 'Initialize'?
CHECK: 'occurance' may be misspelled - perhaps 'occurrence'?
CHECK: 'untill' may be misspelled - perhaps 'until'?

Change-Id: I4ea13e1a6b1490082830ed67098ff174a162114b
CRs-Fixed: 2241580
2018-05-19 19:41:08 -07:00
Jeff Johnson
1002ca5ed9 qcacmn: hif: Fix misspellings
Address the following issues in the hif folder:
CHECK: 'controll' may be misspelled - perhaps 'control'?
CHECK: 'Implemenation' may be misspelled - perhaps 'Implementation'?
CHECK: 'intialize' may be misspelled - perhaps 'initialize'?
CHECK: 'occuring' may be misspelled - perhaps 'occurring'?
CHECK: 'reseting' may be misspelled - perhaps 'resetting'?
CHECK: 'stuct' may be misspelled - perhaps 'struct'?
CHECK: 'substract' may be misspelled - perhaps 'subtract'?
CHECK: 'successfull' may be misspelled - perhaps 'successful'?
CHECK: 'syncronize' may be misspelled - perhaps 'synchronize'?
CHECK: 'transfered' may be misspelled - perhaps 'transferred'?
CHECK: 'untill' may be misspelled - perhaps 'until'?
CHECK: 'wirte' may be misspelled - perhaps 'write'?

Change-Id: I80280ecb8ac8b0270a32add74429a8df89bedbcb
CRs-Fixed: 2241576
2018-05-19 19:41:05 -07:00
Jeff Johnson
ff2dfb217b qcacmn: dp: Fix misspellings
Address the following issues in the dp folder:
CHECK: 'availble' may be misspelled - perhaps 'available'?
CHECK: 'catagory' may be misspelled - perhaps 'category'?
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
CHECK: 'exceded' may be misspelled - perhaps 'exceeded'?
CHECK: 'explicitely' may be misspelled - perhaps 'explicitly'?
CHECK: 'Inteface' may be misspelled - perhaps 'Interface'?
CHECK: 'lengh' may be misspelled - perhaps 'length'?
CHECK: 'messsages' may be misspelled - perhaps 'messages'?
CHECK: 'miscelleneous' may be misspelled - perhaps 'miscellaneous'?
CHECK: 'Ouput' may be misspelled - perhaps 'Output'?
CHECK: 'poiter' may be misspelled - perhaps 'pointer'?
CHECK: 'Poiter' may be misspelled - perhaps 'Pointer'?
CHECK: 'psuedo' may be misspelled - perhaps 'pseudo'?
CHECK: 'registerd' may be misspelled - perhaps 'registered'?
CHECK: 'requred' may be misspelled - perhaps 'required'?
CHECK: 'retreive' may be misspelled - perhaps 'retrieve'?
CHECK: 'succesfully' may be misspelled - perhaps 'successfully'?
CHECK: 'vaild' may be misspelled - perhaps 'valid'?
CHECK: 'virtaul' may be misspelled - perhaps 'virtual'?

Change-Id: I66b9cdc6115dd133b385e60c9d02cefd1bd0bac3
CRs-Fixed: 2241574
2018-05-19 19:41:02 -07:00
Jeff Johnson
f0296ccc96 qcacmn: Fix style issue in crypto register functions
Fix the following ERROR-level issue reported by checkpatch:
open brace '{' following function declarations go on the next line

Reported in the following functions:
wep_register()
wapi_register()
ccmp_register()
ccmp256_register()
gcmp_register()
gcmp256_register()
tkip_register()
none_register()

Change-Id: Ie463976295625de38ebb71aea8da2d25239db9a3
CRs-Fixed: 2241593
2018-05-19 19:40:59 -07:00
Jeff Johnson
5e8e07a94a qcacmn: Fix checkpatch ERRORs in son_ol_send_null()
Fix the following ERROR-level issues reported by checkpatch:
ERROR: space prohibited after that open parenthesis '('
ERROR: space required before the open parenthesis '('

Change-Id: I221b7bcaad4116f759beb4a51f196dd0e749d764
CRs-Fixed: 2241592
2018-05-19 19:40:56 -07:00
Jeff Johnson
eea4516fd3 qcacmn: wmi: Fix misspellings
Address the following issues in the wmi folder:
CHECK: 'addres' may be misspelled - perhaps 'address'?
CHECK: 'COMAND' may be misspelled - perhaps 'COMMAND'?
CHECK: 'defintion' may be misspelled - perhaps 'definition'?
CHECK: 'happend' may be misspelled - perhaps 'happened'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'messsage' may be misspelled - perhaps 'message'?
CHECK: 'overriden' may be misspelled - perhaps 'overridden'?
CHECK: 'poiter' may be misspelled - perhaps 'pointer'?
CHECK: 'refering' may be misspelled - perhaps 'referring'?
CHECK: 'refrence' may be misspelled - perhaps 'reference'?
CHECK: 'shrinked' may be misspelled - perhaps 'shrunk'?
CHECK: 'succesfully' may be misspelled - perhaps 'successfully'?
CHECK: 'succesful' may be misspelled - perhaps 'successful'?

Change-Id: Ie97e4d83cc88a2610524b38adc3474cdd31170d9
CRs-Fixed: 2241590
2018-05-19 19:40:53 -07:00
Jeff Johnson
cfb7f32112 qcacmn: wmi: Fix misspelling of 'accommodate'
Address the following issue in the wmi folder:
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?

Change-Id: I7cdae0d5f5e9f17de9c3e4810edf9b87704a4f0a
CRs-Fixed: 2241588
2018-05-19 19:40:50 -07:00
Jeff Johnson
090ee9206c qcacmn: umac: Fix misspellings
Address the following issues in the umac folder:
CHECK: 'defintions' may be misspelled - perhaps 'definitions'?
CHECK: 'destory' may be misspelled - perhaps 'destroy'?
CHECK: 'faild' may be misspelled - perhaps 'failed'?
CHECK: 'initilization' may be misspelled - perhaps 'initialization'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'muticast' may be misspelled - perhaps 'multicast'?
CHECK: 'ouput' may be misspelled - perhaps 'output'?
CHECK: 'segement' may be misspelled - perhaps 'segment'?
CHECK: 'successfull' may be misspelled - perhaps 'successful'?
CHECK: 'untill' may be misspelled - perhaps 'until'?

Change-Id: If60c276c134ef10ce6be26cd5a4036d53d5724b6
CRs-Fixed: 2241586
2018-05-19 19:40:48 -07:00
Jeff Johnson
550966209c qcacmn: Rename DFS offset macros
Rename the following macros to fix the spelling of "OFFSET":
DFS_OFFET_FIRST_LOWER
DFS_OFFET_SECOND_LOWER
DFS_OFFET_FIRST_UPPER
DFS_OFFET_SECOND_UPPER

Change-Id: If0568a8f87ad276d3bda26639b1b1dbfb91a0d6d
CRs-Fixed: 2241589
2018-05-19 19:40:45 -07:00