Skip to contentSkip to conversation

How to get medium (carrier-sense) information from Atheros chipsets?

DISCUSSION Stefan Schwalowsky (inIT) 2 participants 2 messages Dec 6, 2010 – Dec 7, 2010

lore
Share & tools
lore
#0 lore raw

Hello,
I'm working on a research project dealing with real-time capabilities of WLAN. Currently I'm analyzing the ATH5K driver and trying to find a way to get information about the medium state (carrier-sense state) . I want to check whether the medium is currently occupied by other stations or not. Is there a way to get the carrier sense information from the hardware through a status-register or so? (Currently we have a AR5413 Chip, but any other would also be OK) The only information i found was about the profile count registers, which doesn't really meet our requirements.

I greatly appreciate your help

Kind regards
Stefan Schwalowsky

#1 lore raw

Have a look at the ANI file in
/sys/kernel/debug/ieee80211/phyx/ath5k/ani

You will need to enable debugfs & debug entries for ath5k in your kernel config.

Alternatively, you can look at the patches Bruno Randolf added:
[PATCH 2/2] ath5k: Add channel time to survey data

Cheers,

--
Jonathan Guerin

Quoted 20 lines · Stefan Schwalowsky (inIT)

Hello,
I'm working on a research project dealing with real-time capabilities of WLAN. Currently I'm analyzing the ATH5K driver and trying to find a way to get information about the medium state (carrier-sense state) . I want to check whether the medium is currently occupied by other stations or not. Is there a way to get the carrier sense information from the hardware through a status-register or so? (Currently we have a AR5413 Chip, but any other would also be OK)  The only information i found was about the profile count registers, which doesn't really meet our requirements.

I greatly appreciate your help

Kind regards
Stefan Schwalowsky

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html