summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2005-03-13the wep mac may be NULL if it's a broadcast keyReyk Floeter
ok krw@
2005-03-12use TAILQ_FOREACHMartin Reindl
ok krw@
2005-03-12Fix RTW_DEBUG compilation and add a few more sanity checks in addition toJonathan Gray
rtw.c -r 1.45 from dyoung@NetBSD: Log Message: Misc. changes to improve ad hoc mode and to enable hostap mode: Fix the work-around for the NIC bug where it skips to rx descriptor 0. The driver used to skip to rx descriptor 1. Hopefully this stops the out-of-order packet reception that Charles Hannum saw. When debugging is enabled, print rx-descriptor status flags before printing the rx bit rate. Add a debug message for when a beacon tx buffer reclamation. Reset IFF_OACTIVE when we reset the transmitter. Pass the consolidated LED state, a struct rtw_led_state, to rtw_led_attach. Choose the bit-rate for management frames (1Mb/s) at the same place we choose for all other frames. Do not use the NIC's short preamble or RTS options for management frames. Label beacons for the NIC. Following a Linux driver, take care not to zero arbitrary bits in the TPPOLL register. Use the new idiom for IBSS merges: disable transmitter, kick the state machine. Add a second descriptor to the beacon ring. The NIC seems to like this much better.
2005-03-11make use of the new ral_get_rts(), ral_txtime() and ral_setup_tx_desc()Damien Bergamini
functions. this makes RTS protection mode and 802.11g work.
2005-03-11don't forget to release nodes when they are no longer needed.Damien Bergamini
2005-03-11introduce new ral_setup_tx_desc() function so we can factor out fillingDamien Bergamini
of tx descriptors.
2005-03-11fix IBSS mode. clean ral_newstate() while i'm here.Damien Bergamini
2005-03-11new ral_get_rts() function for building RTS frames.Damien Bergamini
2005-03-11distinguish null data frames from management frames.Damien Bergamini
2005-03-11simplify led management code.Damien Bergamini
2005-03-11do not disable RF tune in monitor mode.Damien Bergamini
2005-03-11fix ral_enable_tsf_sync() for future IBSS and HostAP support.Damien Bergamini
2005-03-11add various functions to compute duration and plcp length in 802.11a/g.Damien Bergamini
2005-03-11implement fast channel switching for monitor mode (used by kismet).Damien Bergamini
2005-03-11fix tx rate of beacons and mgmt frames in 802.11a.Damien Bergamini
2005-03-11enter RUN state in monitor mode instead of staying in INIT state.Damien Bergamini
make sure we are not enabling TSF synchronization and rate adaptation in monitor mode.
2005-03-11fix basic rates for 802.11g.Damien Bergamini
initialize power mode in ral_init().
2005-03-11don't initialiaze BBP registers with values stored in E2PROM.Damien Bergamini
it seems to override critical default values (like sensitivity).
2005-03-11some cosmetic tweaksDamien Bergamini
fix debug messages level simplify e2prom code
2005-03-11fix channel initialisation. thanks to simon slater.Reyk Floeter
2005-03-10fix beacon handlingReyk Floeter
2005-03-10use bcopy and bzeroReyk Floeter
2005-03-04Bring in a number of reliability fixes from FreeBSD' rl(4) driver.Brad Smith
rev's 1.147, 1.134, 1.93, 1.81, 1.72, 1.71 Tested by uwe@ robert@ jsg@ and a few others
2005-03-03improve radiotap support, fix some minor bugs.Reyk Floeter
2005-03-03addtion of a generic function for allocating beacons: ieee80211_beacon_alloc().Damien Bergamini
ok jsg@, reyk@, dlg@
2005-03-03Do not let dma attach children if it could not initialize properly.Miod Vallat
2005-03-02radiotap support largely based on NetBSD rtw.Jonathan Gray
2005-03-01use one uint64_t instead of two uint32_t in rx radiotap header.Damien Bergamini
2005-03-01make sure radiotap structures are packed.Damien Bergamini
2005-03-01fix the radiotap bpf listenerReyk Floeter
2005-02-28add radiotap, monitor and promiscuous mode support.Damien Bergamini
2005-02-28do per-node rate adaptation. paves the way for ibss support.Damien Bergamini
2005-02-27Split sti softc in two structures, one device-related for regular deviceMiod Vallat
attachment and interface, one screen-attached for the real work. The attachment code is now required to decide whether sti_end_attach() is run immediately, or as a startuphook. This allows hp300 to initialize sti early, and use it as a console; hppa is functionally unchanged, as it uses the PROM console until the root device is mounted.
2005-02-27IBSS bits from NetBSD rtw.c -r 1.40Jonathan Gray
2005-02-25add support for the atheros ar5211 802.11A/B/g wireless chipset.Reyk Floeter
ok deraadt@
2005-02-25Correct usage of bus_dma which makes re(4) work on alpha.Jonathan Gray
From NetBSD rtl8169.c -r 1.11 ok pvalchev@
2005-02-25Add support for software WEP.Jonathan Gray
Pointers from and ok damien@
2005-02-23add all supported regulation domains. the forced COUNTRYCODE in ar5xxxReyk Floeter
is now disabled by default to use the value found in EEPROM. ok deraadt@
2005-02-22make ral compile on macppc.Damien Bergamini
fix endianness issues. pointed out by "barryg" (Barry Dexter A. Gonzaga).
2005-02-22From part of NetBSD rtw.c rev 1.36:Jonathan Gray
In rtw_detach, flag the rtw as "invalid" (RTW_F_INVALID). Do not try to power-down the RF section of an invalid rtw.
2005-02-22Fix a bug causing arches not able to load unaligned to crash in ip input.Per Fogelstrom
m_pullup must be done with a size >= ip header and m_adj must be called after the pullup so pullup does not kill the header alignment. Makes mips64, alpha, sparc64 and possibly others happy. ok from martin, brad and a bunch of others who tested.
2005-02-21unbreak compilation by including some missing headersDavid Gwynne
requested by and ok reyk@
2005-02-20Do not confuse syslog by printing messages starting with '<'.Miod Vallat
ok krw@
2005-02-20Don't calculate 'total_len' twice.Brad Smith
Inspired by NetBSD' rtk(4) driver. From: Mike Pechkin <mpech at mail dot ru>
2005-02-19return on invalid beacon stateReyk Floeter
2005-02-19add support for the atheros ar5212 wireless chipsets. it is notReyk Floeter
finished yet and still misses some channel initialization and calibration bits. (if you want to hand in your dmesg output, please build a kernel with an uncommented COUNTRYCODE in line 109 of dev/ic/ar5xxx.c to get the value stored in your card's eeprom.) ok henning@
2005-02-19fix attachment process and dmesg output. do some indent while i'm here.Damien Bergamini
pointed out by jsg@
2005-02-19do not transmit any data frame if there is not at least two free descriptorsDamien Bergamini
in the tx ring (CTS/RTS frame + data frame).
2005-02-19cosmetic tweaks.Damien Bergamini
2005-02-19make dhclient work.Damien Bergamini