Hi all, I have build a multi-aps network,and there are wifi clients roaming in the network. Now I use the standard ath9k driver,and I found that the time of handoff is as long as 3 to 4 seconds,it is too long to process the Voip service and so on. I think the problem can be solved by modify the driver,anyone has tried it? Any help will be appreciated. Waiting for your reply. from jammy's iPhone 在 2014年9月22日,20:59,Lorenzo Bianconi <lorenzo.bianconi83@xxxxxxxxx> 写道: >> Hi, all, > > Hi, > >> I have read the http://www.spinics.net/lists/linux-wireless/msg124980.html for patching the ath9k driver in compat-wireless-2014-05-22 in openwrt trunk, but when I patch, for example, “the [PATCH 01/10] ath9k: export methods related to ack timeout estimation”, it failed. > > please use latest dynack patchset: > http://www.spinics.net/lists/linux-wireless/msg127038.html > >> the command window showed that: >> patching file drivers/net/wireless/ath/ath9k/hw.h >> Hunk #1 FAILED at 1080. >> 1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/hw.h.rej. >> >> i have checked the hw.h file, but I can not see anything wrong, how should i do further? > > You should port dynack on compat-wireless-2014-05-22. E.g: > > --- a/drivers/net/wireless/ath/ath9k/hw.h > +++ b/drivers/net/wireless/ath/ath9k/hw.h > @@ -1080,6 +1080,10 @@ void ar9002_hw_load_ani_reg(struct ath_hw *ah, > struct ath9k_channel *chan); > void ath9k_ani_reset(struct ath_hw *ah, bool is_scanning); > void ath9k_hw_ani_monitor(struct ath_hw *ah, struct ath9k_channel *chan); > > +void ath9k_hw_set_ack_timeout(struct ath_hw *ah, u32 us); > +void ath9k_hw_set_cts_timeout(struct ath_hw *ah, u32 us); > +void ath9k_hw_setslottime(struct ath_hw *ah, u32 us); > + > #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT > static inline bool ath9k_hw_btcoex_is_enabled(struct ath_hw *ah) > { > > this chunk will fail since OpenWRT uses CPTCFG_ATH9K_BTCOEX_SUPPORT > insted of CONFIG_ATH9K_BTCOEX_SUPPORT > >> another question is,if I patch them manualy,I can not see the dnyack choice in the menuconfig,what should I do then? > > You should add dynack to OpenWRT mac80211 package Makefile > >> I am waiting for your suggestions. >> >> from jammy's iPhone-- >> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > Regards, > Lorenzo > > -- > UNIX is Sexy: who | grep -i blonde | talk; cd ~; wine; talk; touch; > unzip; touch; strip; gasp; finger; gasp; mount; fsck; more; yes; gasp; > umount; make clean; sleep -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html