Графік комітів

19 Коміти

Автор SHA1 Повідомлення Дата
Chaithanya Garrepalli
887962ea4b qca-wifi: use peer_id instead of peer_ids array from dp_peer
use peer_id instead of peer_ids array from dp_peer

Change-Id: I7a3692b0260be5fdbc5d7670ead27f6ff8336c00
2020-05-21 21:47:28 +05:30
Linux Build Service Account
371e39c276 Merge "qca-wifi: fixing some compilation issues for WDS_VENDOR_EXTENSION" 2020-03-16 01:45:23 -07:00
Pavankumar Nandeshwar
d4e7b67d7f qca-wifi: fixing some compilation issues for WDS_VENDOR_EXTENSION
Fix some compilations issues for WDS_VENDOR_EXTENSION

Change-Id: I82898aeb73b1512df85f937e36dfa7c70d57cac9
2020-03-11 15:03:51 +05:30
Pavankumar Nandeshwar
9efee1898c qcawifi: Hold peer_ref while adding peer to multipass_list
Hold peer_ref while adding peer to multipass_list
which will be released during the removal from the list.

Change-Id: I37ada3fd433dc9a8858dedb82dc9caee151fc88a
2020-03-10 01:37:00 -07:00
Ankit Kumar
f0ceb5ba1e qca-wifi: Enable vlan hw acceleration in Rx
Enable vlan hardware acceleration support in Rx path
if multipass feature enabled.
It is expected for a packet to have vlan header in-placed
and vlan_id is padded with zero. If not, drop the frame with
proper error updation.
Update vlan_id if frame comes with special peer and has vlan
header in placed and vlan_id padded with 0.

Change-Id: Ife7a371dcca20634b0dc99f00cb02551dbff611f
CRs-Fixed: 2584007
2020-01-31 03:33:00 -08:00
Linux Build Service Account
46b3231f9f Merge "qca-wifi: API support for peer MultiQueue support" 2020-01-30 00:37:11 -08:00
Mainak Sen
e1349928dd qca-wifi: API support for peer MultiQueue support
Lithium HW can parse each MSDU when packets are enqueued to transmit
classifier and each MSDU can get enqueued to different MSDU-Queue.
By default, there are 2 queues per TID – UDP and NON-UDP. Based on
the flow parsing, packets will be queued to either of them.
Enterprise customers uses RAW mode frames which transmit classifier
would not be able to identify L4 protocol for  UDP or NON-UDP queue
for encrypted frames.
Customer can also have different application based packets which needs
to be enqueued to differently prioritized queues. They can choose to
tag each MSDU based on application DPI and derive the flow priority
as below –
•	UDP
•	NON-UDP
•	HI-PRIO
•	LOW-PRIO
Customer needs API support from host which will provide an ast-index
based on a particular flow id given peer mac address. Based on the mac
address, host will find the associated peer and return the ast_index &
cache set number corresponding to the flow id from peer flow based ast
entry table. Customer will then program this ast-index and ast override
in transmit classifier CMD ring to enqueue MSDU to a specific
flow-queuein TQM.
Host API:
Input parameter – uint8_t *macaddress,uint8_t flowid,uint8_t tid
Output – uint16_t ast_index

Change-Id: I62b2308510ee7a43b153e125dc3bee6abbad0848
2020-01-29 11:37:20 +05:30
Linux Build Service Account
6276687465 Merge "qca-wifi: umac-dp decoupling changes in ctrl_ops for datapath" 2020-01-21 01:37:32 -08:00
Pavankumar Nandeshwar
5ccd5a8727 qca-wifi: umac-dp decoupling changes in ctrl_ops for datapath
Modify datapath APIs to make sure they do not need
to receive dp handles from umac interface.

Change-Id: I0979795a6356a29394daa2719dfbd36cdde3d0e2
2020-01-16 12:59:04 +05:30
Ankit Kumar
38e0f2b90b qca-wifi: Modified return type not to break existing feature handling
At present, there is not check while calling multipass processing
and hence no packet gets dropped.
Adding check will drop packet in case of returning return type as
false. Hence modified return type as true so that no packet gets
dropped and existing flow doesn't break.

Change-Id: I49089f155b1b78adb533ca23f3b0f3cad9543135
CRs-Fixed: 2599782
2020-01-16 12:06:06 +05:30
Pavankumar Nandeshwar
0759dd94d5 qca-wifi: cmn_ops changes for umac-dp decoupling
Equivalent changes in component dev data path APIs
implementation for changes in cmn_ops interface APIs.

Change-Id: I1d9c43607bfa699dded771fe9aea87f4ec5a70b9
2019-12-24 23:51:09 -08:00
Pavankumar Nandeshwar
f2110a8cdf qca-wifi: Decoupling changes for stats, wds, raw and pflow ops
Corresponding changes in datapath for changes in interface
APIs for stats, wds, raw, pflow ops.

Change-Id: I04b595bbe52d8871573b4f6c811d5555659f7d47
2019-12-05 22:34:21 -08:00
Linux Build Service Account
103077dadd Merge "qca-wifi: Unref peer before returning." 2019-11-29 02:39:36 -08:00
Mainak Sen
4adb711f90 qca-wifi: Increase MEC ASE aging timeout to 5 sec
Increase Multicast echo check aging timer to 5 sec from
1 sec to avoid MEC check fail and bridge fdb contamination

CR fixed:2566432

Change-Id: Ie80d11a9e8b48fb4fe7456355773613b0eb4ba4f
2019-11-27 18:32:30 +05:30
Varsha Mishra
7828c20e5d qca-wifi: Unref peer before returning.
Missing peer unref has been added as part of this change.

Change-Id: Ieb29b9d5c28824685d99a2d0d7fdfd6cbb51637a
2019-11-24 22:34:43 -08:00
Varsha Mishra
f3417a607e qca-wifi: Handle vlan tagged duplicate skb for multipass phrase feature
Duplicate vlan tagged frames which need to be sent to repeater should
have unique check to avoid infinite iteration. Infinite iteration leads
to creation of nbuf every time loop is executed.

Change-Id: I2601461edc9e144f1058ed031ba14410563d0755
2019-08-11 01:47:32 -07:00
Varsha Mishra
52e3f7f1ae qca-wifi: Handling vlan tagged frames for multipass phrase feature
1. Remove vlan tag in tx and enqueue to hardware.
2. Add vlan tag in rx after peer-vlan_id lookup.

Change-Id: I37c34b1d54a497700101e78ad6930b91aa6b43e9
2019-07-31 20:22:06 +05:30
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
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