커밋 그래프

28 커밋

작성자 SHA1 메시지 날짜
Mukul Dhiman
b139770f92 qcacmn: Remove unused var in dp/wifi3.0/dp_txrx_wds.h
Remove unused var in dp/wifi3.0/dp_txrx_wds.h

CRs-Fixed: 3284798
Change-Id: I07048b99fdf9343afd9bec1b4af32d715aacb289
2023-01-08 23:17:43 -08:00
Devender Kumar
277054124d qcacmn: AST entry create and update support for IPA
To support WDS feature in IPA driver, WLAN needs
to update the ast entry for any new rx packet, and for
end-nodes connected via repeater to root.

CRs-Fixed: 3226348
Change-Id: I7383b12f18e7c70ec06499d66130667eca033131
2022-07-13 02:37:22 -07:00
syed touqeer pasha
59a8df8159 qcacmn: Handle WDS EXT for WDS STA
Handle WDS EXT for WDS STA

Change-Id: Ia0d6c9a5de5234584f67f5c0ed3208cf33e882ab
CRs-Fixed: 3226240
2022-06-29 02:56:39 -07:00
Pavankumar Nandeshwar
826ec6b4f5 qcacmn: use txrx_peer in wds APIs
use txrx_peer in wds APIs instead of main dp peer

Change-Id: I3d05de8c29c1ee012405ca2ab22aec3876956bf1
2022-02-09 11:53:49 -08:00
Tallapragada Kalyan
ab28074b13 qcacmn: Access peer and its parameters only if peer_id changes
1. avoid accessing CFG parameter in per pkt path.
2. Access peer, vdev and pdev only when current peer_id
   is different from previous peer_id.
3. Avoid HKv1 and v2 checks in WDS learning path.

Change-Id: Id7fb7a29c642480f8ca58738dbb0c92130e44ecd
2022-01-24 17:00:31 -08:00
aloksing
b158abe417 qcacmn: API renaming for monitor module
Add prefix dp for all monitor APIs
Add mon_debug/mon_info/mon_err for logs

Change-Id: I71d49f6bcacd77f5695269817fed83337169227b
CRs-Fixed: 3006497
2021-08-12 05:32:47 -07:00
aloksing
c60b9619a3 qcacmn: Conditionally compile monitor related features and issue fixes
PATCH[7/7]:
This patch consists following changes:
 -Conditionally compile all monitor destination ring related code
  Macro used QCA_MONITOR_PKT_SUPPORT
 -Add QCA_ENHANCED_STATS_SUPPORT macro to conditionally compile
  enhanced stats support
 -Use QCA_MCOPY_SUPPORT and QCA_TX_CAPTURE_SUPPORT macros
  to conditionally compile MCOPY and Tx capture features
  respectively
 -Use QCN_IE macro to conditionally compile BPR
  feature
 -Use QCA_ADVANCE_MON_FILTER_SUPPORT macro to conditionally
  compile advance monitor filter feature
 -Fix vdev attach issue for special and smart monitor vap
 -Fix status ring initialization issue.

Change-Id: I0deaa28a9a54bf34b0f41e6dd510fdd8d4992db2
CRs-Fixed: 2983780
2021-07-30 21:51:26 -07:00
aloksing
53fe7000ba qcacmn: Move monitor related fields from soc/pdev to mon_soc/mon_pdev
PATCH[6/7]:
This patch consists following changes:
 -Move monitor related pdev variables to struct dp_mon_pdev
 -Move monitor relted soc variables to struct dp_mon_soc
 -Move cookie to monitor link desc va to monitor file
 -Add APIs to access monitor related variables
 -Add dummy APIs to build without monitor support.

Change-Id: I032a480b1383d061f984cee3ba6b10ac7a0ff350
CRs-Fixed: 2983781
2021-07-30 21:51:21 -07:00
Subrat Dash
6e6fa7db85 qcacmn: Use SA based address lookup for station mode
The dp_tx_da_search_override API wrongly returns DA based
address lookup instead of SA based for station mode when
FEATURE_WDS build flag is enabled.

Fix dp_tx_da_search_override API to return SA based
address lookup for station mode.

