Hi everyone, We are using ath9k for our research project. The wlan interface that we have is AR9285. Basically we want to adjust the data rate of beacon frame to higher rate, i.e. from 1Mbps to 54Mbps, so that the beacon frame will use less channel time.
I tried to achieve that by simply change the argument of ath_beacon_setup() --- a/drivers/net/wireless/ath/ath9k/beacon.c +++ b/drivers/net/wireless/ath/ath9k/beacon.c @@ -209,7 +209,9 @@ static struct ath_buf *ath_beacon_generate(struct ieee80211_hw *hw, } } - ath_beacon_setup(sc, vif, bf, info->control.rates[0].idx); + // ath_beacon_setup(sc, vif, bf, info->control.rates[0].idx); + // chagne data rate + ath_beacon_setup(sc, vif, bf, 11); while (skb) { ath_tx_cabq(hw, skb); By using the other wifi station in monitor mode, I can see that the data rate is changed from 1Mpbs to 54Mbps. However, the TSF value does not looks right. That is we observed the TSF in the stations run few hundreds micro-sec earlier than the AP. We suspect that is because when AP timestamped the TSF in beacon, it actually estimated the transmission time of the beacon frame under 1Mbps. However, in our case, the data rate is 54Mbps, so that the transmission time is shorter which makes the TSF of station nodes run earlier. Am I right? Is it possible to change the data rate of beacon, and maintain the sync of TSF as well? Thanks and best regards, -Yi-Hung
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel