Skip to contentSkip to conversation

ar9003_rxs struct

ath9k-devel Dan 3 participants 4 messages Apr 13, 2016 – May 9, 2016

lore
Share & tools
lore

Dan

author
#0 lore raw

Hi

Could anyone explain the contents of this struct from ar9003_mac.h

struct ar9003_rxs {
	u32 ds_info;
	u32 status1;
	u32 status2;
	u32 status3;
	u32 status4;
	u32 status5;
	u32 status6;
	u32 status7;
	u32 status8;
	u32 status9;
	u32 status10;
	u32 status11;
} __packed __aligned(4);

thanks

#1 lore raw

Hi,

It's just a placeholder for each of the fields defined. look at ath9k_hw_process_rxdesc_edma() for what those fields mean.

-a

Quoted 26 lines · Dan

Hi

Could anyone explain the contents of this struct from ar9003_mac.h

struct ar9003_rxs {
        u32 ds_info;
        u32 status1;
        u32 status2;
        u32 status3;
        u32 status4;
        u32 status5;
        u32 status6;
        u32 status7;
        u32 status8;
        u32 status9;
        u32 status10;
        u32 status11;
} __packed __aligned(4);

thanks

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#2 lore raw
Quoted 8 lines · Adrian Chadd <adrian <at> freebsd.org> writes:

Hi,

It's just a placeholder for each of the fields defined. look at ath9k_hw_process_rxdesc_edma() for what those fields mean.

-a

The author of the "Atheros CSI tool" found that there is CSI data just past this struct on some of the received frames (in the buf_addr buffer passed to the `ath9k_hw_process_rxdesc_edma' function). The author claims that they experimentally found the CSI data:

https://github.com/xieyaxiongfly/Atheros-CSI-Tool/issues/4

Is this behavior documented anywhere (other than in the source code)? Is there any way we know for sure which frames contain CSI data?

#3 lore raw

i think for the later hardware there's some way to get it as part of the normal payload, because I /think/ that's how the wifi positioning stuff gets fine resolution information.

I should really dig it all up.

-adrian

Quoted 25 lines · Allen Welkie
Quoted 8 lines · Adrian Chadd <adrian <at> freebsd.org> writes:

Hi,

It's just a placeholder for each of the fields defined. look at ath9k_hw_process_rxdesc_edma() for what those fields mean.

-a

The author of the "Atheros CSI tool" found that there is CSI data just past this struct on some of the received frames (in the buf_addr buffer passed to the `ath9k_hw_process_rxdesc_edma' function). The author claims that they experimentally found the CSI data:

https://github.com/xieyaxiongfly/Atheros-CSI-Tool/issues/4

Is this behavior documented anywhere (other than in the source code)? Is there any way we know for sure which frames contain CSI data?

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel