ath9k: Support beacons with multiple intervals
cover ath9k: Support beacons with multiple intervals
This was tested on three routers and a client station with compat-wireless 2011-01-24.
The test setup was:
router 1: bridged mp (test1) & ethernet, with ethernet connected to internet.
router 2: bridged mp (test1) & mp (test2).
router 3: bridged mp (test2) & ap
There was a station connected to the ap on router 3. The client can ping sites on the internet.
The timing of the ap and mp beacons was verified with Wireshark.
With this patch, an mp calls ath_beacon_config_ap, not ath_beacon_config_adhoc. One of the problems with handling mp as adhoc is that the beacons are always assigned to slot 0. This effectively limits one mp per phy. The only differences seem to be the SC_OP_TSF_RESET stuff and the register values in hw.c at ath9k_hw_set_operating_mode, neither of which mean much without doc on the chipset.
I've left some instrumentation in the RFC to make it easier to verify, but will remove it when I post a final patch.
Lastly, I'm puzzled why all the members of the mesh reconfigure their beacons whenever a new station joins.
Steve
cover ath9k: Support beacons with multiple intervals
Steve,
Quoted 2 lines · Steve Brown
This was tested on three routers and a client station with compat-wireless 2011-01-24.
Won't be able to verify it but it's definitely useful for mesh. I don't know ath9k well enough to review your changes, though.
Quoted 3 lines
(...)
Lastly, I'm puzzled why all the members of the mesh reconfigure their beacons whenever a new station joins.
Are you talking about mesh_accept_plinks_update() ?
Cheers,
Signature · 3 lines
Javier Cardona cozybit Inc. http://www.cozybit.com