- Add 'chan' parameter for acx_join_bss(), since for Monitor operational mode
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 15 Feb 2007 09:05:11 +0000 (09:05 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 15 Feb 2007 09:05:11 +0000 (09:05 +0000)
commit006b95860c1815c33c0e00927b33e7fc59222733
treea654d0e229a5ba1ae42d10c3275174c8fca76239
parent4df76d5d055ea9621d27ec85c469a011800a1945
- Add 'chan' parameter for acx_join_bss(), since for Monitor operational mode
  current channel is not pointed by ieee80211com.ic_bss.ni_chan.
- Factor out acx_rx_config() from acx_write_config().
- Add Monitor operational mode support.
- Correct promisc support.
- On TX path:
  o  Move BPF_MTAP() before ieee80211_encap(), so ether frames will be tapped.
  o  Tap 802.11 MAC frames to ieee80211com.ic_rawbpf before they are encrypted.
- On RX path:
  o  Tap ACK/CTS to ieee80211com.ic_rawbpf.
  o  For non-Monitor operational mode, update ieee80211_stats.is_rx_tooshort,
     if frames are too short.
- Nuke unused functions.
sys/dev/netif/acx/acxcmd.c
sys/dev/netif/acx/acxcmd.h
sys/dev/netif/acx/if_acx.c
sys/dev/netif/acx/if_acxvar.h