Skip to contentSkip to conversation

Why 2 beacon_interval variables?

ath9k-devel Steve Brown 5 participants 7 messages Jan 18, 2011 – Jan 27, 2011

lore
Share & tools
lore
#0 lore raw

I'm looking at the issue of beacons with different intervals.

There is a beacon_interval in struct ath_softc as well as one in struct ath_beacon_config which is also part of ath_softc.

Are both needed?

Steve

#1 lore raw
Quoted 6 lines · Steve Brown

I'm looking at the issue of beacons with different intervals.

There is a beacon_interval in struct ath_softc as well as one in struct ath_beacon_config which is also part of ath_softc.

Are both needed?

sc->beacon_interval is updated in ath9k_bss_info_changed function of main.c. Need to dig deep to rule it out as redundant(though it appears like that). any issues because of this?
Please see this commit id 57c4d7b4c4986037be51476b8e3025d5ba18d8b8

Quoted 9 lines

Steve

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

#2 lore raw
Quoted 6 lines · Mohammed Shafi
Quoted 5 lines · Steve Brown

I'm looking at the issue of beacons with different intervals.

There is a beacon_interval in struct ath_softc as well as one in struct ath_beacon_config which is also part of ath_softc.

Quoted 10 lines
Quoted 1 line

Are both needed?

sc->beacon_interval is updated in ath9k_bss_info_changed function of main.c. Need to dig deep to rule it out as redundant(though it appears like that). any issues because of this?
Please see this commit id 57c4d7b4c4986037be51476b8e3025d5ba18d8b8

Quoted 3 lines

Steve

Thanks for the reference. The beacon_interval in that commit looks redundant to me too. It turned up while I was testing some code for beacons at different intervals. It's simpler if there is just beacon_interval.

I'll look closer.

Steve

#3 lore raw
Quoted 18 lines · Steve Brown
Quoted 6 lines · Mohammed Shafi
Quoted 5 lines · Steve Brown

I'm looking at the issue of beacons with different intervals.

There is a beacon_interval in struct ath_softc as well as one in struct ath_beacon_config which is also part of ath_softc.

Quoted 10 lines
Quoted 1 line

Are both needed?

sc->beacon_interval ?is updated in ath9k_bss_info_changed function of main.c. Need to dig deep to rule it out as redundant(though it appears like that). any issues because of this?
Please see this commit id 57c4d7b4c4986037be51476b8e3025d5ba18d8b8

Quoted 3 lines

Steve

Quoted 6 lines

Thanks for the reference. The beacon_interval in that commit looks redundant to me too. It turned up while I was testing some code for beacons at different intervals. It's simpler if there is just beacon_interval.

I'll look closer.

Thanks, but now I think it is not redundant,(however I did not dig deep) The commit made sure that it did not cause any regression in ath9k and it is made to reflect some changes in mac80211.
Having beacon_interval in ath_softsc structure will help us to use through the driver code.
Lets dig very deep before removing it(afraid of regressions).

Quoted 8 lines

Steve

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

#4 lore raw
In reply to Steve Brown
Quoted 4 lines · Steve Brown

Thanks for the reference. The beacon_interval in that commit looks redundant to me too. It turned up while I was testing some code for beacons at different intervals. It's simpler if there is just beacon_interval.

How far along are you on that code for beacons at different intervals? That would be really nice to have.

/Bj?rn

#5 lore raw
Quoted 10 lines · Bj?rn Smedman
Quoted 4 lines · Steve Brown

Thanks for the reference. The beacon_interval in that commit looks redundant to me too. It turned up while I was testing some code for beacons at different intervals. It's simpler if there is just beacon_interval.

How far along are you on that code for beacons at different intervals? That would be really nice to have.

/Bj?rn

I've got a bridged AP and MP running. The AP beacon interval is 100 and the MP is 1000. If I'm unable to break it over the next few days, I'll clean it up and post an RFC.

Steve

#6 lore raw
In reply to Steve Brown
Quoted 4 lines · Steve Brown

I'm looking at the issue of beacons with different intervals.

There is a beacon_interval in struct ath_softc as well as one in struct ath_beacon_config which is also part of ath_softc.

Hello!

Did you make any progress with the different beacon intervals?

I'd like to start doing some tests with multiple APs, and it would be nice to test some different beacon intervals as well...

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com