def METHOD_NAME(self, packet: RawPacket):
    if not hasattr(packet, 'wpan'):
        return
    for layer in packet.layers:
        if layer.layer_name == 'eth':
            packet.layers.remove(layer)
            eth_src = EthAddr(layer.get_field('eth.src'))
            eth_dst = EthAddr(layer.get_field('eth.dst'))
            logging.debug("stripping eth: src=%s, dst=%s", eth_src, eth_dst)
            channel = eth_src[5]
            self.wpan._add_field('wpan.channel', hex(channel))
    return