Attention is currently required from: Hoernchen, fixeria, laforge, pespin.

Timur Davydov has posted comments on this change by Timur Davydov. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/42411?usp=email )

Change subject: transceiver: add optional WebSDR device support
......................................................................


Patch Set 10:

(1 comment)

File Transceiver52M/Transceiver.cpp:

https://gerrit.osmocom.org/c/osmo-trx/+/42411/comment/709001f7_55929b8f?usp=email
 :
PS10, Line 1132:     msgLen = read(mDataSockets[chan], buffer, sizeof(buffer));
> You should instead properly split read/write from/to sockets into its own 
> method.
Could you please clarify if I understood you correctly?

Do you mean that the socket read/write operations should be split into separate 
methods, and then overridden in the WebSDR subclass so that, instead of 
operating on sockets, they would operate on some intermediate buffers?

That approach should work, and architecturally it would probably look cleaner. 
My concern is that in the WebSDR case this would require placing the data into 
an intermediate buffer before calling method, as example driveTxPriorityQueue, 
and then reading it back here, which introduces an extra copy and may 
negatively affect performance.

Is that the direction you had in mind?



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/42411?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ia0d340c323c2eea28fbe82601ba0af7cfbd68f6d
Gerrit-Change-Number: 42411
Gerrit-PatchSet: 10
Gerrit-Owner: Timur Davydov <[email protected]>
Gerrit-Reviewer: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: Hoernchen <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Attention: fixeria <[email protected]>
Gerrit-Comment-Date: Thu, 19 Mar 2026 19:19:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>

Reply via email to