Search Linux Wireless

Does anybody know how to send a beacon in ath5k driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I try to generate the beacons in ath5k with mac802.11. I have done
some work as follow. But it still doesn't work. Is there anybody know
something about that.

--MAC80211--

set the fallow flag in the driver initialization.

local->hw.flags & IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE

--Atheros Driver--

setting AP mode

AR5K_STA_ID1 |= AR5K_STA_ID1_AP

initialize beacon register

AR5K_TIMER0 AR5K_TIMER2 AR5K_TIMER3 AR5K_TIMER4

AR5K_BEACON |= AR5K_BEACON_ENABLE [ | AR5K_BEACON_RESET_TSF ]

enable SWBA

AR5K_PIMR |= AR5K_INT_SWBA

configure the Receive filter register

AR5K_RX_FILTER |= AR5K_RX_FILTER_BEACON


Jing
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux