Attention is currently required from: laforge, daniel, matanp.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/32519 )

Change subject: ctrl: Add getting access control class
......................................................................


Patch Set 3:

(2 comments)

File src/osmo-bsc/bts_ctrl.c:

https://gerrit.osmocom.org/c/osmo-bsc/+/32519/comment/63e112ad_7090a49e
PS3, Line 841: struct gsm_bts *bts = cmd->node;
const


https://gerrit.osmocom.org/c/osmo-bsc/+/32519/comment/cc860341_e3734cd0
PS3, Line 859:  for (i = 0; i < 8; i++) {
> Is there a reason why you have two loops here, not just one?
Ah, I see now. The bitmask is spread over two octets. You could do something 
like:

```
uint16_t acc_mask;

acc_mask  = bts->si_common.rach_control.t3;
acc_mask |= bts->si_common.rach_control.t2 << 8;
```

But it's not critical and you can keep it as it is now.



--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32519
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I279249f9047f5edacc9edf3d231e3e74023fc84e
Gerrit-Change-Number: 32519
Gerrit-PatchSet: 3
Gerrit-Owner: matanp <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-CC: fixeria <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: daniel <[email protected]>
Gerrit-Attention: matanp <[email protected]>
Gerrit-Comment-Date: Sun, 30 Apr 2023 18:40:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to