CRs-Fixed: 2924299
Change-Id: Ibb0c2a6df5f73fd5a361900036316375fc29dbbd
2021-04-22 23:56:28 -07:00
Subrat Dash
589ec44aa3 qcacmn: Fix compilation issues when WDS feature is enabled
Fix compilation issues when CONFIG_FEATURE_WDS flag is enabled.

CRs-Fixed: 2899655
Change-Id: I65fcee6269ad41918bc8e968532249a3e4a4ad35
2021-03-18 07:43:17 -07:00
Jeevan Kukkalli
d4580d9626 qca-wifi: Add appropirate check to kickout direct peer
Add appropriate check to kickout directly associated peer
when it roams to another AP and reachable via TA peer.

Change-Id: I3e7cc0f1f4e4aa3e05fd7b7e823471978d07a64c
CRS-Fixed: 2801038
2020-10-27 05:29:49 -07:00
VENKATASAIPRUDHVI SANNIDHI
de691b33c3 qca-wifi: Add reason for asterity active setting failure
Add change to send reason code for asterity active setting failure

Change-Id: I6a559b621a1bb71bc6295d74bdc2bcf095236ef4
2020-09-21 22:20:22 +05:30
Naga
9fa046409b qcacmn: FR-64493 WDS Extended support
Added API send event to control path for
created dedicated net device for backhaul
when WDS extended feature is enabled.
This API will be called when 1st 4 address
is received from backhaul.

Change-Id: Ie473e582edf3974eb18997f578b02562671c4e9f
CRs-Fixed: 2773485
2020-09-11 18:23:52 +05:30
Chaithanya Garrepalli
1052e4d52b qca-wifi: remove DP peer back pointer in DP AST entry
Remove peer pointer in AST entry and store peer_id instead
to avoid access of peer memory without taking reference

Change-Id: I1e9c2a6880b3582866b821bf56a8400e056665f2
2020-08-11 16:04:23 +05:30
Jeevan Kukkalli
2ddb03c7cb qca-wifi: Send HMWDS ast add status WDI event
Function to notify HMWDS ast add status to upper layers via
newly added WDI event WDI_EVENT_HMWDS_AST_ADD_STATUS

Change-Id: Ib6fad7a48425ce7de16d94bb401af0c428c8e556
CRs-Fixed: 2745460
2020-07-31 18:53:39 +05:30
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
Pavankumar Nandeshwar
1514da0ceb qca-wifi: Hold the ast lock while using ast table
Hold the ast lock while fetching and using the ast
entry from ast table without unlocking in between
to make sure that the ast entry is not freed
in between.

Change-Id: I887b94441e7c19d6ce0bf7175f61a1dc9055a0fc
2020-04-01 23:11:11 -07:00
Debasis Das
b51fd52ae0 qca-wifi: Pass proper address to sta_kickout callback
While invoking sta_kickout callback from dp layer, pass
proper mac-address.

Change-Id: I770a5b3f120fbfa53055348350005309f841867b
2020-03-17 02:34:07 -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
Linux Build Service Account
ef02ed8d12 Merge "qca-wifi: Extract msdu end TLV information into structure" 2020-02-06 06:06:44 -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
syed touqeer pasha
a8273c8335 qca-wifi: Extract msdu end TLV information into structure
Rather than extracting msdu end TLV information per field basis,
extract needed msdu end TLV information into local structure.

Change-Id: Iff8eea6c88a11ab588f6f4d8f11acb6faa4d513d
2020-01-16 21:43:18 +05:30
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
Pavankumar Nandeshwar
dc1c0b5fbb qca-wifi: changes for removal of ctrl_path handles from dp
Change-Id: Ifffd07460103f33618dd4e54ef6a32e1d9212127
2019-11-29 08:41:49 -08:00
Chaithanya Garrepalli
f2f9ecd147 qcacmn: changes to detect roaming in STA mode
Changes to initiate STA kickout on RE if station
roams to AP

Change-Id: I0aa00289204cf05b6ae73d9bb90756f911bdd18e
2019-11-21 18:17:47 +05:30
Ruben Columbus
b97445ae9a qca-wifi: Fix for implementation on Hal new api
hal api changes to receive hal_soc

Change-Id: Ibccf8ae36e8db24bb93a4647601aea51074f175b
2019-10-14 16:39:25 -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
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