Commit Graph

1263 Commits

Author SHA1 Message Date
Linux Build Service Account
504ff4d4b4 Merge "qca-wifi: Fix use after free when bpr flag enabled" 2019-06-15 01:07:29 -07:00
nobelj
c0b383c43a qca-wifi: Fix use after free when bpr flag enabled
tx capture flag check added and corresponding check added
during skb free.

Change-Id: I5f367b59fd715a56766fa5614b650c6486197775
2019-06-13 21:23:02 -07:00
nobelj
70bf56fc09 qca-wifi: Increased maximum supported ppdu count in a burst
Increased maximum supported ppdu count in a burst from 10 to 50.
added some additional fix.

Change-Id: I1aed76a25f769d5689b23c92797779328e34a169
2019-06-13 12:22:42 -07:00
Linux Build Service Account
68ba7c9fdc Merge "qca-wifi: Add rssi_chain support for peer rate stats" 2019-06-13 02:36:23 -07:00
nobelj
d4503ac191 qca-wifi: Fix cpu stall on TX capture feature
Fix cpu stall during TX capture feature enable
and copy and expand sk_buff is used instead of
expanding sk_buff header alone.

Change-Id: I100e13304f4e1cd3dfabd3d6177d658be8fcb31f
2019-06-10 11:17:29 -07:00
Linux Build Service Account
8a8ca31d60 Merge "qca-wifi: Free precac_entry from ETSI Precac required list on radar detect" 2019-06-07 08:35:17 -07:00
Pranita Solanke
4c04bc9724 qca-wifi: Move ME feature to component dev
We are moving multicast enhancement feature out of common code.
As part of this change move the APIs to component dev.

Change-Id: I2e6cecdf7a690416544825e8c51e04c4484ddde0
2019-06-05 08:07:46 -07:00
Hariharan Basuthkar
4a439c7a2a qca-wifi: Free precac_entry from ETSI Precac required list on radar detect
When the CAC timer is in progress and radar is detected, a NULL pointer
dereference is observed when the radar detected channels are removed
from etsi required lists and added to NOL.

This issue is seen as the next etsi precac entry in the etsi required
list is freed instead of the current etsi precac entry.

This issue is fixed by freeing the current etsi precac entry in the
etsi precac required list.

Change-Id: I609174b23b0d6d2ea36ca26b011359dcf5876c3a
CRs-Fixed: 2463762
2019-06-04 03:18:22 -07:00
Linux Build Service Account
7ca2a2fdee Merge "qca-wifi: Protocol tag support in lite rx monitor" 2019-05-30 20:35:42 -07:00
Linux Build Service Account
527241866d Merge "qca-wifi: Consolidate IEEE80211_ADDR_LEN to QDF_MAC_ADDR_SIZE" 2019-05-30 07:35:42 -07:00
Linux Build Service Account
3ebe25f3a4 Merge "qca-wifi: Capture ppdu_cookie in mpdu_info" 2019-05-29 17:34:26 -07:00
Linux Build Service Account
65ab50035d Merge "qca-wifi: Update feature wds APIs and move dp_peer_teardown_wifi3 to cmndev" 2019-05-29 13:05:05 -07:00
Prathyusha Guduri
76cd8648a3 qca-wifi: Capture ppdu_cookie in mpdu_info
ppdu_cookie extracted from ppdu htt completion in user stats tlv is
copied to mpdu_info which is delivered to upper layer

Change-Id: I9c3b5a86b345b5f5545ec81b41b682c82547d5f5
2019-05-27 02:00:56 -07:00
Himanshu Batra
e460ccec98 qca-wifi: Consolidate IEEE80211_ADDR_LEN to QDF_MAC_ADDR_SIZE
Consolidate multiple (redundant) IEEE80211_ADDR_LEN to QDF_MAC_ADDR_SIZE

Change-Id: I30790ed7b8e6299353e639fc4cd39f72e8e699cd
CRs-Fixed: 2439274
2019-05-26 21:58:23 -07:00
Linux Build Service Account
85788ec51c Merge "qca-wifi: Add support for InterCAC channel switch in Hawkeye" 2019-05-24 09:35:04 -07:00
Linux Build Service Account
8ad1950ec3 Merge "qca-wifi: Remove unused peer mgmt stats" 2019-05-24 01:36:10 -07:00
Karunakar Dasineni
6169bd6e2a qca-wifi: Protocol tag support in lite rx monitor
Add protocol tagging support in lite rx monitor mode.

Change-Id: If95f43cade89d2a980dd6868f40fe7f5413bf019
CRs-Fixed: 2448531
2019-05-23 19:41:24 -07:00
Vignesh Mohan
445f14c8fc qca-wifi: Add support for InterCAC channel switch in Hawkeye
Currently if InterCAC support is enabled:

1. If the user configures a DFS channel in 80MHz mode, the
   radio switches to an intermediate channel and the user
   desired channel is added on the top of the lists of the
   channels to be CACed using AgileDFS.

2. If the user configures a DFS channel in 160MHz mode, the
   radio switches to an intermediate channel and the user
   desired channel is split into two 80MHz channels and are
   added on the top of the list.

3. After agile CAC is completed on the user configured channel,
   the radio stays on the intermediate channel.

Change the current channel (and mode) back to user desired
channel, after agile CAC is completed on the desired channel.

Change-Id: Ib3e7757316ebddfc75f1b1f1f4bb8c5debd04d62
CRs-Fixed: 2448224
2019-05-23 03:28:34 -07:00
Pranita Solanke
0b5337fd6b qca-wifi: Update feature wds APIs and move dp_peer_teardown_wifi3 to cmndev
dp_tx_mec_handleri,dp_rx_wds_add_or_update_ast,
dp_rx_wds_srcport_learn were changed inside common dp.
As part of cleanup we have moved it to component
dev.This change adopts to the latest dp_tx_mec_handler version.
With this change we are moving dp_peer_teardown_wifi3 to common code as
it is also required by MCL driver code.

Change-Id: Ieba59ceb2f3a3b21f3588fe2685e0dc720ee049a
2019-05-23 11:21:32 +05:30
Amir Patel
bd3e9bb9b3 qca-wifi: Add rssi_chain support for peer rate stats
Add rssi_chain support for peer rate stats

CRs-Fixed: 2445933
Change-Id: I98a0bb6e17cfc5ef22a36a1fe632b4dbe2c0d02a
2019-05-22 14:54:05 +05:30
Kai Chen
1cc9fe7b53 component_dev: Fix memleak issue on Rx enhanced capture
Fix memleak on Rx enhanced capture mode. Adding frag list on the
cloned buffer causing the memory leak. Allocate a MPDU control
block. The MPDU header(128 bytes) and mdsu headers(128 bytes)
link list is attached to MPDU control block frag list. The MPDU
control block is sent to osif layer to send to network stack.

Change-Id: If6c81b9d1027dfbb12277574fe9598f6fb8c5eca
2019-05-21 17:50:21 -07:00
Santosh Anbu
cf2e9f8ddc qca-wifi: Remove unused peer mgmt stats
Peer delete request and response stats has been moved to per vap
stats.

Change-Id: I9f46ead931d4b9f13166db9510394993575516d9
CRs-Fixed: 2455845
2019-05-20 14:17:19 +05:30
Linux Build Service Account
02c71a8024 Merge "qca-wifi: Move WIN specific code out of cmndev" 2019-05-15 18:35:56 -07:00
Linux Build Service Account
50d89ab4a6 Merge "qca-wifi: Use arrays for param conversion from host to target type" 2019-05-13 23:03:57 -07:00
Surya Prakash Raajen
da92110871 qca-wifi: Use arrays for param conversion from host to target type
Convert host param id to target param id using arrays
instead of switch case. This enables removal of
CONFIG_MCL compile time macro and use specific macro
ENABLE_HOST_TO_TARGET_CONVERSION for conversion

Change-Id: I4dae15baac0c74846155a5f1ee3328dfc2f28ad5
CRs-Fixed: 2418030
2019-05-13 17:49:27 +05:30
Linux Build Service Account
d3daa53e99 Merge "qca-wifi: Move peer delete req/resp stats from pdev to vdev" 2019-05-13 04:35:26 -07:00
Pranita Solanke
6d9b087650 qca-wifi: Move WIN specific code out of cmndev
Move WIN specific structures and features(WDS/AST/ME)
out of common code inside component dev

Change-Id: I9a9696fa891d3f5dac1a86813fc53af18d7be3a6
2019-05-13 13:33:45 +05:30
Linux Build Service Account
3dcc1794e9 Merge "qca-wifi: Move WIN ENH TX capture feature out of cmndev" 2019-05-10 13:36:54 -07:00
Linux Build Service Account
c5570472f3 Merge "qca-wifi: Free buffer in case of error in sending wmi cmd" 2019-05-10 07:35:35 -07:00
Linux Build Service Account
a491c04e24 Merge "qcawifi: Remove unnecessary print from rate stats module" 2019-05-09 20:06:32 -07:00
nobelj
e37d964295 qca-wifi: Move WIN ENH TX capture feature out of cmndev
support TX capture mode to deliver msdu along with meta data

Change-Id: I05b988860eec4afe29382b26136958801cccb6eb
2019-05-09 12:16:14 -07:00
Santosh Anbu
403dfb711c qca-wifi: Move peer delete req/resp stats from pdev to vdev
Added change to handle peer delete request and response stats at per
vdev layer instead of pdev layer

Change-Id: Ie58ed9f1916f226411fe16a569fa81f2f20b9db0
CRs-Fixed: 2445668
2019-05-07 12:49:02 +05:30
Vikram Kandukuri
4b8d28d999 qca-wifi: Add chainmask in CFR header
Add chainmask in CFR header currently number of rx chains
are poulated.

Change-Id: I983819effcf68fe77fdef256a3359d9658aa20eb
CRs-Fixed: 2446696
2019-05-06 10:55:17 +05:30
Amir Patel
2cf70b694b qcawifi: Remove unnecessary print from rate stats module
When rate tlvs are nor parsed or completion status is not okay,
still we indicate WDI_EVENT_TX_PPDU_DESC for other features
and it results into feeding invalid rate index stats to rate stats
module, which we can not processed, which is a valid scenario.
so just remove err print to avoid flooding cosole.

CRs-Fixed: 2446638
Change-Id: I451a68af18e92727802f78e23d94ab6ea31dd5bb
2019-05-03 18:07:32 +05:30
Linux Build Service Account
b3ef740c2d Merge "qca-wifi: Fix KW issues in cfr component" 2019-05-03 03:36:01 -07:00
Linux Build Service Account
7d2bb8a75b Merge "qca-wifi: Move into correct compile flags." 2019-05-02 18:06:51 -07:00
Abhiram Jogadenu
3678ea24ad qca-wifi: Move into correct compile flags.
Move the code dependent on DIRECT_BUF_RX into necessary macros
to avoid compilation failure when WIFI_3_0 configs are disabled.

CRs-Fixed: 2445655
Change-Id: I61001f6d6a1d33bd9bd92b795c50813f1e88f87f
2019-05-02 10:57:32 -07:00
Vikram Kandukuri
605c8118aa qca-wifi: Fix KW issues in cfr component
Fix Suspicious dereference of pointer 'payload' before NULL check.
Fix 'status' might be used uninitialized in this function.

Change-Id: Ib799043555faafc655919c1e42d0fbc43c716b2f
2019-05-02 17:08:07 +05:30
Linux Build Service Account
eddae4e5d3 Merge "component_dev: Populate mpdu info for enhanced monitor mode" 2019-04-29 18:34:24 -07:00
Linux Build Service Account
b2ec9f217e Merge "qca-wifi: Fix wmi handle type in protocol tag API" 2019-04-29 00:39:36 -07:00
Kai Chen
2c19e70392 component_dev: Populate mpdu info for enhanced monitor mode
Modify poplate mpdu info code for enhanced monitor mode

Change-Id: I2541532c8f4f240cc7093f2413a901dd67195684
CRs-Fixed: 2442973
2019-04-26 14:04:36 -07:00
Linux Build Service Account
da643ab5c7 Merge "qca-wifi: Fix KW issues" 2019-04-25 15:05:10 -07:00
Surya Prakash Raajen
a2d6a784c7 qca-wifi: Free buffer in case of error in sending wmi cmd
Free the buffer used to send wmi handle in wmi_unified_cmd_send
in case of error in sending the commands

Change-Id: I83fef6ea16e6676584196855fa327537b9e492eb
CRs-Fixed: 2427586
2019-04-24 22:27:38 -07:00
Karunakar Dasineni
d08697000c qca-wifi: Fix wmi handle type in protocol tag API
Use wmi_unified_t instead of void* in Rx protocol
tag update interface.

Change-Id: Iebc7cd4c0ac7d8473ddfdac53f1f35875f065628
2019-04-23 22:28:15 -07:00
Linux Build Service Account
b9630f91f1 Merge "qca-wifi: After NOL timeout add channels to ETSI PreCAC Required List" 2019-04-22 21:04:57 -07:00
narayan
80554f5219 qca-wifi: Fix KW issues
Fix KW issue in cfr_common.c and wlan_cfr_tgt_api.c

Change-Id: I23e0ce3bf41ca9e6250800b7945c92ace80f037e
CRs-Fixed: 2439699
2019-04-22 23:21:10 +05:30
Linux Build Service Account
b1f91ce68c Merge "qca-wifi: Move WIN ENH RX capture feature out of cmndev" 2019-04-19 12:35:22 -07:00
Hariharan Basuthkar
34601e1662 qca-wifi: After NOL timeout add channels to ETSI PreCAC Required List
After NOL timeout, if ETSI PreCAC is supported, add the HT20 Channel
to ETSI PreCAC Required List.

Change-Id: I45812d0f7a9dd20e4fb1f03e6a71548ff2f6e5b4
CRs-Fixed: 2403489
2019-04-19 06:59:24 -07:00
Linux Build Service Account
290546106a Merge "qca-wifi: Add new feature to support protocol tags." 2019-04-19 03:07:47 -07:00
Kai Chen
b6ff0eaa75 qca-wifi: Move WIN ENH RX capture feature out of cmndev
Move WIN ENH RX caputre feature out of common dev to
component dev

Change-Id: I642ef98e2a93a395351d48a927186f419ba7f341
2019-04-16 16:29:44 -07:00