def log_recv(self, p, *args, **kwargs): """Updated to print `RAI` parameters.""" if ANNO.supported(p): if p.haslayer(RAI): kwargs['rai-rate'] = p[RAI].rate kwargs['rai-length'] = p[RAI].length if p.hasanno('phy-rate'): kwargs['phy-rate'] = p.getanno('phy-rate') DCF.log_recv(self, p, *args, **kwargs)
def log_recv(self, p, *args, **kwargs): """Updated to print `ARF` related parameters.""" if p.hasanno('phy-rate'): kwargs['phy-rate'] = p.getanno('phy-rate') DCF.log_recv(self, p, *args, **kwargs)