Dear John, Thanks for your help. I am looking in net/mac80211/ibss.c. I see the ieee80211_rx_mgmt_beacon function but I don't find anything about beacon tx, or about tsf update. I am still lost. static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata, struct ieee80211_mgmt *mgmt, size_t len, struct ieee80211_rx_status *rx_status) { size_t baselen; struct ieee802_11_elems elems; /* Process beacon from the current BSS */ baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; if (baselen > len) return; ieee802_11_parse_elems(mgmt->u.beacon.variable, len - baselen, &elems); ieee80211_rx_bss_info(sdata, mgmt, len, rx_status, &elems, true); } Any tip more, please? Thank you in advance John ------------------------------------------ Jónatan Muñoz Email: jmunoz@xxxxxx Ubiquitous Wireless Communications Research Laboratory Uwicore, http://www.uwicore.umh.es Signal Theory and Communications Division University Miguel Hernández of Elche Avenida de la Universidad s/n Edificio Quorum V P2 012 03202, Elche (Alicante) Spain Tel: +34 96522 2031 /+34 669256708 Fax: +34 96665 8903 ------------------------------------------ > -----Mensaje original----- > De: linux-wireless-owner@xxxxxxxxxxxxxxx [mailto:linux-wireless- > owner@xxxxxxxxxxxxxxx] En nombre de John W. Linville > Enviado el: jueves, 05 de agosto de 2010 15:46 > Para: Jónatan Muñoz > CC: linux-wireless@xxxxxxxxxxxxxxx > Asunto: Re: [ath9k]: Beaconing process in ad-hoc mode > > On Thu, Aug 05, 2010 at 01:55:05PM +0200, Jónatan Muñoz wrote: > > Dear All, > > > > I am working in a project where I need to modified the currently > beaconing > > system for adhoc mode in ath9k, what I want to achieve is that each > station > > in an adhoc network send periodically a beacon. As I know, when a > station in > > the network receives a beacon before sending its own beacon, cancels > the > > transmission, updates its hw tsf based on the received beacon and > waits for > > a chance to send the beacon during next TBTT. > > > > For my goal, I think that I should comment the part where the > transmission > > of the beacon is cancelled. In this way, each station will send a > beacon > > each 100TU (~100 ms). I know that this mean a increased traffic load > on the > > network, but it is so much important for the project to obtain a > beacon for > > each station each 100ms. > > > > Right now, I am looking at the source code of ath9k, I am trying to > modify > > the file beacon.c, but I don?t find the way to get my purpose. Could > anyone > > help me to find the right place at the code that I have to modify? I > am a > > bit lost and any help would be greatly appreciated. > > > > Thanks in advance. > > > > PD: Please excuse my poor English > > > > John > > I think you should be looking in net/mac80211/ibss.c. > > Hth! > > John > -- > John W. Linville Someday the world will need a hero, and you > linville@xxxxxxxxxxxxx might be all we have. Be ready. > -- > 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 -- 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