Skip to content

Question on extracting metadata in the src code (csi_extractor.c) #81

@niruth99

Description

@niruth99

Hey, I’ve been reviewing the source code and had a question about csi_extractor.c for the chip version CHIP_VER_BCM4355c0. In the code, you extract metadata (source MAC, sequence count, and frame control) from csi[tones]. I was wondering if you could clarify the structure of csi[tones], specifically the offsets to the different data variables, as I couldn’t find a definition for it.

Additionally, I was looking at your pi-5.4.51-plus branch where you extract additional metadata, such as the three MAC addresses from the MAC header. I noticed that in this branch, the offset used for extracting metadata from csi[tones] is different.

I had one more question— in csi_extractor.c I’m assuming that *p refers to the entire packet from which the CSI information is being extracted. If that's the case, should I be able to extract additional metadata such as the source and destination IP addresses from it as well?

As I’m relatively new to C, it’s possible I may have missed something. Any feedback or clarification would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions