enum ieee80211_hw_flags — hardware flags
enum ieee80211_hw_flags { IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE, IEEE80211_HW_RX_INCLUDES_FCS, IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING, IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE, IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE };
The device only needs to be supplied with a beacon template.
If you need the host to generate each beacon then don't use
this flag and call ieee80211_beacon_get
when you need the
next beacon frame. Note that if you set this flag, you must
implement the set_tim
callback for powersave mode to work
properly.
This flag is only relevant for access-point mode.
Indicates that received frames passed to the stack include the FCS at the end.
Some wireless LAN chipsets buffer broadcast/multicast frames
for power saving stations in the hardware/firmware and others
rely on the host system for such buffering. This option is used
to configure the IEEE 802.11 upper layer to buffer broadcast and
multicast frames when there are power saving stations so that
the driver can fetch them with ieee80211_get_buffered_bc
. Note
that not setting this flag works properly only when the
IEEE80211_HW_HOST_GEN_BEACON_TEMPLATE
is also not set because
otherwise the stack will not know when the DTIM beacon was sent.
Hardware is not capable of short slot operation on the 2.4 GHz band.
Hardware is not capable of receiving frames with short preamble on the 2.4 GHz band.
These flags are used to indicate hardware capabilities to the stack. Generally, flags here should have their meaning done in a way that the simplest hardware doesn't need setting any particular flags. There are some exceptions to this rule, however, so you are advised to review these flags carefully.