Add PBCC modulation support in netproto/802_11:
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 1 Dec 2006 04:42:53 +0000 (04:42 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 1 Dec 2006 04:42:53 +0000 (04:42 +0000)
commit21152d3984e0a379456014f6d606f22a8eede0ab
treeede08a5d297924a91a8fe50fc1056311b0ccb8c6
parent08bec554c23a918066f62aaf3f61269f2146968d
Add PBCC modulation support in netproto/802_11:
- Since ieee80211com.ic_caps is already crowded, add ieee80211com.ic_caps_ext
  to extend it.  Currently only IEEE80211_CEXT_PBCC, which should be set by
  the drivers capable of PBCC modulation, is defined for this field.
- Adapt SIOCG80211:IEEE80211_IOC_DRIVER_CAPS ioctl handling to expose the
  content of ieee80211com.ic_caps_ext.  Old semantic of this ioctl is not
  changed, given ieee80211req is zeroed out before the ioctl call.
- Add debug information about peer node's rate set (after negociation)
- Set PBCC bit in Capability ie base on the value of
  (ieee80211com.ic_caps_ext & IEEE80211_CEXT_PBCC).  This is only done for 2GHz
  channels.
- Teach ifconfig(8) to print ieee80211.ic_caps_ext upon "list caps" command.
sbin/ifconfig/ifieee80211.c
sys/netproto/802_11/ieee80211_var.h
sys/netproto/802_11/wlan/ieee80211.c
sys/netproto/802_11/wlan/ieee80211_ioctl.c
sys/netproto/802_11/wlan/ieee80211_node.c
sys/netproto/802_11/wlan/ieee80211_output.c